Regarding Logging of state in alerts at every rechecks

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Regarding Logging of state in alerts at every rechecks

Post by scottwilkerson »

shubham wrote:i read on internet is that if the service and host is both down in nagios
by logically nagios won't check the service as it knows when the host down is down
Actually this is wrong. If the host is down the service will not send a notification, but by default it will still perform the check.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Regarding Logging of state in alerts at every rechecks

Post by npolovenko »

@shubham, In addition to what Scott said, I'd like to point out that if you're still seeing the behavior where services would stop getting checked when the host is down, I recommend checking the /usr/local/nagios/etc/nagios.cfg file and making sure that this option is set to 0.
host_down_disable_service_checks=1
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked