You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
741 B
27 lines
741 B
apply Notification "mail-icingaadmin" to Host {
|
|
import "mail-host-notification"
|
|
user_groups = host.vars.notification.mail.groups
|
|
users = host.vars.notification.mail.users
|
|
|
|
interval = 0
|
|
|
|
types = [ Custom, Acknowledgement, Problem, Recovery, FlappingStart, FlappingEnd ]
|
|
|
|
//vars.notification_logtosyslog = true
|
|
|
|
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
|
|
|
|
interval = 0
|
|
|
|
types = [ Custom, Acknowledgement, Problem, Recovery, FlappingStart, FlappingEnd ]
|
|
|
|
//vars.notification_logtosyslog = true
|
|
|
|
assign where host.vars.notification.mail
|
|
}
|
|
|