Page 1 of 1

check_snmp_storage.pl error!!!!

Posted: Fri Apr 13, 2018 10:49 am
by aditya.c.anand
Hello Team,

Currently we are using "check_snmp_storage.pl" for mount point monitoring in our NagiosXI.
Recently we added a new check to monitor a mount point which has >2.3 TB total space and out of which used space is 2 TB . So ideally the used % should be 87% approx , but our Nagios is throwing 126% used.

I have also attached the script that we are using.

Nagios is showing total storage as 1.6 TB and used is 2 TB hence it is throwing 126% used. Can you please explain why Nagios is not taking the exact value from the server(Solaris server) ?

Whether this script can't take the values more than 1.6 TB?

Please check this on priority as the mount point is very critical for us.

Do let me know, in case you need some more info.

Regards,
Aditya Anand

Re: check_snmp_storage.pl error!!!!

Posted: Fri Apr 13, 2018 11:50 am
by tgriep
There is a limitation in the hrStorageSize counter as it is a 32 bit integer and it is not large enough to hold the data for larger hard drives.

But, there is a newer version of that plugin that takes that into account and should display the correct information.
You can get the updated plugin at this link.
https://github.com/dnsmichi/manubulon-s ... storage.pl