Service dependent on host?
Service dependent on host?
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
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?
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
Re: Service dependent on host?
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 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
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Service dependent on host?
Or set max_check_attempts to something like 5
Re: Service dependent on host?
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?
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?
What version of XI are you running?
Re: Service dependent on host?
Thank you, "Is Volatile" is set to off
Some system info:
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.36scottwilkerson 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?
There were a few bugs in versions prior to 5.5.3 that could be related to this as well causing additional unexpected notifications.
Re: Service dependent on host?
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?
No problemrkane 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.