Skip to content
Snippets Groups Projects
Commit 40a8244e authored by void's avatar void
Browse files

notification groups

parent a62d7c7b
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,8 @@ ...@@ -10,6 +10,8 @@
apply Notification "Matrix host problems" to Host { apply Notification "Matrix host problems" to Host {
import "matrix-host-notification" import "matrix-host-notification"
user_groups = [ "icingaadmins" ]
vars.notification_matrix_server = "https://{{ matrix_notification_domain }}" vars.notification_matrix_server = "https://{{ matrix_notification_domain }}"
vars.notification_matrix_room_id = "{{ matrix_notification_room }}" vars.notification_matrix_room_id = "{{ matrix_notification_room }}"
vars.notification_matrix_token = "{{ matrix_notification_access_token }}" vars.notification_matrix_token = "{{ matrix_notification_access_token }}"
...@@ -20,7 +22,9 @@ apply Notification "Matrix host problems" to Host { ...@@ -20,7 +22,9 @@ apply Notification "Matrix host problems" to Host {
apply Notification "Matrix service problems" to Service { apply Notification "Matrix service problems" to Service {
import "matrix-service-notification" import "matrix-service-notification"
user_groups = [ "icingaadmins" ]
vars.notification_matrix_server = "https://{{ matrix_notification_domain }}" vars.notification_matrix_server = "https://{{ matrix_notification_domain }}"
vars.notification_matrix_room_id = "{{ matrix_notification_room }}" vars.notification_matrix_room_id = "{{ matrix_notification_room }}"
vars.notification_matrix_token = "{{ matrix_notification_access_token }}" vars.notification_matrix_token = "{{ matrix_notification_access_token }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment