Thank you kindly for these tips. I made these configuration changes and
everything is running fine. <br><br>If I want to change to lower intervals
than 5 minutes, I only need to change:<br>
<br>the crontab -e job from 5 * * * * to 2(or whatever minutes) * * * * <br>
change the device config and add Interval: 2<br>
remove the old RRD files<br>
and recreate the .rrd files<br>
<br>
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?<br>
<br>
Cheers.<br><br><div class="gmail_quote">On Thu, Sep 15, 2011 at 8:15 AM, Kevin P. Foote <span dir="ltr"><<a href="mailto:kpfoote@iup.edu">kpfoote@iup.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
John,<br>
<br>
If your referencing more than one mrtg config file then I'll assume you<br>
are making use of a master with a bunch of INCLUDE statements..<br>
<br>
There is no trick to set up referencing multiple cfg files with 14all..<br>
<br>
You are correct in your previous thoughts..<br>
<br>
I have mine set like this and it works great.<br>
<br>
# this is where I do all my INCLUDE statements<br>
$cfgfile = '/etc/mrtg/mrtg.cfg';<br>
# this is the root of where all my specific cfg files live<br>
$cfgfiledir = '/etc/mrtg/dev';<br>
<br>
When referencing on the address bar.. looks like this.<br>
<br>
<a href="http://myhost/cgi-bin/14all.cgi?cfg=router-device.cfg" target="_blank">http://myhost/cgi-bin/14all.cgi?cfg=router-device.cfg</a><br>
<br>
------<br>
thanks<br>
kevin.foote<br>
<br>
On Wed, 14 Sep 2011, John Young wrote:<br>
<br>
-> I'm trying to setup a new MRTG server using RRD with the 14all.cgi script.<br>
<div><div></div><div class="h5">-> What do I need to add to the 14all.cgi script so I can use more than one<br>
-> config file? Currently it's pointing to the only cfg file I have in the<br>
-> mrtg-rrd.conf file.<br>
-><br>
-> I need it changed so I can point to different config files:<br>
-><br>
-> <a href="http://test.com/cgi-bin/14all.cgi?cfg=router2.cfg" target="_blank">http://test.com/cgi-bin/14all.cgi?cfg=router2.cfg</a><br>
-><br>
-> <a href="http://test.com/cgi-bin/14all.cgi?cfg=router1.cfg" target="_blank">http://test.com/cgi-bin/14all.cgi?cfg=router1.cfg</a><br>
-><br>
-> I saw there was a way to change the $cfgfiledir = '/home/mrtg/config'; in<br>
-> the 14all.cgi file however I cannot find this at all. Also will I need to<br>
-> change the .conf file?<br>
-><br>
-> Does anyone have advice or an example .cgi file I can look at?<br>
-><br>
-> Cheers,<br>
</div></div>-><br>
</blockquote></div><br>