Bug 659354 - snmpd returns 0 values in HOST-RESOURCES-MIB on ppc64
Summary: snmpd returns 0 values in HOST-RESOURCES-MIB on ppc64
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: net-snmp
Version: 5.5
Hardware: ppc64
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Jan Safranek
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-02 15:59 UTC by Ade Rixon
Modified: 2018-11-14 17:05 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-21 09:12:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Output of -f -Dhost,mem (27.90 KB, text/plain)
2011-03-07 17:39 UTC, Ray Van Dolson
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Legacy) 47782 0 None None None Never
Red Hat Product Errata RHBA-2011:1076 0 normal SHIPPED_LIVE net-snmp bug fix and enhancement update 2011-07-21 09:07:58 UTC

Description Ade Rixon 2010-12-02 15:59:05 UTC
Description of problem:

Storage utilisation values in the HOST-RESOURCES-MIB are zero on ppc64 architectures. (Correct values are present in UCD-NET-MIB tree.)

Version-Release number of selected component (if applicable):

Verified with net-snmp-5.3.2.2-7 and net-snmp-5.3.2.2-9.el5_5.1

How reproducible:

Walk SNMP HOST-RESOURCES-MIB tree on affected system.

Steps to Reproduce:
1. snmpwalk -v 2c -c public localhost | grep HOST-RESOURCES
2.
3.
  
Actual results:
HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.2 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.3 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.4 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.5 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.6 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.1 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.2 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.3 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.4 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.5 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.6 = INTEGER: 0

Expected results:
HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 515324
HOST-RESOURCES-MIB::hrStorageSize.2 = INTEGER: 515324
HOST-RESOURCES-MIB::hrStorageSize.3 = INTEGER: 2096440
HOST-RESOURCES-MIB::hrStorageSize.4 = INTEGER: 1523097
HOST-RESOURCES-MIB::hrStorageSize.5 = INTEGER: 194442
HOST-RESOURCES-MIB::hrStorageSize.6 = INTEGER: 3505290
HOST-RESOURCES-MIB::hrStorageUsed.1 = INTEGER: 169016
HOST-RESOURCES-MIB::hrStorageUsed.2 = INTEGER: 507580
HOST-RESOURCES-MIB::hrStorageUsed.3 = INTEGER: 80
HOST-RESOURCES-MIB::hrStorageUsed.4 = INTEGER: 969516
HOST-RESOURCES-MIB::hrStorageUsed.5 = INTEGER: 30953
HOST-RESOURCES-MIB::hrStorageUsed.6 = INTEGER: 330982

Additional info:
Also reported on net-snmp-users list:
http://www.mail-archive.com/net-snmp-users@lists.sourceforge.net/msg24869.html

Comment 1 RHEL Program Management 2011-01-11 20:34:13 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.

Comment 2 RHEL Program Management 2011-01-11 23:08:17 UTC
This request was erroneously denied for the current release of
Red Hat Enterprise Linux.  The error has been fixed and this
request has been re-proposed for the current release.

Comment 4 Ray Van Dolson 2011-03-07 17:32:30 UTC
Also seeing this on RHEL 5.6 (PPC64 on IBM JS20 blades) using net-snmp-5.3.2.2-9.el5_5.1 and all other patches fully up to date.  Will open a case with RH support for this.

Comment 5 Ray Van Dolson 2011-03-07 17:39:06 UTC
Created attachment 482744 [details]
Output of -f -Dhost,mem

Comment 6 Ray Van Dolson 2011-03-07 17:56:46 UTC
Opened case #00431342 with RH for this issue.

Comment 7 Ray Van Dolson 2011-03-29 21:00:24 UTC
FYI, RH support provided me with test packages versioned "5.3.2.2-10.el5.0.ROS00431342".  These appear to resolve my issue.

I don't have an SRPM, but could likely request one if someone out there on CentOS needs the fix.

Comment 11 errata-xmlrpc 2011-07-21 09:12:27 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-1076.html

Comment 12 errata-xmlrpc 2011-07-21 12:27:22 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-1076.html


Note You need to log in before you can comment on or make changes to this bug.