Host Check status disables service checks?

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.
Locked
Quintest
Posts: 2
Joined: Fri Sep 05, 2014 10:09 am

Host Check status disables service checks?

Post by Quintest »

Hi All,

I'll not bore you with my excuses but let it be said that I'm definitely a nagios novice.

We've have a recently installed nagios Core instance (3.5.0) on Freebsd 9.2 which was built to replace a much older version, a number of config files were migrated across to make the migration easier...

Nagios appears to be monitoring the correct hosts/services and notifications all work correctly (email and SMS). We've had no problems until it was recently noticed that we weren't always receiving service notifications when a host failed. Service checks/notifications work fine when the host check is still ok. It appears that when the Host check goes critical (HARD or SOFT) Service checks for that host stop processing. This actually seems quite sensible but as it wasn't the the case in the original nagios instance the actions based on failed service checks are no longer firing off. I've also failed miserably to find documentation that refers to this function.

So I suppose the question is:
Is there a global option that would allow service checks to continue regardless of the host check status?

Thanks

Quin
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Host Check status disables service checks?

Post by eloyd »

This has been the way Nagios works since I can remember (going back to Nagios 1.3). I know of no way to notify that services on a downed host are not working, but then I've never looked, either.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Host Check status disables service checks?

Post by tmcdonald »

Honestly I would just set the host check to check_dummy and make it always OK, then make a service for the real state of the host. That way if you later want the services to stop checking based on the host's state, you can use dependencies to do so.
Former Nagios employee
Quintest
Posts: 2
Joined: Fri Sep 05, 2014 10:09 am

Re: Host Check status disables service checks?

Post by Quintest »

Thanks for the replies, I suspected that it was operating correctly and that the previous nagios admin had managed to 'bodge' it to do what he wanted.

Good suggestion on the use of a dummy check, that will server as a good temporary measure at least until I get round to rearranging the way the service checks work.

Many thanks for you input.

Quin
Locked