Page 1 of 1

nagios snmp storage info not correct

Posted: Tue Jul 17, 2012 9:44 pm
by robinhood_yin
11.jpg
I get a nagios to monitor server 2003 via snmp, but the disk storage used percentage is wrong. 221GB/300G how can it be 17% used? I use snmputil to test the sever storage from local, it is ok,

the block size is 4096, so 56696972x4= 221G around.

C:\Documents and Settings\adm>snmputil get 127.0.0.1 public .1.3.6.1.2.1.
25.2.3.1.6.4
Variable = host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.4
Value = Integer32 56696972

only E drive have this problem. but the others is working perfect! I don't know why.
even I run the script in prompt mode, same result. but F drive is ok.

[root@atcntest libexec]# ./check_snmp_storage -C public -H 10.101.161.131 -m ^E -w 80% -c 90%
OK : E:\ Label:data Serial Number 88074d8d: 18%used(222095MB/307196MB) : < 80 % | 'E:\ Label:data Serial Number 88074d8d'=222094MB;245756;276476;0;307196
[root@atcntest libexec]# ./check_snmp_storage -C public -H 10.101.161.131 -m ^F -w 80% -c 90%
OK : F:\ Label:dataF Serial Number 60c115cc: 78%used(160405MB/204797MB) : < 80 % | 'F:\ Label:dataF Serial Number 60c115cc'=160404MB;163837;184317;0;204797

Re: nagios snmp storage info not correct

Posted: Wed Jul 18, 2012 6:45 pm
by jsmurphy
You appear to be correct... that does not look like it is behaving as you would expect, I'm guessing the plugin you are using is: http://nagios.manubulon.com/snmp_storage.html

If that's the case then the best way to get help would probably be raising a ticket with the plugin author on his sourceforge project http://sourceforge.net/tracker/?group_i ... tid=732011

Re: nagios snmp storage info not correct

Posted: Wed Jul 18, 2012 9:05 pm
by robinhood_yin
OK,thanks , I will open a ticket.