From 8752299e612818d94a08058a23dcd46fa52fc7d5 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 2 Jan 2021 12:58:52 +0100 Subject: [PATCH] bundles/icinga2: add hostgroup for hosts which send SMS --- bundles/icinga2/files/icinga2/groups.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bundles/icinga2/files/icinga2/groups.conf b/bundles/icinga2/files/icinga2/groups.conf index 7b0ba72..8431c61 100644 --- a/bundles/icinga2/files/icinga2/groups.conf +++ b/bundles/icinga2/files/icinga2/groups.conf @@ -20,6 +20,12 @@ object ServiceGroup "checks_with_mail" { assign where service.vars.notification.mail == true } +object HostGroup "checks_with_sms" { + display_name = "Hosts which send SMS" + + assign where host.vars.notification.sms == true +} + object ServiceGroup "checks_with_sms" { display_name = "Checks which send SMS"