Installation: use "1-click" installer to install logwatch
OpenSuse 11.1 - here
OpenSuSe 11.0 - here
Configuration
The default configuration can be found in /usr/share/logwatch/default.conf/logwatch.conf. Take a look around the file, but the main thing you might want to update:
MailTo = root
updates to MailTo = user.name@domain.tld
Now go to console and run command: # logwatch to see the detail output, you can also configure the crontab entry for logwatch to get the daily status mail.
1 comments:
Nikesh,
I think it would be better to redirect all root mails to your email address, not only the logwatch output. Therefore, you should leave the MailTo in logwatch.conf untouched and change the entry in /etc/aliases instead:
root: your@mailadress.com, \root
Don't forget to run "newaliases" afterwards.
Regards,
Andreas Reiser
Post a Comment