1 # 'check_ping' command definition
3 command_name check_ping
4 command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 $ARG3$
7 # This command checks to see if a host is "alive" by pinging it
8 # The check must result in a 100% packet loss or 5 second (5000ms) round trip
9 # average time to produce a critical error.
10 # Note: Only one ICMP echo packet is sent (determined by the '-p 1' argument)
12 # Command to check to see if a host is "alive" (up) by pinging it
14 command_name check-host-alive
15 command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 100,99% -c 5000,100% -p 1