Re: hrStorage doesn't show my partitions

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Daniel van Ham Colchete wrote:
> I'm using net-snmp+cacti to monitor some servers I have. I just finished
> installing 10 new ones, but hrStorage will not report my disks to me at
> those 10 new servers.
> 
> With an old server, when I 'snmpwalk|grep hrStorageDescr' there I have:
> 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.8 = STRING: Shared memory
> HOST-RESOURCES-MIB::hrStorageDescr.10 = STRING: Swap space
> HOST-RESOURCES-MIB::hrStorageDescr.31 = STRING: /
> HOST-RESOURCES-MIB::hrStorageDescr.32 = STRING: /sys
> HOST-RESOURCES-MIB::hrStorageDescr.33 = STRING: /proc/bus/usb
> HOST-RESOURCES-MIB::hrStorageDescr.34 = STRING: /proc/sys/fs/binfmt_misc
> HOST-RESOURCES-MIB::hrStorageDescr.35 = STRING: /proc/fs/nfs
> HOST-RESOURCES-MIB::hrStorageDescr.36 = STRING: /var/lib/nfs/rpc_pipefs
> 
> But with the new ones:
> 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.8 = STRING: Shared memory
> HOST-RESOURCES-MIB::hrStorageDescr.10 = STRING: Swap space
> 
> All servers are using net-snmp version 5.4. All of them are Gentoo linuxes.

I take it that the "old servers" are *not* running 5.4? Because at least
the /sys and /proc/* entries are expected to get skipped because they're
pseudo file systems.

But at least the entry for "/" should be there. FWIW, it works fine for
me on SuSE Linux 10.2 with 5.4.x SVN. Can you try with 5.4.1?


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.