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.cfgI 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,