mirror of https://github.com/Icinga/icinga2.git
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:
parent
e8cee8d5e2
commit
2d455efcd8
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue