From b62576eeee00a48cc038e5f54a3585cd4c48b906 Mon Sep 17 00:00:00 2001 From: Vladimir Vitkov <5081863+zeridon@users.noreply.github.com> Date: Tue, 29 Oct 2019 05:52:23 +0200 Subject: [PATCH] dependencies support --- monitoring/icinga2/conf.d/dependencies.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 monitoring/icinga2/conf.d/dependencies.conf diff --git a/monitoring/icinga2/conf.d/dependencies.conf b/monitoring/icinga2/conf.d/dependencies.conf new file mode 100644 index 0000000..e6c6b5b --- /dev/null +++ b/monitoring/icinga2/conf.d/dependencies.conf @@ -0,0 +1,12 @@ +apply Dependency "disable-host-service-checks" to Service { + disable_checks = true + assign where true +} + +apply Dependency "host-depends-on-host" to Host { + parent_host_name = host.vars.parent + disable_checks = true + disable_notifications = true + + assign where host.vars.parent +}