| Languages: |
English • Deutsch |
I found this two solutions on the mailing list today:
First:
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:
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 ""