| Cheshire Cat Computing http://www.steveshipway.org/forum/ |
|
| Multiple config files with 14all.cgi script http://www.steveshipway.org/forum/viewtopic.php?f=11&t=4476 |
Page 1 of 1 |
| Author: | dextux [ Thu Sep 15, 2011 2:46 pm ] |
| Post subject: | Multiple config files with 14all.cgi script |
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, |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|