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
Service Dependency
Service Dependency
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
Hi James,
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.
Please see: Nagios XI - Service Dependencies
Let me know if you have any other questions.
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.Also, is it possible that the services are dependent on the host rather on a particular 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
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!