hi, this is more cosmetic than anything else, but it can get annoying :-)
I installed opsview community through the debian repository from opsera. Great documentation, works out of the box. It installs mrtg for the graphics, but the default debian package also installs a cron job in /etc/cron.d/mrtg ; if this job has an error, it mails the admin until the error gets fixed :-) The config file of mrtg in debian is /etc/mrtg.cfg and the one in a opsview installation looks like this: ###################################################################### # Multi Router Traffic Grapher -- Sample Configuration File ###################################################################### # This file is for use with mrtg-2.5.4c # Global configuration WorkDir: /var/www/mrtg WriteExpires: Yes Title[^]: Traffic Analysis for # 128K leased line # ---------------- #Title[leased]: a 128K leased line #PageTop[leased]: <H1>Our 128K link to the outside world</H1> #Target[leased]: 1:[email protected] #MaxBytes[leased]: 16000 the cron job /etc/cron.d/mrtg looks like this: */5 * * * * root if [ -x /usr/bin/mrtg ] && [ -r /etc/mrtg.cfg ]; then env LANG=C /usr/bin/mrtg /etc/mrtg.cfg 2>&1 | tee -a /var/log/mrtg/mrtg.log ; fi so basically, every 5 minutes you get an e-mail saying that /var/www/mrtg does not exist.. Please update your docs reminding the people that install through apt to remove this cronjob to not get spammed by cron. -- Groeten, J.Asenjo
_______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/lists/listinfo/opsview-users
