understanding check-host-alive command for host/ping checks
Posted: Wed Feb 06, 2019 3:09 am
Hi,
I have been using the check-host-alive command for ping_checks as well as for monitoring if host is up or down.
All the parameters are default. Is this redundant?
I want to be notified when
there is 80% packet drops in 15 secs (WARNING)
there is 100% packet drops in 20 secs (CRITICAL)
How can I achieve this?
I made the below changes for testing purpose, is the logic correct?
check_icmp -H 127.0.0.1 -w 10000.0,80% -c 15000.0,100% -p 5
I am expecting
WARNING - when there is 80% packet drop in 10 secs
CRITICAL - when there is 100% packet drop in 15 secs
I have been using the check-host-alive command for ping_checks as well as for monitoring if host is up or down.
All the parameters are default. Is this redundant?
I want to be notified when
there is 80% packet drops in 15 secs (WARNING)
there is 100% packet drops in 20 secs (CRITICAL)
How can I achieve this?
I made the below changes for testing purpose, is the logic correct?
check_icmp -H 127.0.0.1 -w 10000.0,80% -c 15000.0,100% -p 5
I am expecting
WARNING - when there is 80% packet drop in 10 secs
CRITICAL - when there is 100% packet drop in 15 secs