Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Net-SNMP idle CPU time counter not rolling over

Status
Not open for further replies.

peterc73

IS-IT--Management
May 22, 2005
11
US
I am running into an issue with the ssCpuRawIdle counter with a net-snmp agent running on Linux (Fedora, 2.6 kernel). I was using this and the other raw cpu counters to figure CPU load, and it was working fine on this and other boxes until the ssCpuRawIdle counter hit the max. value of an unsigned 32 bit integer... Now instead of rolling over back to 0 it always returns 4294967295 when it is polled.

Short of rebooting, I don't know how to reset it (restarting snmpd doesn't help). Any ideas?


UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 542674938
UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 2024
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 110038792
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 4294967295
UCD-SNMP-MIB::ssCpuRawWait.0 = Counter32: 27417917
UCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32: 104629500
UCD-SNMP-MIB::ssCpuRawInterrupt.0 = Counter32: 768819
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top