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