Service dependent on host?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
rkane
Posts: 114
Joined: Wed Aug 15, 2018 3:56 pm

Service dependent on host?

Post by rkane »

I am looking to create a dependency that works in the attached architecture

Services are applied at the Host Group level. I would like to set up a dependency that says "If any hosts in this host group are down, do not notify on their associated service(s)"

EX - Host1 is down / Host2 is up, service A,B,C on Host1 do not notify though service A,B,C on Host2 do
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Service dependent on host?

Post by scottwilkerson »

By default all services do not notify if their own host is down. This is the default behavior, so there is nothing extra to setup
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
rkane
Posts: 114
Joined: Wed Aug 15, 2018 3:56 pm

Re: Service dependent on host?

Post by rkane »

scottwilkerson wrote:By default all services do not notify if their own host is down. This is the default behavior, so there is nothing extra to setup
Interesting...I must have some settings messed up then as I'm getting a number of "service unknown" emails before i get the "host down" email. Maybe I need to set a delay on the first service notification?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Service dependent on host?

Post by scottwilkerson »

Or set max_check_attempts to something like 5
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
rkane
Posts: 114
Joined: Wed Aug 15, 2018 3:56 pm

Re: Service dependent on host?

Post by rkane »

All hosts and services were at the default 5/1/5 for checks...going to try 5/1/6 for all services
scottwilkerson wrote:Or set max_check_attempts to something like 5
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Service dependent on host?

Post by scottwilkerson »

You will want to also make sure "Is Volatile" is set to Off or skip in the CCM.

What version of XI are you running?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
rkane
Posts: 114
Joined: Wed Aug 15, 2018 3:56 pm

Re: Service dependent on host?

Post by rkane »

Thank you, "Is Volatile" is set to off
Some system info:

Code: Select all

Nagios XI version: 5.5.2
XI installed from: source
Release info: <url> 3.10.0-862.11.6.el7.x86_64 x86_64
Red Hat Enterprise Linux Server release 7.5 (Maipo)
Gnome Installed
Apache Information
PHP Version: 5.4.16
Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
scottwilkerson wrote:You will want to also make sure "Is Volatile" is set to Off or skip in the CCM.

What version of XI are you running?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Service dependent on host?

Post by scottwilkerson »

There were a few bugs in versions prior to 5.5.3 that could be related to this as well causing additional unexpected notifications.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
rkane
Posts: 114
Joined: Wed Aug 15, 2018 3:56 pm

Re: Service dependent on host?

Post by rkane »

Good to know - appreciate it!
scottwilkerson wrote:There were a few bugs in versions prior to 5.5.3 that could be related to this as well causing additional unexpected notifications.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Service dependent on host?

Post by scottwilkerson »

rkane wrote:Good to know - appreciate it!
scottwilkerson wrote:There were a few bugs in versions prior to 5.5.3 that could be related to this as well causing additional unexpected notifications.
No problem
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked