[mrtg] Re: Cisco SNMP OID error

PAUL WILLIAMSON pwilliamson at mandtbank.com
Tue Oct 10 14:32:26 MEST 2006


You have a few choices - multiply the number by 300, change the option to perminute and multiply by 5, or change it to gauge.  You'll need to fiddle with the options to get the number to show what you want.

Paul

>>> "Ahmer Zakir" <azakir at kfupm.edu.sa> 10/10/06 8:22 AM >>>
Yes, the values returned are less than 300. 
What should I do about it?

-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On
Behalf Of PAUL WILLIAMSON
Sent: Tuesday, October 10, 2006 2:30 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Cisco SNMP OID error

>>> "Ahmer Zakir" <azakir at kfupm.edu.sa> 10/10/06 2:45 AM >>>
> Hello,
> I am trying to graph an SNMP OID 1.3.6.1.4.1.9.9.509.1.5.2 (number of 
> users) using MRTG but it is not graphing anything. I am sure that this 
> OID is correct and I can use other tools to get the correct value. 
> However, using MRTG I can see an error message in the event viewer 
> saying
> 
> Target[10.150.0.11][_OUT_] '1.3.6.1.4.1.9.9.509.1.5. $target->[95]{$mode}
'
> evaluated to ' 
> 
> ǽ0' instead of a number.

What happens when you query that OID with snmpget?  If it is less than 300,
the response you're getting makes sense.  Remember that MRTG divides all
responses by 300 to get bytes (or bits) per second - within a 5 minute
window.

Paul

--
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


--
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




--
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