host reachable with high delay however Nagios consider DOWN

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

host reachable with high delay however Nagios consider DOWN

Post by zaji_nms »

Dear Expert

We using "check_icmp" to monitor the Host, however whenever there is delay (0% packet loss), Nagios considering DOWN. Its not the correct EXIT code.

Nagios should think to resolve this issue.

In OPERATIONS-CENTER, showing DOWN in RED color, which totally wrong, Host is up with high delay, Nagios should not consider its down, should be display in different color (lets say Purple) and should check all the services under it.

We asked Nagios Team to add the feature (host_down_disable_service_checks=1), giving trouble when HOST showing DOWN just because of delay, which is not the correct way.

Regards
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: host reachable with high delay however Nagios consider D

Post by lmiltchev »

According to the "check_icmp" plugin's usage:
Threshold format for -w and -c is 200.25,60% for 200.25 msec RTA and 60%
packet loss. The default values should work well for most users.
You can specify different RTA factors using the standardized abbreviations
us (microseconds), ms (milliseconds, default) or just plain s for seconds.
You can modify the "standard" check:

Code: Select all

/usr/local/nagios/libexec/check_icmp -H <client ip> -w 200.0,40% -c 500.0,100% -p 5
by bumping up the RTA warning/critical values as you have delay issues. Nagios is very flexible product. You can adjust any check to match your environment.

As far as the "host_down_disable_service_checks" directive in the nagios.cfg, it was introduced in Nagios Core 4.1.0.
4.1.0 – 08/18/2015
ENHANCEMENTS

Make sticky status for acks and comments configurable enhancement #20 (Trevor McDonald / Scott Wilkerson)
Add host_down_disable_service_checks directive to nagios.cfg #44 (Trevor McDonald / Scott Wilkerson)
Promoted JSON CGIs to released status (Eric Stanley)
New graphical CGI displays: statusmap, trends, histogram (Eric Stanley)
httpd.conf doesn’t support Apache version > 2.3 (DanielB / John Frickson)
https://www.nagios.org/projects/nagios-core/history/4x/
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked