> Please try running snmpd using the debug options    -Dhost,mem
> and query the hrStorageTable again.   What does the agent report?

Starting snmpd with the following command: /usr/sbin/snmpd -f -Lo
-Dhost,mem
Running the query with snmpget to minimize a long debug output. (let me
know if you want the entire snmpwalk output) snmpget -v 2c -c public
127.0.0.1 hrStorageSize.4 (.4 should return the size for '/' filesystem)

Output from snmpd

registered debug token host, 1
registered debug token mem, 1
NET-SNMP version 5.3.2.2
Connection from UDP: [127.0.0.1]:47105
host/hr_storage: var_hrstoreEntry: HOST-RESOURCES-MIB::hrStorageSize.4 1
(index 1 ....HOST-RESOURCES-MIB::hrStorageSize.1
(index 2 ....HOST-RESOURCES-MIB::hrStorageSize.2
(index 3 ....HOST-RESOURCES-MIB::hrStorageSize.3
(index 4 ....HOST-RESOURCES-MIB::hrStorageSize.4
host/hr_storage: ... get storage stats
HOST-RESOURCES-MIB::hrStorageSize.4

> Are you running this as root, or as a normal user?

Yes, I'm running as root

Another intressing thing is that I just downloaded the latests src and
compiled it. No errors during the compile. Copied the original
snmpd.conf file and started the fresh-compiled version of net-snmp. All
entired returned successfully. Everything looks like it should. Must be
something wrong the vendor-specific version that Redhat supplies.

Berry

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to