check_snmp_load.pl -T netsc
Brought to you by:
patrickproy
Change to use raw readings and similar logics to that of check_snmp_process.pl. http://www.net-snmp.org/docs/FAQ.html#What_do_the_CPU_statistics_mean___is_this_the_load_average_
netsc is not doing what most people thought it would, due to the underlying OIDs 1.3.6.1.4.1.2021.11.{9,10,11}.0. They are representing averages since the last system reboot, but not within last few minutes or last readings.
Thanks.
Logged In: YES
user_id=124902
Originator: NO
TODO : use these OID in a cache file, make diff and calculate % usage.
UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32:
UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32:
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32:
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32:
UCD-SNMP-MIB::ssCpuRawWait.0 = Counter32:
UCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32:
UCD-SNMP-MIB::ssCpuRawInterrupt.0 = Counter32:
UCD-SNMP-MIB::ssCpuRawSoftIRQ.0 = Counter32: