Watch your server logs – logwatch

This is just a tips of a nice program for your Linux server: logwatch.
Its a program that parses your server logs and sends you an summary email.

To install, on Debian:

#sudo or as root
apt-get install logwatch
 
#Run it every dag
nano /etc/cron.daily/00logwatch
 
#edit the line where it runs the program to this
/usr/sbin/logwatch --output mail --mailto serveradmin@domain.com --detail high

Comments