diff options
author | tctovsli <Tctovsli@gmail.com> | 2019-04-01 19:40:40 +0200 |
---|---|---|
committer | Chris Akritidis <43294513+cakrit@users.noreply.github.com> | 2019-04-01 19:40:40 +0200 |
commit | 1219a0a324e1be20d34b6e48af4799f906d0a395 (patch) | |
tree | c671c72540d1796a2f4eb44d084a4a403088c31c /health | |
parent | 7ee504dfbee40c0e85cc769da308efd51ece3e42 (diff) |
Added RocketChat default recipient for roles (#5545)
* Added rocketchat to method-list
* Added role to default_recipient_rocketchat mapping
* Updated to role_recipients_rocketchat
Diffstat (limited to 'health')
-rwxr-xr-x | health/notifications/health_alarm_notify.conf | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/health/notifications/health_alarm_notify.conf b/health/notifications/health_alarm_notify.conf index 551b963f70..56b0a28440 100755 --- a/health/notifications/health_alarm_notify.conf +++ b/health/notifications/health_alarm_notify.conf @@ -19,7 +19,8 @@ # - notifications to Amazon SNS topics (aws.amazon.com) # - messages to your irc channel on your selected network # - messages to a local or remote syslog daemon -# - message to Microsoft Team (thru webhook) +# - message to Microsoft Team (through webhook) +# - message to Rocket.Chat (through webhook) # # The 'to' line given at netdata alarms defines a *role*, so that many # people can be notified for each role. @@ -823,6 +824,8 @@ role_recipients_custom[sysadmin]="${DEFAULT_RECIPIENT_CUSTOM}" role_recipients_msteam[sysadmin]="${DEFAULT_RECIPIENT_MSTEAM}" +role_recipients_rocketchat[sysadmin]="${DEFAULT_RECIPIENT_ROCKETCHAT}" + # ----------------------------------------------------------------------------- # DNS related alarms @@ -866,6 +869,8 @@ role_recipients_custom[domainadmin]="${DEFAULT_RECIPIENT_CUSTOM}" role_recipients_msteam[domainadmin]="${DEFAULT_RECIPIENT_MSTEAM}" +role_recipients_rocketchat[domainadmin]="${DEFAULT_RECIPIENT_ROCKETCHAT}" + role_recipients_sms[domainadmin]="${DEFAULT_RECIPIENT_SMS}" # ----------------------------------------------------------------------------- @@ -912,6 +917,8 @@ role_recipients_custom[dba]="${DEFAULT_RECIPIENT_CUSTOM}" role_recipients_msteam[dba]="${DEFAULT_RECIPIENT_MSTEAM}" +role_recipients_rocketchat[dba]="${DEFAULT_RECIPIENT_ROCKETCHAT}" + role_recipients_sms[dba]="${DEFAULT_RECIPIENT_SMS}" # ----------------------------------------------------------------------------- @@ -958,6 +965,8 @@ role_recipients_custom[webmaster]="${DEFAULT_RECIPIENT_CUSTOM}" role_recipients_msteam[webmaster]="${DEFAULT_RECIPIENT_MSTEAM}" +role_recipients_rocketchat[webmaster]="${DEFAULT_RECIPIENT_ROCKETCHAT}" + role_recipients_sms[webmaster]="${DEFAULT_RECIPIENT_SMS}" # ----------------------------------------------------------------------------- @@ -1004,8 +1013,11 @@ role_recipients_custom[proxyadmin]="${DEFAULT_RECIPIENT_CUSTOM}" role_recipients_msteam[proxyadmin]="${DEFAULT_RECIPIENT_MSTEAM}" +role_recipients_rocketchat[proxyadmin]="${DEFAULT_RECIPIENT_ROCKETCHAT}" + role_recipients_sms[proxyadmin]="${DEFAULT_RECIPIENT_SMS}" + # ----------------------------------------------------------------------------- # peripheral devices # UPS, photovoltaics, etc @@ -1048,4 +1060,7 @@ role_recipients_custom[sitemgr]="${DEFAULT_RECIPIENT_CUSTOM}" role_recipients_msteam[sitemgr]="${DEFAULT_RECIPIENT_MSTEAM}" +role_recipients_rocketchat[sitemgr]="${DEFAULT_RECIPIENT_ROCKETCHAT}" + role_recipients_sms[sitemgr]="${DEFAULT_RECIPIENT_SMS}" + |