Service Dependency

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nms
Posts: 222
Joined: Wed Sep 28, 2016 9:35 am

Service Dependency

Post by nms »

To whom it may concern,

We have made some tests on the service dependencies. The scenario is that all the services of the host are dependent on one service which is the ping. It connects to the server via ssh. We want to achieve the goal that when the server is down, the other services wouldn't be executed.

Also, is it possible that the services are dependent on the host rather on a particular service?

Can you kindly help us with the above?


Best Regards,
James
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Service Dependency

Post by benjaminsmith »

Hi James,
Also, is it possible that the services are dependent on the host rather on a particular service?
One thing to remember is that in Nagios all services are associated with a host, so when you create a service dependency where one service is dependent upon another service you also have to include the hosts as well in the definition. In short, every service definition requires the host/service and the dependent host / dependent service.

However, there is the option to disable service checks when the host is down on a global basis in the nagios configuration file /usr/local/nagios/etc/nagios.cfg.

Code: Select all

host_down_disable_service_checks=1
Please see: Nagios XI - Service Dependencies

Let me know if you have any other questions.
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