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.
77 # if a role's recipients are not configured, a notification will be send to
79 DEFAULT_RECIPIENT_SLACK=""
82 ###############################################################################
85 # -----------------------------------------------------------------------------
86 # generic system alarms
87 # CPU, disks, entropy, etc
89 role_recipients_email[sysadmin]="${DEFAULT_RECIPIENT_EMAIL}"
91 role_recipients_pushover[sysadmin]="${DEFAULT_RECIPIENT_PUSHOVER}"
93 role_recipients_slack[sysadmin]="${DEFAULT_RECIPIENT_SLACK}"
96 # -----------------------------------------------------------------------------
99 role_recipients_email[domainadmin]="${DEFAULT_RECIPIENT_EMAIL}"
101 role_recipients_pushover[domainadmin]="${DEFAULT_RECIPIENT_PUSHOVER}"
103 role_recipients_slack[domainadmin]="${DEFAULT_RECIPIENT_SLACK}"
106 # -----------------------------------------------------------------------------
107 # database servers alarms
108 # mysql, redis, memcached, etc
110 role_recipients_email[dba]="${DEFAULT_RECIPIENT_EMAIL}"
112 role_recipients_pushover[dba]="${DEFAULT_RECIPIENT_PUSHOVER}"
114 role_recipients_slack[dba]="${DEFAULT_RECIPIENT_SLACK}"
117 # -----------------------------------------------------------------------------
121 role_recipients_email[webmaster]="${DEFAULT_RECIPIENT_EMAIL}"
123 role_recipients_pushover[webmaster]="${DEFAULT_RECIPIENT_PUSHOVER}"
125 role_recipients_slack[webmaster]="${DEFAULT_RECIPIENT_SLACK}"
128 # -----------------------------------------------------------------------------
129 # proxy servers alarms
132 role_recipients_email[proxyadmin]="${DEFAULT_RECIPIENT_EMAIL}"
134 role_recipients_pushover[proxyadmin]="${DEFAULT_RECIPIENT_PUSHOVER}"
136 role_recipients_slack[proxyadmin]="${DEFAULT_RECIPIENT_SLACK}"