How to enable the dependency for Nagios Services

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
surmeena
Posts: 9
Joined: Thu May 30, 2019 11:33 pm

How to enable the dependency for Nagios Services

Post by surmeena »

Hi,

How to enable the dependency for Services on other services.

For Ex,
We have configured the PING, Tomcat and Httpd services availability, if the PING is not working no need to check for rest of the Tomcat and Httpd services.

Now we are getting 3 alerts (for each separately ), we need to enable the dependency for tomcat and httpd services with PING.
If PING is succeed then only Tomcat and Httpd services should check.

Please let us know how we can achieve this.

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

Re: How to enable the dependency for Nagios Services

Post by eloyd »

Read this (https://assets.nagios.com/downloads/nag ... ncies.html) to understand it, then use service dependencies in the CCM. Your master service will be the Ping check and the rest will be your dependent service. Set the execution failure criteria to be CRITICAL, and the dependent services will only check if the master is not in the CRITICAL state.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: How to enable the dependency for Nagios Services

Post by mbellerue »

Thanks for chiming in, Eric!

Suresh, dependencies are definitely the way to go for what you've described. Have a look at the link Eric posted, and if you run into any problems, we'll be happy to help.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
surmeena
Posts: 9
Joined: Thu May 30, 2019 11:33 pm

Re: How to enable the dependency for Nagios Services

Post by surmeena »

Thank you for sharing the details mbellerue and eloyd.

We will test and update you.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: How to enable the dependency for Nagios Services

Post by benjaminsmith »

We will test and update you.
Sounds good. We'll wait for an update.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked