Make default notifications include users from host.vars.notification.mail.users

fixes #8830

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
This commit is contained in:
Louis Sautier 2015-03-20 14:57:30 +01:00 committed by Gunnar Beutner
parent e8cee8d5e2
commit 2d455efcd8
2 changed files with 4 additions and 0 deletions

View File

@ -482,6 +482,7 @@ implicitely use the`icingaadmins` UserGroup defined in [users.conf](5-configurin
import "mail-host-notification" import "mail-host-notification"
user_groups = host.vars.notification.mail.groups user_groups = host.vars.notification.mail.groups
users = host.vars.notification.mail.users
assign where host.vars.notification.mail 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" import "mail-service-notification"
user_groups = host.vars.notification.mail.groups user_groups = host.vars.notification.mail.groups
users = host.vars.notification.mail.users
assign where host.vars.notification.mail assign where host.vars.notification.mail
} }

View File

@ -12,6 +12,7 @@ apply Notification "mail-icingaadmin" to Host {
import "mail-host-notification" import "mail-host-notification"
user_groups = host.vars.notification.mail.groups user_groups = host.vars.notification.mail.groups
users = host.vars.notification.mail.users
assign where host.vars.notification.mail assign where host.vars.notification.mail
} }
@ -20,6 +21,7 @@ apply Notification "mail-icingaadmin" to Service {
import "mail-service-notification" import "mail-service-notification"
user_groups = host.vars.notification.mail.groups user_groups = host.vars.notification.mail.groups
users = host.vars.notification.mail.users
assign where host.vars.notification.mail assign where host.vars.notification.mail
} }