Logwatch on Ubuntu
Built me a little Ubuntu Server box, mostly to get used to the small differences between Ubuntu and the Red Hatish distros out there.
Installed Logwatch, no problem at all in there, installs in a second, but, to make it actually work, you'll have to:
sudo mkdir /var/cache/logwatch
Then, copy:
sudo cp /usr/share/logwatch/default.conf/logwatch.conf \
/etc/logwatch/conf/logwatch.conf
And, in order to make it send the reports via email, edit the recently copied 'logwatch.conf' configuration file and set it like this:
## Output = stdout
Output = email
Presto, you are done, of course, setup a valid email address on the 'MailTo = ' directive.
0 Comments:
Post a Comment
<< Home