Quick tip of a nice program for your Linux server: logwatch.
this handy little program will parse your server logs and send you an email with the important details.
To install it on Debian, run this command with sudo or as root
1 |
apt-get install logwatch |
when installed, make sure it runs every day by creating and editing this file (that is double zero in the filename):
1 |
nano /etc/cron.daily/00logwatch |
add the following line into the file, make sure you change the email address to your own.
1 |
/usr/sbin/logwatch --output mail --mailto servername@myemaildomain.com --detail high |