If I comment out the log format of rrd in the mrtg.cfg, it does start creating html files immediately.
Of course it's all 0's for data right now because I just restarted it.
It will take awhile but I'll see if it starts storing normal log files and starts updating the html when it runs. At least just by turning off the rrd log format in the config file it created the html which it should.

The mrtg-rrd.cgi is supposed to take the rrd data and create the current/max/avg according to the script, but it doesn't. Since the rrd data is unreadable with more/vi, I am not sure how to pull it apart to see if it's the script not translating, or it's just not storing it in the rrd format to begin with.

Depending on that output, we could simply use a different mrtg-rrd script.

I'll let you know once it runs for an hour or so if it starts showing anything in the html actually created inside the folder. The front end still uses the mrtg-rrd.cgi to create the images so it's totally ignoring the information stored in the html files.


Wayne Lee wrote:
http://www.linux.cz/stats/mrtg-rrd/eth0.html

I don't think it's anything to do with the mrtg-rrd.cgi at all.
It simply is not creating the html pages in the directory
/usr/local/nagios/share/mrtg like it should be.
Most likely something with the confgen.sh script which uses cfgmaker.
I'll try running cfgmaker manually and a few other things to see if I can
get it to work.

I do have all the correct stats on my Cacti install, in fact I
submitted a feature request for the total bandwidth used to be
displayed in the opsview mrtg graphs a couple of weeks ago. The
archive will have this and also a sample image with stats.

Let me know how you get on with this.

Wayne
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users


_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to