[mrtg] MRTG with RRD tool using 14all.cgi script
Kevin P. Foote
kpfoote at iup.edu
Thu Sep 15 14:15:45 CEST 2011
If your referencing more than one mrtg config file then I'll assume you
are making use of a master with a bunch of INCLUDE statements..
There is no trick to set up referencing multiple cfg files with 14all..
You are correct in your previous thoughts..
I have mine set like this and it works great.
# this is where I do all my INCLUDE statements
$cfgfile = '/etc/mrtg/mrtg.cfg';
# this is the root of where all my specific cfg files live
$cfgfiledir = '/etc/mrtg/dev';
When referencing on the address bar.. looks like this.
On Wed, 14 Sep 2011, John Young wrote:
-> 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:
-> 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?
More information about the mrtg