diff --git a/bundles/icinga2/files/icinga2/hosts_template.conf b/bundles/icinga2/files/icinga2/hosts_template.conf index 794d430..645fa27 100644 --- a/bundles/icinga2/files/icinga2/hosts_template.conf +++ b/bundles/icinga2/files/icinga2/hosts_template.conf @@ -47,7 +47,7 @@ object Service "${service}" { % endif % endfor vars.bundle = "${bundle}" - vars.notification.sms = ${str((config.get('vars.notification.sms', False) and rnode.metadata.get('icinga_options/vars.notification.sms', True))).lower()} + vars.notification.sms = ${str(config.get('vars.notification.sms', False)).lower()} vars.notification.mail = ${str(config.get('vars.notification.mail', False)).lower()} } % endfor