Service notifications on problem hosts

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
wezelboy
Posts: 13
Joined: Tue Feb 26, 2013 1:34 pm

Service notifications on problem hosts

Post by wezelboy »

Hi-

I'd like a clarification on notification filter logic.

If a host goes down and a host down notification gets sent out, will all service notifications for services on that host be suppressed?

Thanks in advance!

-P
stijnB
Posts: 3
Joined: Thu Mar 14, 2013 4:44 am

Re: Service notifications on problem hosts

Post by stijnB »

as far as I understand it will

kind regards
Stijn
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Service notifications on problem hosts

Post by slansing »

Yes they will be suppressed as the Host for the Services is unreachable. You were correct stijnB.
wezelboy
Posts: 13
Joined: Tue Feb 26, 2013 1:34 pm

Re: Service notifications on problem hosts

Post by wezelboy »

Is there a simple way to change this behavior, other than tinkering with notification intervals?

Thanks!

-P
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Service notifications on problem hosts

Post by sreinhardt »

Probably the best and possibly only way to do this would be this:

set host check to "check-dummy 0"
create a ping service check, if you still wish to have an uptime esque graph.
if you wish services to go down when host is down, set all services except ping, to be dependent on ping check.
Otherwise regardless of the host state, as it will never change, the service checks will still go through.

Does that make sense for what you are attempting to do?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
wezelboy
Posts: 13
Joined: Tue Feb 26, 2013 1:34 pm

Re: Service notifications on problem hosts

Post by wezelboy »

Yes, that makes perfect sense.

Thanks!

-P
Locked