From 40a8244e0d7fdcddd4fdcfafabdabb57d40c42f9 Mon Sep 17 00:00:00 2001 From: Christian Elberfeld <elberfeld@web.de> Date: Wed, 10 May 2023 10:20:43 +0200 Subject: [PATCH] notification groups --- .../templates/etc/icinga/conf.d/notifications.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webserver/docker_icinga/templates/etc/icinga/conf.d/notifications.conf b/webserver/docker_icinga/templates/etc/icinga/conf.d/notifications.conf index bab5c7bf..31194cae 100644 --- a/webserver/docker_icinga/templates/etc/icinga/conf.d/notifications.conf +++ b/webserver/docker_icinga/templates/etc/icinga/conf.d/notifications.conf @@ -10,6 +10,8 @@ apply Notification "Matrix host problems" to Host { import "matrix-host-notification" + user_groups = [ "icingaadmins" ] + vars.notification_matrix_server = "https://{{ matrix_notification_domain }}" vars.notification_matrix_room_id = "{{ matrix_notification_room }}" vars.notification_matrix_token = "{{ matrix_notification_access_token }}" @@ -20,7 +22,9 @@ apply Notification "Matrix host problems" to Host { apply Notification "Matrix service problems" to Service { import "matrix-service-notification" - + + user_groups = [ "icingaadmins" ] + vars.notification_matrix_server = "https://{{ matrix_notification_domain }}" vars.notification_matrix_room_id = "{{ matrix_notification_room }}" vars.notification_matrix_token = "{{ matrix_notification_access_token }}" -- GitLab