Thomas
2018-Mar-05 06:41 UTC
[Logcheck-devel] Logcheck sends emails every hour - how can I modify the frequency for sending emails?
Hi! ? I receive an email every hour from logcheck with this content: ? ? This email is sent by logcheck. If you no longer wish to receive such mail, you can either uninstall the logcheck package or modify its configuration file (/etc/logcheck/logcheck.conf). System Events =-=-=-=-=-=-???????0 Lines skipped (already processed) ???????0 Patterns to ignore ???????0 Ignored lines ???????1 vm110-fusiondir sSMTP: Creating SSL connection to host ???????1 vm110-fusiondir sSMTP: SSL connection using RSA_AES_128_CBC_SHA1 ???????1 vm110-fusiondir sSMTP: Sent mail for?logcheck at gmail.com <mailto:logcheck at gmail.com>?(221 2.0.0 closing connection t135sm4098383wmt.44 - gsmtp) uid=101 username=logcheck outbytes=1839 ???????2 vm110-fusiondir systemd: phpsessionclean.service: Failed to reset devices.list: Operation not permitted ???????2 vm110-fusiondir systemd: phpsessionclean.service: Failed to set up network namespacing: Permission denied ???????2 vm110-fusiondir systemd: phpsessionclean.service: Failed at step NETWORK spawning /usr/lib/php/sessionclean: Permission denied ???????2 vm110-fusiondir systemd: phpsessionclean.service: Main process exited, code=exited, status=225/NETWORK ???????2 vm110-fusiondir systemd: phpsessionclean.service: Failed with result 'exit-code'. ???????2 vm110-fusiondir systemd: Failed to start Clean php session files. ? ? ? This means that logcheck is working on the one hand side. But on the other hand side it is flooding my mailbox. ? What is causing logcheck to send emails every hour? Can I modify the frequency by when logcheck sends emails? This is the only active cronjob related to logcheck: root at vm110-fusiondir:~# cat /etc/cron.d/logcheck # /etc/cron.d/logcheck: crontab entries for the logcheck package PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root @reboot???????? logcheck??? if [ -x /usr/sbin/logcheck ]; then nice -n10 /usr/sbin/logcheck -R; fi 6 * * * *?????? logcheck??? if [ -x /usr/sbin/logcheck ]; then nice -n10 /usr/sbin/logcheck; fi # EOF ? Regards Thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20180305/ba63e985/attachment.html>