Hide Forgot
Description of problem: The same problem with XFS detection is on RHEL6 net-snmp-5.5-31.el6.x86_64 --- Copied from 654384 ---------- I have tested this bug with net-snmp-5.3.2.2-12.el5 (see reproducer https://tcms.engineering.redhat.com/case/92807/) but snmpd does not see the XFS filesystem while the old version does. [root@rhel5 ~]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/VolGroup00-LogVol00 5999168 1928576 3760936 34% / /dev/vda1 101086 12547 83320 14% /boot tmpfs 513456 0 513456 0% /dev/shm /dev/vdb 107374050928 7328 107374043600 1% /mnt/hugefs [root@rhel5 ~]# rpm -q net-snmp net-snmp-5.3.2.2-12.el5 [root@rhel5 ~]# snmpwalk -v2c -c public -v 1 127.0.0.1 .1.3.6.1.2.1.25.2.3.1 | grep 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: / HOST-RESOURCES-MIB::hrStorageDescr.35 = STRING: /boot [root@rhel5 ~]# rpm -q net-snmp net-snmp-5.3.2.2-9.el5 [root@rhel5 ~]# snmpwalk -v2c -c public -v 1 127.0.0.1 .1.3.6.1.2.1.25.2.3.1 | grep hrStorageDescr HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: Memory Buffers HOST-RESOURCES-MIB::hrStorageDescr.2 = STRING: Real Memory HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: Swap Space HOST-RESOURCES-MIB::hrStorageDescr.4 = STRING: / HOST-RESOURCES-MIB::hrStorageDescr.5 = STRING: /boot HOST-RESOURCES-MIB::hrStorageDescr.6 = STRING: /mnt/hugefs # snmpwalk -v2c -c public -v 1 127.0.0.1 hrFSTable | grep '\.3' HOST-RESOURCES-MIB::hrFSIndex.3 = INTEGER: 3 HOST-RESOURCES-MIB::hrFSMountPoint.3 = STRING: "/mnt/hugefs" HOST-RESOURCES-MIB::hrFSRemoteMountPoint.3 = "" HOST-RESOURCES-MIB::hrFSType.3 = OID: HOST-RESOURCES-TYPES::hrFSOther HOST-RESOURCES-MIB::hrFSAccess.3 = INTEGER: readWrite(1) HOST-RESOURCES-MIB::hrFSBootable.3 = INTEGER: false(2) HOST-RESOURCES-MIB::hrFSStorageIndex.3 = INTEGER: 6 HOST-RESOURCES-MIB::hrFSLastFullBackupDate.3 = STRING: 0-1-1,0:0:0.0 HOST-RESOURCES-MIB::hrFSLastPartialBackupDate.3 = STRING: 0-1-1,0:0:0.0 How reproducible: always Steps to Reproduce: 1. create and mount xfs filesystem 2. snmpwalk -v2c -c public -v 1 127.0.0.1 hrFSTable and check it is not listed Actual results: xfs filesystem is not listed as mounted Expected results: xfs fs is listed as mounted Additional info: Also not working with net-snmp-5.5-27.el6.x86_64 from RHEL6.0
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Prior this update, the snmpd daemon ignored XFS filesystems when populating HOST-RESOURCES-MIB::hrFSTable and these filesystems were simply not reported there. This update adds XFS filesystem support to HOST-RESOURCES-MIB::hrFSTable in snmpd. (BZ#707912).
regression from Red Hat Enterprise Linux 5, also listed at http://bugs.centos.org/view.php?id=5203
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-2011-1524.html