Monitoring Large Disk Volumes/Negative Data Return

I’ve encountered a problem… I’m using Nagios to Monitor 130+ hosts and 1800+ services without any problems, but now i’ve found my first problem.

I have a Disk Array containing 12 x 1Tb Hdds and when i try to monitor the disk size on the partition, i get a negative return.

Checking E drive gives this return

[root@xxx libexec]# ./check_snmp_storage.pl -H xxx.xxx.xx.xx -C xxxxxxxxxx -m ^E -w 10% -c 5% -T pl -G
E:\ Label: Serial Number 2816fec3: 211%left(-14905GB/-7069GB) (>10%) : OK

Checking C drive gives this return

[root@xxx libexec]# ./check_snmp_storage.pl -H xxx.xxx.xx.xx -C xxxxxxxxxx -m ^C -w 10% -c 5% -T pl -G
C:\ Label: Serial Number c8e7ab51: 90%left(247GB/273GB) (>10%) : OK

Checking storage size gives this return

[root@xxx libexec]# snmpwalk -v1 -c xxxxxxxxxx xxx.xxx.xx.xx hrStorageSize
HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 71668255
HOST-RESOURCES-MIB::hrStorageSize.2 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.3 = INTEGER: -1853176065
HOST-RESOURCES-MIB::hrStorageSize.4 = INTEGER: 63199
HOST-RESOURCES-MIB::hrStorageSize.5 = INTEGER: 32733

I’ve tried different plugins and none of them work.

Any help would be great.

Thanks

if SNMP returns a negative value i don’t think any nagios plugin can fix this as it wouldn’t know at what number the counter overflows and becomes negative (which is what i suppose is happening… might be something else).