nagios: Tighten the limits for check-host-alive
This commit is contained in:
parent
8227dd7810
commit
9054f4a5f8
1 changed files with 2 additions and 2 deletions
|
@ -48,14 +48,14 @@ define command{
|
||||||
|
|
||||||
|
|
||||||
# This command checks to see if a host is "alive" by pinging it
|
# This command checks to see if a host is "alive" by pinging it
|
||||||
# The check must result in a 100% packet loss or 5 second (5000ms) round trip
|
# The check must result in a 100% packet loss or 2 second (2000ms) round trip
|
||||||
# average time to produce a critical error.
|
# average time to produce a critical error.
|
||||||
# Note: Four ICMP echo packets are sent (determined by the '-p 4' argument)
|
# Note: Four ICMP echo packets are sent (determined by the '-p 4' argument)
|
||||||
|
|
||||||
# 'check-host-alive' command definition
|
# 'check-host-alive' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check-host-alive
|
command_name check-host-alive
|
||||||
command_line $USER1$/check_ping -4 -H $HOSTADDRESS$ -w 2000.0,75% -c 4000.0,100% -p 4
|
command_line $USER1$/check_ping -4 -H $HOSTADDRESS$ -w 1000.0,50% -c 2000.0,100% -p 4
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue