[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,
bits
>
> # snmpget -v 1 -c readonly myrouter 1.3.6.1.4.1.9.10.19.1.1.2.0
> SNMPv2-SMI::enterprises.9.10.19.1.1.2.0 = Gauge32: 186
>
> # snmpget -v 1 -c readonly myrouter 1.3.6.1.4.1.9.10.19.1.1.5.0
> SNMPv2-SMI::enterprises.9.10.19.1.1.5.0 = 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...
http://mrtg.gvolk.com/template/host-ras.template
...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