plugin: check_snmp_storage

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
krystwie
Posts: 6
Joined: Tue Mar 06, 2012 7:33 am

plugin: check_snmp_storage

Post by krystwie »

Hello, I have a problem with plugin: check_snmp_storage

One serwer have SAS storage (10TB capacity, 1TB free)

Nagios shows that:

F: Label:BACKUP_VOL Serial Number 88c93c8: 116%used(-7309626MB/-6284956MB) (>90%) : CRITICAL

Why?
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: plugin: check_snmp_storage

Post by lmiltchev »

Are you using the "default check_snmp_storage.pl", that comes with Nagios XI, or you are using a custom plugin? If you are using a different plugin, can you post the download link? We will try to recreate the problem. Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
krystwie
Posts: 6
Joined: Tue Mar 06, 2012 7:33 am

Re: plugin: check_snmp_storage

Post by krystwie »

http://nagios.manubulon.com/check_snmp_storage.pl

# Version : 1.3.3
# Date : Jun 1 2007
# Author : Patrick Proy ( patrick at proy.org)
# Help : http://nagios.manubulon.com
# Licence : GPL - http://www.fsf.org/licenses/gpl.txt
# TODO :
# Contribs : Dimo Velev, Makina Corpus, A. Greiner-Bär
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: plugin: check_snmp_storage

Post by lmiltchev »

Can you run the actual command that you are using in terminal and show us the command and the output?
Be sure to check out our Knowledgebase for helpful articles and solutions!
krystwie
Posts: 6
Joined: Tue Mar 06, 2012 7:33 am

Re: plugin: check_snmp_storage

Post by krystwie »

I don't know how run command in terminal
Please tell me, then I try
krystwie
Posts: 6
Joined: Tue Mar 06, 2012 7:33 am

Re: plugin: check_snmp_storage

Post by krystwie »

OK, Now I know

plwawsnagios:/usr/lib/nagios/plugins# ./check_snmp_storage -H 172.17.18.21 -C public -m F -w 80 -c 90


F:\ Label:BACKUP_VOL Serial Number 88c93c8 : 110 %used (-6942767MB/-6284956MB) (< 90) : CRITICAL
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: plugin: check_snmp_storage

Post by scottwilkerson »

you might need to add --v2c to the request for counters that large

Code: Select all

./check_snmp_storage -H 172.17.18.21 -C public -m F -w 80 -c 90 --v2c
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
krystwie
Posts: 6
Joined: Tue Mar 06, 2012 7:33 am

Re: plugin: check_snmp_storage

Post by krystwie »

Sorry, not working:

plwawsnagios:/usr/lib/nagios/plugins# ./check_snmp_storage -H 172.17.18.21 -C public -m F -w 80 -c 90 --v2c

F:\ Label:BACKUP_VOL Serial Number 88c93c8: 108%used(-6759166MB/-6284956MB) (>90%) : CRITICAL
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: plugin: check_snmp_storage

Post by scottwilkerson »

I'm not sure why you are getting this but it may be because of the type of device you are monitoring and it's use of various technologies (ie RAID. etc). It may be more appropriate to find a plugin specifically for SAS devices
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked