[f-nsp] Problem with CPU load monitoring via SNMP

Cliff Fogle Cliff at kodakgallery.com
Wed Jan 25 15:25:42 EST 2006


Wow.  That looks like a bug.

My show proc cpu usually shows LESS cpu usage, I think because it's not
really showing all processes. 

-----Original Message-----
From: Gerald Krause [mailto:gk at ax.tc] 
Sent: Wednesday, January 25, 2006 12:11 PM
To: Cliff Fogle
Cc: foundry-nsp at puck.nether.net
Subject: Re: [f-nsp] Problem with CPU load monitoring via SNMP

On Wednesday 25 January 2006 19:54, Cliff Fogle wrote:
> Personally I like to use the snAgentCpuUtilTable, it gives the CPU
> values in one hundredths of a percent, so 10000 = 100% Util.  It is
> available on all devices except ServerIron and the OEM edgeiron's.
...
> What does doing an snmptable of the above table show for your device?

The same (because 100 is here the same as 1 in the other table I used 
before):

enterprises.1991.1.1.2.11.1.1.4.1.1.1 = Gauge32: 100
enterprises.1991.1.1.2.11.1.1.4.1.1.5 = Gauge32: 100
enterprises.1991.1.1.2.11.1.1.4.1.1.60 = Gauge32: 100
enterprises.1991.1.1.2.11.1.1.4.1.1.300 = Gauge32: 100

Never below, never above 100 even when I tried to stress the router a 
little bit with flooding ICMPs destinated to his loopback interface.

Furthermore I found out that the "show cpu" values are equal to the SNMP

values:

# sh cpu
1 percent busy, from 121 sec ago
1   sec avg:  1 percent busy
5   sec avg:  1 percent busy
60  sec avg:  1 percent busy
300 sec avg:  1 percent busy

I guess "sh proc cpu" has nothing to do with the real CPU load value. 
Maybe it represents only a more detailed process statistic related to 
the "1% busy CPU"? 


 --Gerald




More information about the foundry-nsp mailing list