@cryptotaxi247 / netdata-1 / commits / 1219a0a32

Added RocketChat default recipient for roles (#5545)

* Added rocketchat to method-list * Added role to default_recipient_rocketchat mapping * Updated to role_recipients_rocketchat

tctovsli committed Apr 1, 2019 at 19:40 UTC 1219a0a324e1be20d34b6e48af4799f906d0a395
1 file changed +16 -1
health/notifications/health_alarm_notify.conf
+16 -1
@@ -19,7 +19,8 @@
19 # - notifications to Amazon SNS topics (aws.amazon.com)
20 # - messages to your irc channel on your selected network
21 # - messages to a local or remote syslog daemon
22 -# - message to Microsoft Team (thru webhook)
22 +# - message to Microsoft Team (through webhook)
23 +# - message to Rocket.Chat (through webhook)
24 #
25 # The 'to' line given at netdata alarms defines a *role*, so that many
26 # people can be notified for each role.
@@ -823,6 +824,8 @@ role_recipients_custom[sysadmin]="${DEFAULT_RECIPIENT_CUSTOM}"
824
825 role_recipients_msteam[sysadmin]="${DEFAULT_RECIPIENT_MSTEAM}"
826
827 +role_recipients_rocketchat[sysadmin]="${DEFAULT_RECIPIENT_ROCKETCHAT}"
828 +
829 # -----------------------------------------------------------------------------
830 # DNS related alarms
831
@@ -866,6 +869,8 @@ role_recipients_custom[domainadmin]="${DEFAULT_RECIPIENT_CUSTOM}"
869
870 role_recipients_msteam[domainadmin]="${DEFAULT_RECIPIENT_MSTEAM}"
871
872 +role_recipients_rocketchat[domainadmin]="${DEFAULT_RECIPIENT_ROCKETCHAT}"
873 +
874 role_recipients_sms[domainadmin]="${DEFAULT_RECIPIENT_SMS}"
875
876 # -----------------------------------------------------------------------------
@@ -912,6 +917,8 @@ role_recipients_custom[dba]="${DEFAULT_RECIPIENT_CUSTOM}"
917
918 role_recipients_msteam[dba]="${DEFAULT_RECIPIENT_MSTEAM}"
919
920 +role_recipients_rocketchat[dba]="${DEFAULT_RECIPIENT_ROCKETCHAT}"
921 +
922 role_recipients_sms[dba]="${DEFAULT_RECIPIENT_SMS}"
923
924 # -----------------------------------------------------------------------------
@@ -958,6 +965,8 @@ role_recipients_custom[webmaster]="${DEFAULT_RECIPIENT_CUSTOM}"
965
966 role_recipients_msteam[webmaster]="${DEFAULT_RECIPIENT_MSTEAM}"
967
968 +role_recipients_rocketchat[webmaster]="${DEFAULT_RECIPIENT_ROCKETCHAT}"
969 +
970 role_recipients_sms[webmaster]="${DEFAULT_RECIPIENT_SMS}"
971
972 # -----------------------------------------------------------------------------
@@ -1004,8 +1013,11 @@ role_recipients_custom[proxyadmin]="${DEFAULT_RECIPIENT_CUSTOM}"
1013
1014 role_recipients_msteam[proxyadmin]="${DEFAULT_RECIPIENT_MSTEAM}"
1015
1016 +role_recipients_rocketchat[proxyadmin]="${DEFAULT_RECIPIENT_ROCKETCHAT}"
1017 +
1018 role_recipients_sms[proxyadmin]="${DEFAULT_RECIPIENT_SMS}"
1019
1020 +
1021 # -----------------------------------------------------------------------------
1022 # peripheral devices
1023 # UPS, photovoltaics, etc
@@ -1048,4 +1060,7 @@ role_recipients_custom[sitemgr]="${DEFAULT_RECIPIENT_CUSTOM}"
1060
1061 role_recipients_msteam[sitemgr]="${DEFAULT_RECIPIENT_MSTEAM}"
1062
1063 +role_recipients_rocketchat[sitemgr]="${DEFAULT_RECIPIENT_ROCKETCHAT}"
1064 +
1065 role_recipients_sms[sitemgr]="${DEFAULT_RECIPIENT_SMS}"
1066 +