[mrtg] About CPU usage

McDonald, Dan Dan.McDonald at austinenergy.com
Fri Sep 11 13:30:03 CEST 2009


On Fri, 2009-09-11 at 16:50 +0545, sachindra wrote:
> Dear sir,
> 
> I want to poll the cpu usage from  maipu switch and router 

Not familiar with that brand, but...

> '.1.3.6.1.4.1.5651.3.20.1.1.3.5.1.10. $target->[4]{$mode} ' evaluated to 
> 'á2615638135' instead of a number

Looks like a string.  First character is length, followed by
ascii-encoded values.

> I can get the cpu usage using the snmpwalk

Are you certain you are getting the correct instance?  Make certain
snmpget returns the right value.

Is the value returned by snmpwalk or snmpget an integer32 or integer64?.
snmpget/snmpwalk will tell you....


-- 
Daniel J McDonald, CCIE # 2495, CISSP # 78281, CNX
www.austinenergy.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.oetiker.ch/pipermail/mrtg/attachments/20090911/68657a86/attachment.pgp 


More information about the mrtg mailing list