MonitoringExchange
NagiosForge
NagiosWiki
Nagios Community Platform powered by NETWAYS

Hardware:NetApp

Search  
From MonEx Wiki
Jump to: navigation, search

I found this two solutions on the mailing list today:

First:

nagios@nagioswiki.org:~/
check_snmp  -H $HOSTADDRESS$ -C $ARG1$ -t 60 -o \
 .enterprises.789.1.6.4.1.0,.enterprises.789.1.6.4.2.0,.enterprises.789.1.6.4.8.0,.enterprises.789.1.6.4.7.0 \
 -w 9000,9000,9000,0 -c 9000,9000,9000,2  -u 'TotalDisks','Active','Spare','Failed' -l ""

the last number in the -w/-c represents number of failures (greather than)

Second:

nagios@nagioswiki.org:~/
check_snmp -H $HOSTADDRESS$ -C public -o \ 
 .1.3.6.1.4.1.789.1.6.4.1.0,.1.3.6.1.4.1.789.1.6.4.2.0,.1.3.6.1.4.1.789.1.6.4.8.0,.1.3.6.1.4.1.789.1.6.4.7.0 \ 
 -u 'Total Disks','Active','Spare','Failed' -l ""