Description of problem:
net-snmp "storageUseNFS 2" option does not report NFS mount as "Fixed Disks"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. set storageUseNFS 2 in /etc/snmp/snmpd.conf file
2. Execute snmpwalk against "HOST-RESOURCES-MIB::hrStorageTable" and check output
NFS share reported as hrStorageNetworkDisk
NFS share should be reported as hrStorageFixedDisk
[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
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 <---
Customer is using Whatsup Gold" monitoring tool which only reports on the status of what it considers to be fixed disk.
It's documentation makes that clear, and thus requires that all the systems report nfs mounts as fixed disk. Without this, no ability to monitor the disk sizes of NFS disk.
Production systems had run out of space because this monitor didn't catch it.
Created attachment 923892 [details]
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.