>On 2 December 2011 13:21, Andreas Schnederle-Wagner - Futureweb.at 
><schnede...@futureweb.at> wrote:
>> using Nagios SNMP checks to monitor our Server HDD usage.
>>
>> With "snmpwalk  -v 2c -c public  localhost  hrStorage" I get back all 
>> the needed information.
>>
>> . other stuff .
>> HOST-RESOURCES-MIB::hrStorageDescr.31 = STRING: /
>> HOST-RESOURCES-MIB::hrStorageAllocationUnits.31 = INTEGER: 4096 Bytes
>> HOST-RESOURCES-MIB::hrStorageSize.31 = INTEGER: 3992804
>> HOST-RESOURCES-MIB::hrStorageUsed.31 = INTEGER: 724903
>>
>> . other stuff .
>>
>
>
>> With the same command on another Server. (but same OS à Centos 5) the 
>> root partition is missing in the output .
>
>
>Is the agent one you compiled yourself, or a vendor-supplied one?
>Is it the same version of the agent on both systems>
>
>Try retrieving the value UCD-SNMP-MIB::versionConfigureOptions.0
>from both systems.   Do these values look the same?
>
>
>Dave

Hi Dave,

the agent is vendor-supplied. Same Versions on both systems:
        -bash-3.2# rpm -qa | grep snmp
        net-snmp-devel-5.3.2.2-14.el5_7.1
        net-snmp-5.3.2.2-14.el5_7.1
        net-snmp-libs-5.3.2.2-14.el5_7.1
        net-snmp-utils-5.3.2.2-14.el5_7.1

Also the config options look the same:
-bash-3.2# snmpwalk  -v 2c -c public  localhost  
UCD-SNMP-MIB::versionConfigureOptions.0
UCD-SNMP-MIB::versionConfigureOptions.0 = STRING: 
'--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' 
'--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' 
'--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' 
'--datadir=/usr/share' '--includedir=/usr/include/net-snmp' 
'--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' 
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man' 
'--infodir=/usr/share/info' '--enable-static' '--enable-shared' 
'--with-cflags=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -g -lcrypto' 
'--with-ldflags=-L/usr/lib64' '--with-sys-location=Unknown' 
'--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/var/net-snmp' 
'--with-mib-modules=host agentx smux          ucd-snmp/diskio tcp-mib udp-mib 
mibII/mta_sendmail          ip-mib/ipv4InterfaceTable ip-mib/ipv6InterfaceTable 
         ip-mib/ipAddressPrefixTable/ipAddressPrefixTable          
ip-mib/ipDefaultRouterTable/ipDefaultRo

Andreas

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to