diff --git a/doc/5-configuring-icinga-2.md b/doc/5-configuring-icinga-2.md index 054d23cf2..094ea40ee 100644 --- a/doc/5-configuring-icinga-2.md +++ b/doc/5-configuring-icinga-2.md @@ -482,6 +482,7 @@ implicitely use the`icingaadmins` UserGroup defined in [users.conf](5-configurin import "mail-host-notification" user_groups = host.vars.notification.mail.groups + users = host.vars.notification.mail.users assign where host.vars.notification.mail } @@ -490,6 +491,7 @@ implicitely use the`icingaadmins` UserGroup defined in [users.conf](5-configurin import "mail-service-notification" user_groups = host.vars.notification.mail.groups + users = host.vars.notification.mail.users assign where host.vars.notification.mail } diff --git a/etc/icinga2/conf.d/notifications.conf b/etc/icinga2/conf.d/notifications.conf index fd3af7318..73f0f5f66 100644 --- a/etc/icinga2/conf.d/notifications.conf +++ b/etc/icinga2/conf.d/notifications.conf @@ -12,6 +12,7 @@ apply Notification "mail-icingaadmin" to Host { import "mail-host-notification" user_groups = host.vars.notification.mail.groups + users = host.vars.notification.mail.users assign where host.vars.notification.mail } @@ -20,6 +21,7 @@ apply Notification "mail-icingaadmin" to Service { import "mail-service-notification" user_groups = host.vars.notification.mail.groups + users = host.vars.notification.mail.users assign where host.vars.notification.mail }