unix

How do I configure logwatch on my Linux server?

To configure logwatch on your Linux server, you can confirm that the package is installed:

1. rpm -qa logwatch
2. If it is not yet installed, you can run “yum install logwatch” or “up2date -i logwatch”.
3. vi /etc/log.d/conf/logwatch.conf
4. Make sure /etc/cron.daily/00-logwatch exists.

This is the cron job that schedules logwatch to run daily.

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

To Top