I downloaded net-snmp 5.7 (net-snmp-5.7.tar.gz) and built it with my 
normal build environment
which includes the host mib, and discovered that it was building with an 
hrh_storage module.
So I started looking at the host mib. A walk of the mib produced ( 
actually didn't produce )
the FixedDisk information from the hrStorageTable:

HOST-RESOURCES-MIB::hrMemorySize.0 = INTEGER: 1019760 KBytes
HOST-RESOURCES-MIB::hrStorageIndex.1 = INTEGER: 1
HOST-RESOURCES-MIB::hrStorageIndex.3 = INTEGER: 3
HOST-RESOURCES-MIB::hrStorageIndex.6 = INTEGER: 6
HOST-RESOURCES-MIB::hrStorageIndex.7 = INTEGER: 7
HOST-RESOURCES-MIB::hrStorageIndex.10 = INTEGER: 10
HOST-RESOURCES-MIB::hrStorageType.1 = OID: 
HOST-RESOURCES-TYPES::hrStorageRam
HOST-RESOURCES-MIB::hrStorageType.3 = OID: 
HOST-RESOURCES-TYPES::hrStorageVirtualMemory
HOST-RESOURCES-MIB::hrStorageType.6 = OID: 
HOST-RESOURCES-TYPES::hrStorageOther
HOST-RESOURCES-MIB::hrStorageType.7 = OID: 
HOST-RESOURCES-TYPES::hrStorageOther
HOST-RESOURCES-MIB::hrStorageType.10 = OID: 
HOST-RESOURCES-TYPES::hrStorageVirtualMemory
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::hrStorageAllocationUnits.1 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.3 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.6 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.7 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.10 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 1019760
HOST-RESOURCES-MIB::hrStorageSize.3 = INTEGER: 5213032
HOST-RESOURCES-MIB::hrStorageSize.6 = INTEGER: 1019760
HOST-RESOURCES-MIB::hrStorageSize.7 = INTEGER: 157896
HOST-RESOURCES-MIB::hrStorageSize.10 = INTEGER: 4193272
HOST-RESOURCES-MIB::hrStorageUsed.1 = INTEGER: 410236
HOST-RESOURCES-MIB::hrStorageUsed.3 = INTEGER: 410236
HOST-RESOURCES-MIB::hrStorageUsed.6 = INTEGER: 152696
HOST-RESOURCES-MIB::hrStorageUsed.7 = INTEGER: 157896
HOST-RESOURCES-MIB::hrStorageUsed.10 = INTEGER: 0

a table walk produced:
SNMP table: HOST-RESOURCES-MIB::hrStorageTable

  hrStorageIndex                                hrStorageType  
hrStorageDescr hrStorageAllocationUnits hrStorageSize hrStorageUsed 
hrStorageAllocationFailures
               1           HOST-RESOURCES-TYPES::hrStorageRam Physical 
memory               1024 Bytes       1019760        
409332                           ?
               3 HOST-RESOURCES-TYPES::hrStorageVirtualMemory  Virtual 
memory               1024 Bytes       5213032        
409332                           ?
               6         HOST-RESOURCES-TYPES::hrStorageOther  Memory 
buffers               1024 Bytes       1019760        
152708                           ?
               7         HOST-RESOURCES-TYPES::hrStorageOther   Cached 
memory               1024 Bytes        157896        
157896                           ?
              10 HOST-RESOURCES-TYPES::hrStorageVirtualMemory      Swap 
space               1024 Bytes       4193272             
0                           ?

The distribution provided net-snmp ( net-snmp-5.5-27.el6.s390x ) 
includes the hrStorageFixedDisk

SNMP table: HOST-RESOURCES-MIB::hrStorageTable

  hrStorageIndex                                hrStorageType  
hrStorageDescr hrStorageAllocationUnits hrStorageSize hrStorageUsed 
hrStorageAllocationFailures
               1           HOST-RESOURCES-TYPES::hrStorageRam Physical 
memory               1024 Bytes       1019760        
483600                           ?
               3 HOST-RESOURCES-TYPES::hrStorageVirtualMemory  Virtual 
memory               1024 Bytes       5213032        
483600                           ?
               6         HOST-RESOURCES-TYPES::hrStorageOther  Memory 
buffers               1024 Bytes       1019760        
156432                           ?
               7         HOST-RESOURCES-TYPES::hrStorageOther   Cached 
memory               1024 Bytes        221632        
221632                           ?
              10 HOST-RESOURCES-TYPES::hrStorageVirtualMemory      Swap 
space               1024 Bytes       4193272             
0                           ?
              31     
HOST-RESOURCES-TYPES::hrStorageFixedDisk               /               
4096 Bytes       2838076        765350                           ?
              35     HOST-RESOURCES-TYPES::hrStorageFixedDisk        
/dev/shm               4096 Bytes        127470             
0                           ?

Is there a new parameter I'm missing for 5.7 to get this information?

Dennis.

------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to