summaryrefslogtreecommitdiffstats
path: root/conf.d
diff options
context:
space:
mode:
authorGuillaume Hospital <guillaumeh_bib_com>2018-07-10 13:32:35 +0200
committerGuillaume Hospital <guillaumeh_bib_com>2018-07-10 13:32:35 +0200
commit25a42b1b3c16241a044a68291767ed36ec0583f3 (patch)
treef4dea99bff22c17c327287296e652fa3d932724d /conf.d
parent3fa750306772e3d5f0b0e43d4c1a764b5ec3f383 (diff)
adding better channel integration based on @ktsaou advices
Diffstat (limited to 'conf.d')
-rwxr-xr-xconf.d/health_alarm_notify.conf7
1 files changed, 5 insertions, 2 deletions
diff --git a/conf.d/health_alarm_notify.conf b/conf.d/health_alarm_notify.conf
index 58c09bad59..890b189930 100755
--- a/conf.d/health_alarm_notify.conf
+++ b/conf.d/health_alarm_notify.conf
@@ -343,13 +343,16 @@ DEFAULT_RECIPIENT_SLACK=""
# enable/disable sending team notifications
SEND_MSTEAM="YES"
-MSTEAM_WEBHOOK_URL=""
-
# if a role's recipients are not configured, a notification will be send to
# this slack channel (empty = do not send a notification for unconfigured
# roles):
# For team the channel name is encoded in the URI after ....IncomingWebhook/___/.....
+# This value will be replaced in the webhook value to publish to several channels in a same Team.
+# In order to get it working properly, you have to replace the value between [] ....IncomingWebhook/[___]/..... by "CHANNEL" string.
DEFAULT_RECIPIENT_MSTEAM=""
+# Based on the way MS Teams is working, put the differents channels here like : "CHANNEL1 CHANNEL2 ..."
+# AT LEAST ONE CHANNEL IS MANDATORY
+MSTEAM_WEBHOOK_URL=""
# Define the default color scheme for alert to MS Team - icon and color
# Icons - go to https://emojipedia.org/bomb/