[root@atcntest ~]# snmpwalk -v 2c -c public 10.101.161.131
.1.3.6.1.2.1.25.2.3.1

HOST-RESOURCES-MIB::hrStorageIndex.1 = INTEGER: 1

HOST-RESOURCES-MIB::hrStorageIndex.2 = INTEGER: 2

HOST-RESOURCES-MIB::hrStorageIndex.3 = INTEGER: 3

HOST-RESOURCES-MIB::hrStorageIndex.4 = INTEGER: 4

HOST-RESOURCES-MIB::hrStorageIndex.5 = INTEGER: 5

HOST-RESOURCES-MIB::hrStorageIndex.6 = INTEGER: 6

HOST-RESOURCES-MIB::hrStorageIndex.7 = INTEGER: 7

HOST-RESOURCES-MIB::hrStorageType.1 = OID:
HOST-RESOURCES-TYPES::hrStorageRemovableDisk

HOST-RESOURCES-MIB::hrStorageType.2 = OID:
HOST-RESOURCES-TYPES::hrStorageFixedDisk

HOST-RESOURCES-MIB::hrStorageType.3 = OID:
HOST-RESOURCES-TYPES::hrStorageCompactDisc

HOST-RESOURCES-MIB::hrStorageType.4 = OID:
HOST-RESOURCES-TYPES::hrStorageFixedDisk

HOST-RESOURCES-MIB::hrStorageType.5 = OID:
HOST-RESOURCES-TYPES::hrStorageFixedDisk

HOST-RESOURCES-MIB::hrStorageType.6 = OID:
HOST-RESOURCES-TYPES::hrStorageVirtualMemory

HOST-RESOURCES-MIB::hrStorageType.7 = OID:
HOST-RESOURCES-TYPES::hrStorageRam

HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: A:\

HOST-RESOURCES-MIB::hrStorageDescr.2 = STRING: C:\ Label:  Serial Number
645cf832

HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: D:\

HOST-RESOURCES-MIB::hrStorageDescr.4 = STRING: E:\ Label:data  Serial Number
88074d8d

HOST-RESOURCES-MIB::hrStorageDescr.5 = STRING: F:\ Label:dataF  Serial
Number 60c115cc

HOST-RESOURCES-MIB::hrStorageDescr.6 = STRING: Virtual Memory

HOST-RESOURCES-MIB::hrStorageDescr.7 = STRING: Physical Memory

HOST-RESOURCES-MIB::hrStorageAllocationUnits.1 = INTEGER: 0 Bytes

HOST-RESOURCES-MIB::hrStorageAllocationUnits.2 = INTEGER: 4096 Bytes

HOST-RESOURCES-MIB::hrStorageAllocationUnits.3 = INTEGER: 0 Bytes

HOST-RESOURCES-MIB::hrStorageAllocationUnits.4 = INTEGER: 4096 Bytes

HOST-RESOURCES-MIB::hrStorageAllocationUnits.5 = INTEGER: 4096 Bytes

HOST-RESOURCES-MIB::hrStorageAllocationUnits.6 = INTEGER: 65536 Bytes

HOST-RESOURCES-MIB::hrStorageAllocationUnits.7 = INTEGER: 65536 Bytes

HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 0

HOST-RESOURCES-MIB::hrStorageSize.2 = INTEGER: 6289439

HOST-RESOURCES-MIB::hrStorageSize.3 = INTEGER: 0

HOST-RESOURCES-MIB::hrStorageSize.4 = INTEGER: 78642183

HOST-RESOURCES-MIB::hrStorageSize.5 = INTEGER: 52428119

HOST-RESOURCES-MIB::hrStorageSize.6 = INTEGER: 144673

HOST-RESOURCES-MIB::hrStorageSize.7 = INTEGER: 49142

HOST-RESOURCES-MIB::hrStorageUsed.1 = INTEGER: 0

HOST-RESOURCES-MIB::hrStorageUsed.2 = INTEGER: 3018434

HOST-RESOURCES-MIB::hrStorageUsed.3 = INTEGER: 0

HOST-RESOURCES-MIB::hrStorageUsed.4 = INTEGER: 56748751

HOST-RESOURCES-MIB::hrStorageUsed.5 = INTEGER: 41057744

HOST-RESOURCES-MIB::hrStorageUsed.6 = INTEGER: 11563

HOST-RESOURCES-MIB::hrStorageUsed.7 = INTEGER: 14724

HOST-RESOURCES-MIB::hrStorageAllocationFailures.1 = Counter32: 0

HOST-RESOURCES-MIB::hrStorageAllocationFailures.2 = Counter32: 0

HOST-RESOURCES-MIB::hrStorageAllocationFailures.3 = Counter32: 0

HOST-RESOURCES-MIB::hrStorageAllocationFailures.4 = Counter32: 0

HOST-RESOURCES-MIB::hrStorageAllocationFailures.5 = Counter32: 0

HOST-RESOURCES-MIB::hrStorageAllocationFailures.6 = Counter32: 0

HOST-RESOURCES-MIB::hrStorageAllocationFailures.7 = Counter32: 0

 

 

The value is correct.  Used/Total Size is around 70-80%. But in nagios it
display as 18% used.

 

-----邮件原件-----
发件人: [email protected] [mailto:[email protected]] 代表 Dave
Shield
发送时间: 2012年7月21日 4:53
收件人: robin yin
抄送: [email protected]; Yin, Robin
主题: Re: check snmp storage have problem.

 

On 17 July 2012 10:48, robin yin < <mailto:[email protected]>
[email protected]> wrote:

> When I use check_snmp_storage script to check windows server 2003’s 

> storage,

 

That's not part of the Net-SNMP suite, so it's a bit difficult to know
exactly what it is doing.

 

 

> I found the percentage is not correct on E drive. But on the other it 

> is ok, can you tell what is wrong?

 

Try using the 'snmpwalk' command to retrieve the underlying data for the
filesystem in question.  What values do you get?

  How do these compare with the actual figures for that disk?

 

Dave

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to