################################################################################ # NetApp checks # ################################################################################ # System Description define command{ command_name check-netapp-sysdescr command_line /opt/local/libexec/check_snmp -H $HOSTADDRESS$ -C public -o .1.3.6.1.2.1.1.1.0 } # Global Message status define command{ command_name check-netapp-globalstatusmsg command_line /opt/local/libexec/check_snmp -H $HOSTADDRESS$ -C public -o .1.3.6.1.4.1.789.1.2.2.25.0 } # Failed fans define command{ command_name check-netapp-failedfans command_line /opt/local/libexec/check_snmp -H $HOSTADDRESS$ -C public -o .1.3.6.1.4.1.789.1.2.4.3.0 } # Failed power supplies define command{ command_name check-netapp-failedpwr command_line /opt/local/libexec/check_snmp -H $HOSTADDRESS$ -C public -o .1.3.6.1.4.1.789.1.2.4.5.0 } # Disk Reconstructing Count define command{ command_name check-netapp-dskreconstructingcount command_line /opt/local/libexec/check_snmp -H $HOSTADDRESS$ -C public -o .1.3.6.1.4.1.789.1.6.4.3.0 } # Disk Reconstructing Parity Count define command{ command_name check-netapp-dskreconstructingparitycount command_line /opt/local/libexec/check_snmp -H $HOSTADDRESS$ -C public -o .1.3.6.1.4.1.789.1.6.4.4.0 } # System Name define command{ command_name check-netapp-sysname command_line /opt/local/libexec/check_snmp -H $HOSTADDRESS$ -C public -o .1.3.6.1.2.1.1.5.0 } # System Location define command{ command_name check-netapp-syslocation command_line /opt/local/libexec/check_snmp -H $HOSTADDRESS$ -C public -o .1.3.6.1.2.1.1.6.0 } # Uptime define command{ command_name check-netapp-uptime command_line /opt/local/libexec/check_snmp -H $HOSTADDRESS$ -C public -o .1.3.6.1.2.1.1.3.0 --delimiter=')' -l "Uptime is" } # CPU Load define command{ command_name check-netapp-cpuload command_line /opt/local/libexec/check_snmp -H $HOSTADDRESS$ -C public -o .1.3.6.1.4.1.789.1.2.1.3.0 -w 90 -c 95 -u '%' -l "CPU LOAD " } # Number of disks define command{ command_name check-netapp-numdisks command_line /opt/local/libexec/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 "" } # Volume state check- vol1 to vol4 define command{ command_name check-netapp-volstate1 command_line /opt/local/libexec/check_snmp -H $HOSTADDRESS$ -C public -o .1.3.6.1.4.1.789.1.5.8.1.5.1,.1.3.6.1.4.1.789.1.5.8.1.5.2,.1.3.6.1.4.1.789.1.5.8.1.5.3,.1.3.6.1.4.1.789.1.5.8.1.5.4 -u 'Vol1','Vol2','Vol3','Vol4' -l "" } # Volume state check- vol5 to vol9 define command{ command_name check-netapp-volstate2 command_line /opt/local/libexec/check_snmp -H $HOSTADDRESS$ -C public -o .1.3.6.1.4.1.789.1.5.8.1.5.5,.1.3.6.1.4.1.789.1.5.8.1.5.6,.1.3.6.1.4.1.789.1.5.8.1.5.7,.1.3.6.1.4.1.789.1.5.8.1.5.8,.1.3.6.1.4.1.789.1.5.8.1.5.9 -u 'Vol5','Vol6','Vol7','Vol8','Vol9' -l "" } ################################################################################ # End of NetApp checks # ################################################################################