[mrtg] Re: Snmpget returns correct data but MRTG graphs display zero

Greg.Volk at edwardjones.com Greg.Volk at edwardjones.com
Mon Jul 25 23:01:29 MEST 2005

> Options[myrouter_numbercalls]: growright, gauge, integer, nopercent, 
> #  snmpget -v 1 -c readonly myrouter
> SNMPv2-SMI::enterprises. = Gauge32: 186
> #  snmpget -v 1 -c readonly myrouter
> SNMPv2-SMI::enterprises. = Gauge32: 219
> #

You have maxbytes set at 1000, and you're using the 'bits' 
directive on the options line. With your example snmpget
results, 186*8 = 1488 and 219*8 = 1752. These values are larger
than maxbytes so MRTG will throw them away.

Increase maxbytes or get rid of 'bits' on the options line.
Not sure why you would want multiply phone calls by 8 unless
you're looking to over buy capacity. 
On a related note, you can try this...
...template. I've only used it on an AS5300, but if anything, you
can plug your OIDs into it, and change the Legend* tags to 
automate things a little. It also has mem free and cpu busy 
templates in the same file. (the dial/ppp connections stuff is
at the bottom).

Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the mrtg mailing list