check_snmp_storage.pl error!!!!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
aditya.c.anand
Posts: 56
Joined: Mon Mar 20, 2017 7:16 am

check_snmp_storage.pl error!!!!

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: check_snmp_storage.pl error!!!!

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked