Bug 702626 - snmpd reports wrong memory usage
Summary: snmpd reports wrong memory usage
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: net-snmp
Version: 5.7
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Jan Safranek
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-06 12:18 UTC by Jan Safranek
Modified: 2011-07-21 12:28 UTC (History)
2 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
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 Jan Safranek 2011-05-06 12:18:20 UTC
Version-Release number of selected component (if applicable):
net-snmp-5.3.2.2-11.el5

How reproducible:
always

Steps to Reproduce:
1. snmpwalk -v 1 -c public localhost 1.3.6.1.4.1.2021.4
  
Actual results:
UCD-SNMP-MIB::memIndex.0 = INTEGER: 0
UCD-SNMP-MIB::memErrorName.0 = STRING: swap
UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 0
UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 0
UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 0
UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 0
UCD-SNMP-MIB::memTotalFree.0 = INTEGER: 0
UCD-SNMP-MIB::memMinimumSwap.0 = INTEGER: 16000
UCD-SNMP-MIB::memShared.0 = INTEGER: 0
UCD-SNMP-MIB::memBuffer.0 = INTEGER: 2586206976
UCD-SNMP-MIB::memCached.0 = INTEGER: 16
UCD-SNMP-MIB::memSwapError.0 = INTEGER: 1
UCD-SNMP-MIB::memSwapErrorMsg.0 = STRING: Running out of swap space (0)


Expected results:
net-snmp-5.3.2.2-9.el5 works well:
UCD-SNMP-MIB::memIndex.0 = INTEGER: 0
UCD-SNMP-MIB::memErrorName.0 = STRING: swap
UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 265064
UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 265064
UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 509848
UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 50172
UCD-SNMP-MIB::memTotalFree.0 = INTEGER: 315236
UCD-SNMP-MIB::memMinimumSwap.0 = INTEGER: 16000
UCD-SNMP-MIB::memShared.0 = INTEGER: 0
UCD-SNMP-MIB::memBuffer.0 = INTEGER: 86680
UCD-SNMP-MIB::memCached.0 = INTEGER: 270616
UCD-SNMP-MIB::memSwapError.0 = INTEGER: 0
UCD-SNMP-MIB::memSwapErrorMsg.0 = STRING:

Comment 2 Jan Safranek 2011-05-10 13:10:42 UTC
Broken by net-snmp-5.3.2.2-hfFStable-indexes.patch (bug #595322) - bad backport, upstream used new indexes for memory information. It should be better now

Comment 5 errata-xmlrpc 2011-07-21 09:09:13 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 6 errata-xmlrpc 2011-07-21 12:28:18 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.