Page 1 of 1

Warning alerts for check_ping service in Nagios

Posted: Sat Oct 20, 2018 8:47 am
by kaushalshriyan
Hi,

We have self-hosted monitoring server (Nagios) in Mumbai AWS region to monitor all the hosts and services hosted in Singapore and Dublin region.We are currently observing latencies between the monitoring system hosted in Mumbai and Singapore, Dublin AWS region.

Code: Select all

# ping 10.0.0.185 ( Private IP of server in Dublin region) 
PING 10.0.0.185 (10.0.0.185) 56(84) bytes of data.
64 bytes from 10.0.0.185: icmp_seq=1 ttl=62 time=123 ms
64 bytes from 10.0.0.185: icmp_seq=2 ttl=62 time=123 ms
64 bytes from 10.0.0.185: icmp_seq=3 ttl=62 time=123 ms
64 bytes from 10.0.0.185: icmp_seq=4 ttl=62 time=123 ms
I will appreciate if anyone can let me know the best practices round trip average ping ICMP response within AWS Network Infrastructure and if there are documents to understand the latency metrics. I am referring to https://www.cloudping.co/ and the setup are as below:-

Nagios Monitoring hosted in ap-south-1 Asia Pacific (Mumbai)
Servers hosted in ap-southeast-1 Asia Pacific (Singapore) and eu-west-1 EU (Ireland).

I am setting warning and critical thresholds as per https://www.monitoring-plugins.org/doc/ ... _ping.html. I will appreciate if you can let me know the recommended warning and critical thresholds in Nagios.

define service {
use generic-service
host_name server1.domain.com
service_description PING
check_command check_ping!100.0,20%!500.0,60%
contact_groups email,sms,pagerduty
}

Currently i am getting warning alerts for check_ping service in Nagios. Any help will be highly appreciable and i look forward to hearing from you.

Thanks in Advance.

Best Regards,

Kaushal

Re: Warning alerts for check_ping service in Nagios

Posted: Sat Oct 20, 2018 10:25 am
by scottwilkerson
Your current check command says to issue warnings if the latency is over 100.0ms

Code: Select all

check_command check_ping!100.0,20%!500.0,60%
Although your ping you are showing is 123ms

If this is normal, you would likely want to bump that up to maybe 200ms

Code: Select all

check_command check_ping!200.0,20%!500.0,60%

Re: Warning alerts for check_ping service in Nagios

Posted: Mon Oct 22, 2018 1:44 am
by kaushalshriyan
Thanks Scott Wilkerson and really appreciated.

Re: Warning alerts for check_ping service in Nagios

Posted: Mon Oct 22, 2018 6:26 am
by scottwilkerson
kaushalshriyan wrote:Thanks Scott Wilkerson and really appreciated.
Let us know if we can be of further assistance.