>-----Original Message-----
>From: [email protected] [mailto:[email protected]] On
>Behalf Of Dave Shield
>Sent: 20 August 2010 17:52
>To: Julian Grunnell
>Cc: [email protected]
>Subject: Re: net-snmp & HOST-RESOURCES-MIB::hrStorage
>
>On 20 August 2010 15:12, Julian Grunnell <[email protected]>
>wrote:
>>
>>  I'm using snmp via a Cacti server to query disk usage on a client
>with a 21Tb
>> partition defined - yet I seem to get the disk size incorrectly
>reported.
>
>
>> NET-SNMP version:  5.3.2.2
>
>Can you please try with the most recent code (either 5.5, or the
>upcoming 5.6).
>Both of those have a re-worked version of the hrStorageTable, which
>ought to
>handle this situation rather better than the earlier code did.
>
>Dave

[>] Thanks, I've tried the following versions with the results seen below, all 
built from source with a simple ./configure --prefix=xxxxx; make; make install

NET-SNMP version:  5.3.2.2
HOST-RESOURCES-MIB::hrStorageIndex.5 = INTEGER: 5
HOST-RESOURCES-MIB::hrStorageType.5 = OID: 
HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageDescr.5 = STRING: /data
HOST-RESOURCES-MIB::hrStorageAllocationUnits.5 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageSize.5 = INTEGER: 1074233344
HOST-RESOURCES-MIB::hrStorageUsed.5 = INTEGER: 3497073


NET-SNMP version:  5.5
HOST-RESOURCES-MIB::hrStorageIndex.32 = INTEGER: 32
HOST-RESOURCES-MIB::hrStorageType.32 = OID: 
HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageDescr.32 = STRING: /data
HOST-RESOURCES-MIB::hrStorageAllocationUnits.32 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageSize.32 = INTEGER: 1074233344
HOST-RESOURCES-MIB::hrStorageUsed.32 = INTEGER: 3497077


NET-SNMP version:  5.6.rc1
HOST-RESOURCES-MIB::hrStorageIndex.32 = INTEGER: 32
HOST-RESOURCES-MIB::hrStorageType.32 = OID: 
HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageDescr.32 = STRING: /data
HOST-RESOURCES-MIB::hrStorageAllocationUnits.32 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageSize.32 = INTEGER: 1074233344
HOST-RESOURCES-MIB::hrStorageUsed.32 = INTEGER: 3497073


NET-SNMP version:  5.6.pre3
HOST-RESOURCES-MIB::hrStorageIndex.32 = INTEGER: 32
HOST-RESOURCES-MIB::hrStorageType.32 = OID: 
HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageDescr.32 = STRING: /data
HOST-RESOURCES-MIB::hrStorageAllocationUnits.32 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageSize.32 = INTEGER: 1074233344
HOST-RESOURCES-MIB::hrStorageUsed.32 = INTEGER: 3497073


These were all tested with the same command:

snmpwalk -v2c -cxxxxxxxx localhost HOST-RESOURCES-MIB::hrStorage


Unless I'm missing something / doing something wrong I take it this hasn't made 
a difference in my case.

Julian.


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
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