Red Hat Bugzilla – Bug 1070075
SNMP HRPROCESSORLOAD RETURNS INCORRECT VALUES FOR PROCESSOR #'S > 100
Last modified: 2015-07-22 03:22:35 EDT
+++ This bug was initially created as a clone of Bug #1069979 +++ Description of problem: using snmp monitor cpu usage with more than 100 processors. hrProcessorLoad will returns incorrect values for processor #'s > 100 Version-Release number of selected component (if applicable): RHEL 5.x RHEL 6.x How reproducible: Steps to Reproduce: 1. using snmp monitor cpu usage with more than 100 processors. Actual results: hrProcessorLoad will return incorrect values for processor #'s Expected results: hrProcessorLoad will return correct values for processor #'s (letter than 100) Additional info: http://mailing.unix.net-snmp-users.narkive.com/o21D50GY/hrprocessorload-returns-incorrect-values-for-processor-s-100 The file agent/mibgroup/hardware/cpu/cpu_linux.c: netsnmp_cpu_arch_load() use below hard code to skip cpuN b1 = b2+5; /* Skip "cpuN " */ When processor more than 100, the value will be wrong. --- Additional comment from Luan Jianhai on 2014-02-25 21:41:40 EST --- The patch have be applied to net-snmp upstream: http://git.code.sf.net/p/net-snmp/code: commit eef2f64b46357b353c79504bc593535ebe7421e7 Author: Niels Baggesen <nba@users.sourceforge.net> Date: Thu Jan 23 16:27:07 2014 +0100 cpu_linux: support systems with more than 100 cpus.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-1385.html