RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 861152 - simfs missing in hrStorage in an OpenVZ container
Summary: simfs missing in hrStorage in an OpenVZ container
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: net-snmp
Version: 6.3
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jan Safranek
QA Contact: Dalibor Pospíšil
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-27 16:10 UTC by Romain LE DISEZ
Modified: 2013-02-21 10:27 UTC (History)
1 user (show)

Fixed In Version: net-snmp-5.5-44.el6
Doc Type: Bug Fix
Doc Text:
same as #846532
Clone Of:
Environment:
Last Closed: 2013-02-21 10:27:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Add support for simfs (1.24 KB, patch)
2012-10-01 16:16 UTC, Romain LE DISEZ
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0421 0 normal SHIPPED_LIVE net-snmp bug fix and enhancement update 2013-02-20 20:49:35 UTC

Internal Links: 989498 1036055

Description Romain LE DISEZ 2012-09-27 16:10:54 UTC
On RHEL 6.3, with the default net-snmp package (net-snmp 1:5.5-41.el6_3.1), I can't get the root partition of an OpenVZ container via SNMP. This bug makes the monitoring of diskspace impossible.

>>>>>>>>>>>>>>>>>>>>>>>
# snmpwalk  -v 2c -c public  server.example.com  hrStorageDescr
HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: Physical memory
HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: Virtual memory
HOST-RESOURCES-MIB::hrStorageDescr.6 = STRING: Memory buffers
HOST-RESOURCES-MIB::hrStorageDescr.7 = STRING: Cached memory
HOST-RESOURCES-MIB::hrStorageDescr.10 = STRING: Swap space
<<<<<<<<<<<<<<<<<<<<<<<


If I recompile the SRPM after I disabled the application of Patch23: net-snmp-5.5-hrFSTable-indexes.patch in the SPEC file, everything works fine, I can monitor the diskspace.

>>>>>>>>>>>>>>>>>>>>>>>
# snmpwalk  -v 2c -c public  server.example.com  hrStorageDescr
HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: Physical memory
HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: Virtual memory
HOST-RESOURCES-MIB::hrStorageDescr.6 = STRING: Memory buffers
HOST-RESOURCES-MIB::hrStorageDescr.7 = STRING: Cached memory
HOST-RESOURCES-MIB::hrStorageDescr.10 = STRING: Swap space
HOST-RESOURCES-MIB::hrStorageDescr.31 = STRING: /
<<<<<<<<<<<<<<<<<<<<<<<

(the following does not apply anymore when Patch23 is not applied)
Patch30: net-snmp-5.5-gfs.patch
Patch46: net-snmp-5.5-xfs.patch
Patch61: net-snmp-5.5-hrStorage-realStorageUnits.patch
Patch62: net-snmp-5.5-hrStorage-realStorageUnits2.patch
Patch63: net-snmp-5.5-hrStorage-fs.patch


This bug appeared in RHEL 5.7

I am a user of CentOS, the problem is also in Fedora. I hadn't tested on RHEL but I'm pretty sure it has the same bug.

Comment 2 Romain LE DISEZ 2012-10-01 16:16:27 UTC
Created attachment 619864 [details]
Add support for simfs

I'm not an net-snmp expert, but this patch works for me. I just used the one for XFS as a base.

Comment 4 RHEL Program Management 2012-10-08 07:19:13 UTC
This request was evaluated by Red Hat Product Management for
inclusion in a Red Hat Enterprise Linux release.  Product
Management has requested further review of this request by
Red Hat Engineering, for potential inclusion in a Red Hat
Enterprise Linux release for currently deployed products.
This request is not yet committed for inclusion in a release.

Comment 9 errata-xmlrpc 2013-02-21 10:27:44 UTC
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.

http://rhn.redhat.com/errata/RHBA-2013-0421.html


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