[mrtg] MRTG with RRD tool using 14all.cgi script

John Young dextux88 at gmail.com
Thu Sep 15 03:58:03 CEST 2011


I'm trying to setup a new MRTG server using RRD with the 14all.cgi script.
What do I need to add to the 14all.cgi script so I can use more than one
config file? Currently it's pointing to the only cfg file I have in the
mrtg-rrd.conf file.

I need it changed so I can point to different config files:

http://test.com/cgi-bin/14all.cgi?cfg=router2.cfg

http://test.com/cgi-bin/14all.cgi?cfg=router1.cfg

I saw there was a way to change the $cfgfiledir = '/home/mrtg/config'; in
the 14all.cgi file however I cannot find this at all. Also will I need to
change the .conf file?

Does anyone have advice or an example .cgi file I can look at?

Cheers,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20110914/452c79ea/attachment.htm 


More information about the mrtg mailing list