[mrtg] Re: HPUX cpu usage always 0!

Eric Brander Eric_Mailing_List at rednarb.com
Thu Oct 21 18:47:06 MEST 2004


Craig Humphrey wrote:
> 
> I'm using the MIB for computerSystemIdleCPU, subtracting it from 100 and
> using that as the % busy.
> Snmpget returns correct results, but MRTG/rateup just seems to get zero.
> 
> 
> [root at craiglinux bin]# snmpget -v 2c -c XXXXXX aklkey02
> 1.3.6.1.4.1.11.2.3.1.1.15.0; sleep 300; snmpget -v 2c -c XXXXXX aklkey02
> 1.3.6.1.4.1.11.2.3.1.1.15.0
> SNMPv2-SMI::enterprises.11.2.3.1.1.15.0 = Counter32: 1192852433
> SNMPv2-SMI::enterprises.11.2.3.1.1.15.0 = Counter32: 1192869042

So... that OID produces 1192852433

> Target[aklkey01_0]: ( 100 -
> 1.3.6.1.4.1.11.2.3.1.1.15.0&1.3.6.1.4.1.11.2.3.1.1.15.0:XXXXXX at aklkey01
> )

And your trying to subtract that from 100?

Let see... 100-1192852433=-1192852333

I don't think that fits your MaxBytes setting of 100.

I think I'm missing something here... or you've got the wrong OID.

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



More information about the mrtg mailing list