Page 1 of 1

plugin: check_snmp_storage

Posted: Tue Mar 06, 2012 7:45 am
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?

Re: plugin: check_snmp_storage

Posted: Tue Mar 06, 2012 12:43 pm
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!

Re: plugin: check_snmp_storage

Posted: Wed Mar 07, 2012 3:12 am
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

Re: plugin: check_snmp_storage

Posted: Wed Mar 07, 2012 10:18 am
by lmiltchev
Can you run the actual command that you are using in terminal and show us the command and the output?

Re: plugin: check_snmp_storage

Posted: Tue Mar 20, 2012 2:22 am
by krystwie
I don't know how run command in terminal
Please tell me, then I try

Re: plugin: check_snmp_storage

Posted: Tue Mar 20, 2012 7:34 am
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

Re: plugin: check_snmp_storage

Posted: Tue Mar 20, 2012 4:54 pm
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

Re: plugin: check_snmp_storage

Posted: Wed Mar 21, 2012 4:51 am
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

Re: plugin: check_snmp_storage

Posted: Wed Mar 21, 2012 3:15 pm
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