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
Net-snm...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
What OS?
/Niels
--
Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net
The purpose of computing is insight, not numbers --- R W Hamming
Based on the post, I'd say RHEL6.
+Thomas
Dennis.
On 7/25/2011 6:42 AM, Niels Baggesen wrote:
> On Fri, Jul 22, 2011 at 05:00:20PM -0700, Dennis Andrews wrote:
>> I downloaded net-snmp 5.7 (net-snmp-5.7.tar.gz) and built it with my
>> normal build environment
> What OS?
>
> /Niels
>
------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
The following patch and running autoconf should fix it:
diff --git a/configure.d/config_os_functions b/configure.d/config_os_functions
index d7242a9..7736994 100644
--- a/configure.d/config_os_functions
+++ b/configure.d/config_os_functions
@@ -22,7 +22,6 @@ else
fi
AC_TYPE_SIGNAL
-AC_FUNC_GETMNTENT
##
# Stand-alone function checks:
diff --git a/configure.d/config_os_libs1 b/configure.d/config_os_libs1
index 00befbc..ce33d34 100644
--- a/configure.d/config_os_libs1
+++ b/configure.d/config_os_libs1
@@ -59,6 +59,7 @@ fi
AC_SEARCH_LIBS(getfsstat, [nbutil])
AC_CHECK_FUNCS(getfsstat)
AC_CHECK_FUNCS(getvfsstat)
+AC_FUNC_GETMNTENT
#
# kinfo_get_cpus
It makes sure that vi have tested for getmntent before deciding which
agent modules to use.
/Niels
--
Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net
The purpose of computing is insight, not numbers --- R W Hamming
------------------------------------------------------------------------------