# 'check_flexlm' command definition define command{ command_name check_flexlm command_line $USER1$/check_flexlm -F $ARG1$ } ## Check game servers # 'check_quake' command definition define command{ command_name check_quake command_line $USER1$/check_game qs $HOSTADDRESS$ } # 'check_unreal' command definition define command{ command_name check_unreal command_line $USER1$/check_game uns $HOSTADDRESS$ -p $ARG1$ -pf 8 } #%nagios_plugdir/check_oracle #%nagios_plugdir/check_sensors ### some check_ definitions for contrib -- see /usr/share/doc/nagios-plugins-extra-x.xx.x/contrib/ ## verify all you BGP session on a device are running (only returns warning ## due to some hardcoded option - to be fixed soon) # 'check_snmp_bgpstate' command definition define command{ command_name check_snmp_bgpstate command_line $USER1$/check_bgpstate -H $HOSTADDRESS$ -C public } ## Check a port that should be open # 'check_nmap' command definition define command{ command_name check_nmap command_line $USER1$/check_nmap -H $HOSTADDRESS$ -t 30 -p $ARG1$ } ## Check a port that should be open and another that *could* be open, ## but no warning is given if optional port is closed. # 'check_nmap_optional' command definition define command{ command_name check_nmap_optional command_line $USER1$/check_nmap -H $HOSTADDRESS$ -t 60 -p $ARG1$ -o $ARG2$ } ## Specify range to nmap # 'check_nmap_range' command definition define command{ command_name check_nmap_range command_line $USER1$/check_nmap -H $HOSTADDRESS$ -t 60 -p $ARG1$ -r $ARG2$ } ## Specify both optional and range # 'check_nmap_opt_range' command definition define command{ command_name check_nmap_opt_range command_line $USER1$/check_nmap -H $HOSTADDRESS$ -t 60 -p $ARG1$ -o $ARG2$ -r$ARG3$ }