git-svn-id: svn://192.168.202.10@2888 3d104415-ff17-0410-8863-d5cf3c621b8a

This commit is contained in:
jamesp
2018-01-10 18:15:35 +00:00
parent ee3c5097e9
commit b5e1dc0374
55 changed files with 4266 additions and 0 deletions
@@ -0,0 +1,27 @@
/**
* The example notification apply rules.
*
* Only applied if host/service objects have
* the custom attribute `notification` defined
* and containing `mail` as key.
*
* Check `hosts.conf` for an example.
*/
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
}
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
}