Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1193006 - net-snmp "storageUseNFS 2" option does not report NFS mount as "Fixed Disks"
net-snmp "storageUseNFS 2" option does not report NFS mount as "Fixed Disks"
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: net-snmp (Show other bugs)
7.1
All Linux
medium Severity medium
: rc
: ---
Assigned To: Jan Safranek
Dalibor Pospíšil
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-02-16 06:25 EST by Dalibor Pospíšil
Modified: 2015-11-19 06:46 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, snmpd ignored the value of the "storageUseNFS" option in the /etc/snmpd/snmpd.conf file. As a consequence, NFS drives were shown as "Network Disks", even though storageUseNFS" was set to "2" to report them as "Fixed Disks" in HOST-RESOURCES-MIB::hrStorageTable. With this update, snmpd takes "storageUseNFS" option value into account and "Fixed Disks" NFS drives are reported correctly.
Story Points: ---
Clone Of: 1125793
Environment:
Last Closed: 2015-11-19 06:46:03 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2345 normal SHIPPED_LIVE Moderate: net-snmp security and bug fix update 2015-11-19 05:30:06 EST

  None (edit)
Description Dalibor Pospíšil 2015-02-16 06:25:14 EST
+++ This bug was initially created as a clone of Bug #1125793 +++

Description of problem:
net-snmp "storageUseNFS 2" option does not report NFS mount as "Fixed Disks"
 
Version-Release number of selected component (if applicable):
net-snmp-5.5-49.el6_5.1

How reproducible:
Always

Steps to Reproduce:
1. set storageUseNFS 2 in /etc/snmp/snmpd.conf file
2. Execute snmpwalk against "HOST-RESOURCES-MIB::hrStorageTable" and check output

Actual results:
NFS share reported as hrStorageNetworkDisk

Expected results:
NFS share should be reported as hrStorageFixedDisk

Additional info: 

Reproducer:
+++++++++++++++++++

[root@localhost ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
...
192.168.122.137:/mnt/share
                      5.8G  3.1G  2.4G  57% /media

HOST-RESOURCES-MIB::hrStorageIndex.40 = INTEGER: 40
HOST-RESOURCES-MIB::hrStorageIndex.43 = INTEGER: 43
...
HOST-RESOURCES-MIB::hrStorageType.40 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.43 = OID: HOST-RESOURCES-TYPES::hrStorageNetworkDisk                                  <---
...
HOST-RESOURCES-MIB::hrStorageDescr.40 = STRING: /home
HOST-RESOURCES-MIB::hrStorageDescr.43 = STRING: /media  <---
+++++++++++++++++++
Comment 1 Dalibor Pospíšil 2015-02-16 06:28:04 EST
found on net-snmp-5.7.2-20.el7
Comment 5 errata-xmlrpc 2015-11-19 06:46:03 EST
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.

https://rhn.redhat.com/errata/RHSA-2015-2345.html

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