1 # Configuration for alarm notifications
3 # this configuration is used by: alarm-notify.sh
4 # changes take effect immendiately (the next alarm will use them).
6 # alarm-notify.sh can send:
8 # - push notifications to your mobile phone,
9 # - messages to your slack team
11 # the recipient given in netdata alarms defines a role, so that different
12 # people can be notified for each role.
14 # This file is a BASH script itself.
16 ###############################################################################
17 # external commands needed
19 # The full path to the sendmail command.
20 # If empty, the system $PATH will be searched for it.
21 # If not found, email notifications will be disabled.
24 # The full path of the curl command.
25 # If empty, the system $PATH will be searched for it.
26 # If not found, pushover and slack notifications will be disabled.
30 ###############################################################################
33 # note: multiple recipients can be given like this:
34 # "admin1@example.com admin2@example.com ..."
35 # note it needs a comma!
37 # enable/disable sending emails
40 # if a role recipient is not configured, an email will be send to:
41 DEFAULT_RECIPIENT_EMAIL="root"
44 ###############################################################################
45 # sending pushover notifications (pushover.net)
47 # note: multiple recipients can be given like this:
48 # "USERTOKEN1 USERTOKEN2 ..."
50 # enable/disable sending pushover notifications
53 # Login to pushover.net to get your pushover app token
54 # You need only one for all your netdata servers.
55 # Without it, netdata cannot send pushover notifications.
58 # if a role's recipients are not configured, a notification will be send to
59 # this pushover user token:
60 DEFAULT_RECIPIENT_PUSHOVER=""
63 ###############################################################################
64 # sending slack notifications
66 # note: multiple recipients can be given like this:
67 # "CHANNEL1 CHANNEL2 ..."
69 # enable/disable sending pushover notifications
72 # Login to slack.com and create an incoming webhook.
73 # You need only one for all your netdata servers.
74 # Without it, netdata cannot send slack notifications.
75 # Get yours from: https://api.slack.com/incoming-webhooks
78 # if a role's recipients are not configured, a notification will be send to
80 DEFAULT_RECIPIENT_SLACK=""
83 ###############################################################################
86 # -----------------------------------------------------------------------------
87 # generic system alarms
88 # CPU, disks, entropy, etc
90 role_recipients_email[sysadmin]="${DEFAULT_RECIPIENT_EMAIL}"
92 role_recipients_pushover[sysadmin]="${DEFAULT_RECIPIENT_PUSHOVER}"
94 role_recipients_slack[sysadmin]="${DEFAULT_RECIPIENT_SLACK}"
97 # -----------------------------------------------------------------------------
100 role_recipients_email[domainadmin]="${DEFAULT_RECIPIENT_EMAIL}"
102 role_recipients_pushover[domainadmin]="${DEFAULT_RECIPIENT_PUSHOVER}"
104 role_recipients_slack[domainadmin]="${DEFAULT_RECIPIENT_SLACK}"
107 # -----------------------------------------------------------------------------
108 # database servers alarms
109 # mysql, redis, memcached, etc
111 role_recipients_email[dba]="${DEFAULT_RECIPIENT_EMAIL}"
113 role_recipients_pushover[dba]="${DEFAULT_RECIPIENT_PUSHOVER}"
115 role_recipients_slack[dba]="${DEFAULT_RECIPIENT_SLACK}"
118 # -----------------------------------------------------------------------------
122 role_recipients_email[webmaster]="${DEFAULT_RECIPIENT_EMAIL}"
124 role_recipients_pushover[webmaster]="${DEFAULT_RECIPIENT_PUSHOVER}"
126 role_recipients_slack[webmaster]="${DEFAULT_RECIPIENT_SLACK}"
129 # -----------------------------------------------------------------------------
130 # proxy servers alarms
133 role_recipients_email[proxyadmin]="${DEFAULT_RECIPIENT_EMAIL}"
135 role_recipients_pushover[proxyadmin]="${DEFAULT_RECIPIENT_PUSHOVER}"
137 role_recipients_slack[proxyadmin]="${DEFAULT_RECIPIENT_SLACK}"