[mrtg] MRTG not running by default after reboot
Joel.Roberts at pinkardcc.com
Wed May 15 22:52:40 CEST 2013
Just did a new install of mrtg, been a while since I'd done one so jumped through some hoops to get the index pages just the way I wanted them, but now when rebooting the server (Debian Linux 6), mrtg doesn't run on its own, I have to execute:
env LANG=C /usr/bin/mrtg /etc/mrtg.cfg
from the terminal to get it to start graphing again. I checked in /etc/cron.d, the mrtg file is there with the following entry:
0-55/5 * * * * root if [ -x /usr/bin/mrtg ] && [ -r /etc/mrtg.cfg ]; then env LANG=C /usr/bin/mrtg /etc/mrtg.cfg >> /var/log/mrtg/mrtg.log 2>&1; fi
The log file listed in the cron job hasn't been updated in 2 days either, even after manually starting mrtg. Any help in getting it to run automatically would be greatly appreciated.
Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mrtg