Page 3 of 3

Re: Help!?

Posted: Fri Mar 08, 2013 10:55 am
by abrist
Check the various cron folders on your suse box. You are looking for mrtg entries. You should notice a number of nagios entries as well. See the following link for possible locations in a suse system:
http://en.opensuse.org/SDB:Cron

If you check all locations and do not find a cron entry for mrtg, you should follow the instructions below to create a job:

In the directory named /etc/cron.d/, create a new one-line file there with the following contents:

Code: Select all

*/5 * * * * root LANG=C /usr/bin/mrtg /etc/mrtg/mymrtg.cfg >/dev/null 2>&1
This tells cron to run your command every 5 minutes, as the user root, with LANG=C in the environment.