I needed to install logwatch a OS X machine for work, and i figured i would just document the process.
curl -o logwatch.tar.gz ftp://ftp.kaybee.org/pub/linux/logwatch-7.3.6.tar.gz
tar xzpf logwatch.tar.gz
cd logwatch-7.3.6/
sudo bash install_logwatch.sh
At this point just use all the defaults
sudo cp -r conf/* /etc/logwatch/conf/
sudo cp -r scripts/services/* /etc/logwatch/scrits/services/
Thats is… logwatch is installed as you can see by running
sudo logwatch
(cias staff at this point look to our internal wiki)
Now you just need to tweak your /etc/logwatch/conf/logwatch.conf file to suit your needs
Also if you want it to run everynight at midnight put a script in /etc/periodic/daily
DG on July 6th, 2008 at 12:15 am says:
Is it possible to show the total MB / GB transferred daily for AFP? This will be a great feature if it is not already available. I use it regularly with my HTTP servers.