Monitor System Logs with Logwatch
I’m using the tool Logwatch to get a daily log report from all my servers by email.
Install Logwatch:
apt-get update apt-get install logwatch
Config file:
/usr/share/logwatch/default.conf/logwatch.conf
To simplify the access to the config file I use a symlink.
cd /etc/logwatch ln -s /usr/share/logwatch/default.conf/logwatch.conf
Configuration (parameters which I have changed):
#Output = stdout Output = mail #To make Html the default formatting Format = html Format = html MailTo = YOUR-EMAIL-ADDRESS
Cronjob:
crontab -e 30 0 * * * /usr/sbin/logwatch
Based on this configuration you will receive a nice daily overview report.