I've got a bunch of hosts that have a "check_nrpe_service" check and a
"check_radar" check. I've defined a dependency as shown below. I do a
service icinga2 reload and the log file does not show any errors
pertaining to the dependency, which I assume means it loaded correctly
for all of the hosts that are running these services.

My understanding of this dependency is that if the check_nrpe_service
is Critical, then check_radar will not perform its scheduled checks.

apply Dependency "sre-2895a" to Service {
  parent_service_name = "check_nrpe_service"
  disable_checks = true
  disable_notifications = true
  assign where service.name == "check_radar"
  ignore where host.vars.host_type == "dummy"
}

However, if I disable xinetd, causing "check_nrpe_service" to be
Critical, "check_radar" continues to do its scheduled checks and also
becomes Critical. This means the Dependency is not working. Am I doing
something wrong or is there a bug?
-- 
---
Michael Martinez
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to