Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 4 product line. The current stable release is 4.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 363681

Summary: ssRawCpu* stays on 2^32-1 forever.
Product: Red Hat Enterprise Linux 4 Reporter: Andreas Holzhammer <aholzhammer>
Component: net-snmpAssignee: Jan Safranek <jsafrane>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: low    
Version: 4.0CC: james.lamb
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-12-13 13:16:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andreas Holzhammer 2007-11-02 12:20:03 UTC
+++ This bug was initially created as a clone of Bug #202044 +++

Description of problem:


When I query a RH ES v4 u5 server using snmp for idle ticks which should
indicate that the server is loaded or not. After a large amount of uptime (circa
140days) the servers all report the idle ticks not increasing even though the
server has been idle for some time. If I run the following command  awk '/^cpu /
{print $5}' /proc/stat I can see that the counter is still incrementing but
snmpd reports

UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 4294967295

When I query with the following OID enterprises.ucdavis.systemStats

No matter how long the system is up it will always report the variable
4294967295, even if the system is 100% idle.

This has been fixed for RedHat ES3 in RHBA-2007-0458, but apparently the same
issue exists in RH ES4. net-snmp version used (most current one):
net-snmp-utils-5.1.2-11.EL4.10.0.1
net-snmp-5.1.2-11.EL4.10.0.1
net-snmp-libs-5.1.2-11.EL4.10.0.1

How reproducible:
Very Easy.

Steps to Reproduce:

snmpwalk -v 2c -c private localhost  enterprises.ucdavis.systemStats | grep Idle
; sleep 60 ; snmpwalk -v 2c -c private localhost 
enterprises.ucdavis.systemStats | grep Idle

  
Actual results:

UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 99
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 4294967295


Expected results:

UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 99
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: [[4294967295]] 

Where the [[]] Number should have incremented as the server is idle.



Additional info:
After reading around on the internet I have found several people with an
identical issue. From what It looks like this is the patch to resolve the problem. 

http://net-snmp.cvs.sourceforge.net/net-snmp/net-snmp/agent/mibgroup/ucd-snmp/vmstat.c?r1=5.7&r2=5.8&diff_format=c

There are also debian users with similar problems.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=308018

Comment 1 RHEL Program Management 2007-11-29 03:55:43 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 4 Jan Safranek 2007-12-13 13:16:27 UTC
oops, I missed the duplicate. Now I know why it sounded familiar :)

*** This bug has been marked as a duplicate of 223775 ***