Have you already remove ignore where host.vars.host_type == "dummy ? El 7 abr. 2017 9:39, "Gerald Vogt" <v...@spamcop.net> escribió:
On 06.04.17 19:31, Michael Martinez wrote: > 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 > Are you sure, the "check_nrpe_service" is already in hard state when the dependent checks are running? -Gerald becomes Critical. This means the Dependency is not working. Am I doing > something wrong or is there a bug? > > _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users
_______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users