Hi!
I have main service "NRPE/main" and other dependencies for example: NRPE/ping
I want check NRPE/main and if it is not working do not check other NRPE services.
Is it correct configuration?
define servicedependency {
host_name digit
service_description NRPE/main
dependent_host_name digit
dependent_service_description NRPE/check_rbl,NRPE/git/etc,NRPE/ping,NRPE/roles,NRPE/ssh
execution_failure_criteria o
notification_failure_criteria w,u,c
}
I am asking because if I have got this definition. my checks "RPE/check_rbl,NRPE/git/etc,NRPE/ping,NRPE/roles,NRPE/ssh" don't checking automatically.
Services dependient from main service
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Services dependient from main service
Hello, @debek. That's because you put execution_failure_criteria o. This means if the NRPE/main service is OK don't check any dependent services. You need to change it to: execution_failure_criteria w,u,c.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.