icinga-zones/infra03sat.infra.cacert.org/notifications.conf
Jan Dittberner c624514dcc First attempt to setup Matrix notifications
- define Matrix notification commands
- define time periods and CAcert admin user group
- define notification origins
- add beholder host checks on both infra02sat and infra03sat
2024-09-27 10:16:38 +02:00

19 lines
412 B
Text

/*
* vim: ft=icinga2 ts=2 sw=2 et si ai
*/
apply Notification "matrix-admins" to Host {
import "matrix-host-notification"
user_groups = [ "cacert-admins" ]
assign where host.vars.notification.from == "infra03sat"
}
apply Notification "matrix-admin" to Service {
import "matrix-service-notification"
user_groups = [ "cacert-admins" ]
assign where host.vars.notification.from == "infra03sat"
}