![](https://secure.gravatar.com/avatar/857788a73f55f7efe32c269772e183e5.jpg?s=120&d=mm&r=g)
On 8 July 2013 08:02, Tom Laermans tom.laermans@powersource.cx wrote:
If you could just check (or send) the snmpwalk output for the hr-storage part of the poller... if Nagios is seeing it correctly, it must be OK in SNMP - maybe PHP is doing some unsigned vs signed fuckuppery making this value negative instead of large positive? I'm just wondering how net-snmp sees that data.
Interestingly, snmpwalk on my Observium server throws an error at the end of its run which I've never seen before, but which has got to be related to Windows (the Nagios server throws the same error with the same version of snmpwalk, so I know it's not the server)
Error in packet. Reason: (genError) A general failure occured Failed object: SNMPv2-SMI::mib-2.67.2.1.1.1.13
That's just after a general snmpwalk - weird, but I don't think it's what is causing the problem, since my Nagios host gets the same error (different machine, same version of snmpwalk)
Output of hr-storage from my poller debug as follows
/usr/bin/snmpbulkwalk -v2c -c <community> -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/observium/mibs udp:<host>:161 hrStorageEntry hrStorageIndex.1 = 1 hrStorageIndex.2 = 2 hrStorageIndex.3 = 3 hrStorageIndex.4 = 4 hrStorageIndex.5 = 5 hrStorageIndex.6 = 6 hrStorageIndex.7 = 7 hrStorageIndex.8 = 8 hrStorageType.1 = hrStorageFixedDisk hrStorageType.2 = hrStorageFixedDisk hrStorageType.3 = hrStorageCompactDisc hrStorageType.4 = hrStorageFixedDisk hrStorageType.5 = hrStorageFixedDisk hrStorageType.6 = hrStorageCompactDisc hrStorageType.7 = hrStorageVirtualMemory hrStorageType.8 = hrStorageRam hrStorageDescr.1 = C:\ Label: Serial Number 2cd320c9 hrStorageDescr.2 = D:\ Label:Data Serial Number 56547c7f hrStorageDescr.3 = E:\ hrStorageDescr.4 = F:\ Label:My Book Serial Number 1843759f hrStorageDescr.5 = G:\ Label:MPEGS Serial Number 28ba4922 hrStorageDescr.6 = H:\ hrStorageDescr.7 = Virtual Memory hrStorageDescr.8 = Physical Memory hrStorageAllocationUnits.1 = 4096 hrStorageAllocationUnits.2 = 4096 hrStorageAllocationUnits.3 = 0 hrStorageAllocationUnits.4 = 4096 hrStorageAllocationUnits.5 = 1024 hrStorageAllocationUnits.6 = 0 hrStorageAllocationUnits.7 = 65536 hrStorageAllocationUnits.8 = 65536 hrStorageSize.1 = 35832982 hrStorageSize.2 = -17524993 hrStorageSize.3 = 0 hrStorageSize.4 = 488370175 hrStorageSize.5 = -1870052353 hrStorageSize.6 = 0 hrStorageSize.7 = 392860 hrStorageSize.8 = 196444 hrStorageUsed.1 = 17982773 hrStorageUsed.2 = 1328911526 hrStorageUsed.3 = 0 hrStorageUsed.4 = 430612466 hrStorageUsed.5 = 1885592566 hrStorageUsed.6 = 0 hrStorageUsed.7 = 119440 hrStorageUsed.8 = 127275 hrStorageAllocationFailures.1 = 0 hrStorageAllocationFailures.2 = 0 hrStorageAllocationFailures.3 = 0 hrStorageAllocationFailures.4 = 0 hrStorageAllocationFailures.5 = 0 hrStorageAllocationFailures.6 = 0 hrStorageAllocationFailures.7 = 0 hrStorageAllocationFailures.8 = 0
Let me know if you need anything else
Cheers.
DaZZa