I noticed that the Log Scanner Report is not sent on a daily basis as it is configured. So one day i receive the report the other day I do not receive the report.
I observed this behaviour on two servers. I already removed CSF and re-installed it but no way. It still sends the reports randomly.
Checked also the crontab list but did not find any abnormalities.
Do you have any idea where to look and to fix the problem?
TIA and kind regards
Sam
Log scanner reports sent randomly
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: Log scanner reports sent randomly
Looking at the code it appears to be a conflict between a daily report and the fact lfd restarts on a daily basis automatically. To work around the issue until we are able to develop a solution you could set LOGSCANNER_INTERVAL to "manual" and create a cronjob which runs daily, e.g.:
Code: Select all
0 1 * * * /usr/sbin/csf --logrun
Re: Log scanner reports sent randomly
Thanks, that did the trick