Dependent Services and Scheduled Downtime

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
CatalystX
Posts: 12
Joined: Tue Mar 31, 2015 2:03 pm

Dependent Services and Scheduled Downtime

Post by CatalystX »

If we create a Dependent Service definition relying on a single host, and have services on other hosts relying on that service, and set that host and all of its services in Scheduled Downtime, will XI stop alerting on all dependent services?

e.g.
  • webserver.host
    • database.host
      • OracleInstance.service
      • OracleBackups.service
    • Firewall.host
      • PublicURL.service
      • PrivateURL.service
... and we mark "webserver.host" in Scheduled Downtime, will it still alert if 'PrivateURL.service" goes down?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Dependent Services and Scheduled Downtime

Post by lmiltchev »

If we create a Dependent Service definition relying on a single host, and have services on other hosts relying on that service...
Service dependencies will work - you can make some services dependent on another service, however you cannot make a service dependent on a host. If you try, you will get an error:
example01.PNG
Perhaps, you can make the the ping service on the "Firewall.host" dependent on the ping service on the "webserver.host", then make "PrivateURL.service" on the "Firewall.host" dependent on the ping service on the same host. I know it sounds complicated. :)
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
CatalystX
Posts: 12
Joined: Tue Mar 31, 2015 2:03 pm

Re: Dependent Services and Scheduled Downtime

Post by CatalystX »

Ok, yes, but, the question is, still, if we mark the service at the top in Scheduled Downtime, will it drop alerting for its dependents?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Dependent Services and Scheduled Downtime

Post by Box293 »

I don't believe so.

The reasoning I have behind this is that dependencies are triggered by the state of the service for which they are being depended upon.

For example:

Code: Select all

notification_failure_criteria 		w,u,c,p,
If the service being depended upon is in scheduled downtime, but the the service remains in an OK state, then the dependency does not take affect as it only applies to the defined states, like w,u,c,p.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked