Thank you kindly for these tips. I made these configuration changes and everything is running fine.
If I want to change to lower intervals than 5 minutes, I only need to change: the crontab -e job from 5 * * * * to 2(or whatever minutes) * * * * change the device config and add Interval: 2 remove the old RRD files and recreate the .rrd files Is that all I need to do? I see the 2 minutes intervals on the graphs, however the data still looks like it's updating every five minutes. Maybe there is not enough bandwidth for the snmp polling? I only need the snmpd installed before mrtg correct? Cheers. On Thu, Sep 15, 2011 at 8:15 AM, Kevin P. Foote <[email protected]> wrote: > > John, > > 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. > > http://myhost/cgi-bin/14all.cgi?cfg=router-device.cfg > > ------ > thanks > kevin.foote > > 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: > -> > -> 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, > -> >
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
