]> git.pld-linux.org Git - projects/nagios-config.git/blob - commands/check_ping.cfg
- allow extra args for all commands
[projects/nagios-config.git] / commands / check_ping.cfg
1 # 'check_ping' command definition
2 define command {
3         command_name    check_ping
4         command_line    $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 $ARG3$
5 }
6
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)
11
12 # Command to check to see if a host is "alive" (up) by pinging it
13 define command {
14         command_name    check-host-alive
15         command_line    $USER1$/check_ping -H $HOSTADDRESS$ -w 100,99% -c 5000,100% -p 1
16 }
This page took 0.027455 seconds and 3 git commands to generate.