[mrtg] MRTG Graphs not Refreshing
Mohammad.Hassan at hughes.com
Tue Dec 30 22:21:22 CET 2014
I have one index.html file because I only have one .cfg file for all the routers. I didn't setup the mrtg on this box, but it seems all the created .cfgs for each router were concated to one file and are being run with "RunAsDaemon: Yes"
<Router_Name> is just a placeholder for the actual router cfg file. I didn't specify the name for security purposes.
From: mrtg [mailto:mrtg-bounces+mohammad.hassan=hughes.com at lists.oetiker.ch] On Behalf Of Courtney, Wrolf
Sent: Tuesday, December 30, 2014 4:16 PM
To: mrtg at lists.oetiker.ch
Subject: Re: [mrtg] MRTG Graphs not Refreshing
OK, the interface stats are incrementing, MRTG should be picking that up.
Do you have just one router to create an index.html for? I notice you have -output=/var/www/html/mrtg/index.html, I have a separate index.html for each router I monitor.
Also, what is on your cfgmaker command line (in <Router_Name>.cfg)?
From: Mohammad Hassan [mailto:Mohammad.Hassan at hughes.com]
Sent: Tuesday, December 30, 2014 4:05 PM
To: Courtney, Wrolf; mrtg at lists.oetiker.ch<mailto:mrtg at lists.oetiker.ch>
Subject: RE: MRTG Graphs not Refreshing
Thanks. Here are the results:
Looks like they are increasing. Also, they were being polled before I reran the following after deleting the .pid file and all files (including .html and and index in /var/www/html/mrtg"
*/5 * * * * env LANG=C /usr/local/mrtg-2/bin/mrtg /etc/mrtg/<Router_Name>.cfg
./indexmaker --output=/var/www/html/mrtg/index.html /etc/mrtg/<Router_Name>.cfg
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mrtg