[mrtg] How to Daemonize

Steve Shipway s.shipway at auckland.ac.nz
Fri Aug 29 02:24:28 CEST 2008


> Just tried but the rrd files remain (all) untouched....
> until now the only way is the crontab....
>
> Here follow the "master file":
> routers.cgi*Ignore: yes
> Forks: 10
> RunAsDaemon: Yes
> Interval: 1
> Include: /etc/mrtg/file1.cfg
> Include: /etc/mrtg/file2.cfg
> ...

If the RRD files are not being updated, then check permissions on them (make sure they are writeable to the user the MRTG runs as) and check for error output from the MRTG command.  Run it interactively as the appropriate user or make sure it redirects the stderr and stdout output into a file for viewing; maybe there is a helpful error message in there.  No RRD updates means MRTG is not running correctly.

Steve



More information about the mrtg mailing list