@cryptotaxi247 / netdata-1 / commits / f4180ae70

Update health_alarm_notify.conf

Added messagebird.com SMS config options

tech-no-logical committed Jan 10, 2017 at 16:37 UTC f4180ae70482eb4f2257d97b6bcfc5a2b79cc509
1 file changed +32 -6
conf.d/health_alarm_notify.conf
+32 -6
@@ -9,6 +9,7 @@
9 # - messages to your slack team (slack.com),
10 # - messages to your telegram chat / group chat (telegram.org)
11 # - sms messages to your cell phone or any sms enabled device (twilio.com)
12 +# - sms messages to your cell phone or any sms enabled device (messagebird.com)
13 # - notifications to users on pagerduty.com
14 #
15 # The 'to' line given at netdata alarms defines a *role*, so that many
@@ -70,12 +71,13 @@ curl=""
71 # In these examples, the first recipient receives all the alarms
72 # while the second one receives only the critical ones:
73 #
73 -# email : "user1@example.com user2@example.com|critical"
74 -# pushover: "2987343...9437837 8756278...2362736|critical"
75 -# telegram: "111827421 112746832|critical"
76 -# slack : "alarms disasters|critical"
77 -# twilio : "+15555555555 +17777777777|critical"
78 -# pd : "<pd_service_key_1> <pd_service_key_2>|critical"
74 +# email : "user1@example.com user2@example.com|critical"
75 +# pushover : "2987343...9437837 8756278...2362736|critical"
76 +# telegram : "111827421 112746832|critical"
77 +# slack : "alarms disasters|critical"
78 +# twilio : "+15555555555 +17777777777|critical"
79 +# messagebird: "+15555555555 +17777777777|critical"
80 +# pd : "<pd_service_key_1> <pd_service_key_2>|critical"
81 #
82 # If a recipient is set to empty string, the default recipient of the given
83 # notification method (email, pushover, telegram, slack, pd) will be used.
@@ -160,6 +162,20 @@ TWILIO_ACCOUNT_TOKEN=""
162 TWILIO_NUMBER=""
163 DEFAULT_RECIPIENT_TWILIO=""
164
165 +#------------------------------------------------------------------------------
166 +# Messagebird (messagebird.com) SMS options
167 +
168 +# multiple recipients can be given like this:
169 +# "+15555555555 +17777777777"
170 +
171 +# enable/disable sending messagebird SMS
172 +SEND_MESSAGEBIRD="YES"
173 +
174 +# Without an access key, netdata cannot send Messagebird text messages.
175 +MESSAGEBIRD_ACCESS_KEY=""
176 +MESSAGEBIRD_NUMBER=""
177 +DEFAULT_RECIPIENT_MESSAGEBIRD=""
178 +
179 #------------------------------------------------------------------------------
180 # telegram (telegram.org) global notification options
181
@@ -253,6 +269,8 @@ role_recipients_slack[sysadmin]="${DEFAULT_RECIPIENT_SLACK}"
269
270 role_recipients_twilio[sysadmin]="${DEFAULT_RECIPIENT_TWILIO}"
271
272 +role_recipients_messagebird[sysadmin]="${DEFAULT_RECIPIENT_MESSAGEBIRD}"
273 +
274 role_recipients_pd[sysadmin]="${DEFAULT_RECIPIENT_PD}"
275
276 # -----------------------------------------------------------------------------
@@ -270,6 +288,8 @@ role_recipients_slack[domainadmin]="${DEFAULT_RECIPIENT_SLACK}"
288
289 role_recipients_twilio[domainadmin]="${DEFAULT_RECIPIENT_TWILIO}"
290
291 +role_recipients_messagebird[domainadmin]="${DEFAULT_RECIPIENT_MESSAGEBIRD}"
292 +
293 role_recipients_pd[domainadmin]="${DEFAULT_RECIPIENT_PD}"
294
295 # -----------------------------------------------------------------------------
@@ -288,6 +308,8 @@ role_recipients_slack[dba]="${DEFAULT_RECIPIENT_SLACK}"
308
309 role_recipients_twilio[dba]="${DEFAULT_RECIPIENT_TWILIO}"
310
311 +role_recipients_messagebird[dba]="${DEFAULT_RECIPIENT_MESSAGEBIRD}"
312 +
313 role_recipients_pd[dba]="${DEFAULT_RECIPIENT_PD}"
314
315 # -----------------------------------------------------------------------------
@@ -306,6 +328,8 @@ role_recipients_slack[webmaster]="${DEFAULT_RECIPIENT_SLACK}"
328
329 role_recipients_twilio[webmaster]="${DEFAULT_RECIPIENT_TWILIO}"
330
331 +role_recipients_messagebird[webmaster]="${DEFAULT_RECIPIENT_MESSAGEBIRD}"
332 +
333 role_recipients_pd[webmaster]="${DEFAULT_RECIPIENT_PD}"
334
335 # -----------------------------------------------------------------------------
@@ -324,4 +348,6 @@ role_recipients_slack[proxyadmin]="${DEFAULT_RECIPIENT_SLACK}"
348
349 role_recipients_twilio[proxyadmin]="${DEFAULT_RECIPIENT_TWILIO}"
350
351 +role_recipients_messagebird[proxyadmin]="${DEFAULT_RECIPIENT_MESSAGEBIRD}"
352 +
353 role_recipients_pd[proxyadmin]="${DEFAULT_RECIPIENT_PD}"