1 # Configuration for alarms recipients
3 # netdata alarms have been categorized to allow different roles to receive
4 # alarms related to their work.
6 # This file defines the addresses for each role.
7 # This file is a BASH script itself.
9 ###############################################################################
10 # external commands needed
12 # The full path to the sendmail command.
13 # If empty, the system $PATH will be searched for it.
14 # If not found, email notifications will be disabled.
17 # The full path of the curl command.
18 # If empty, the system $PATH will be searched for it.
19 # If not found, pushover and slack notifications will be disabled.
23 ###############################################################################
26 # note: multiple recipients can be given like this:
27 # "admin1@example.com admin2@example.com ..."
28 # note it needs a comma!
30 # enable/disable sending emails
33 # if a role recipient is not configured, an email will be send to:
34 DEFAULT_RECIPIENT_EMAIL="root"
37 ###############################################################################
38 # sending pushover notifications (pushover.net)
40 # note: multiple recipients can be given like this:
41 # "USERTOKEN1 USERTOKEN2 ..."
43 # enable/disable sending pushover notifications
46 # Login to pushover.net to get your pushover app token
47 # You need only one for all your netdata servers.
48 # Without it, netdata cannot send pushover notifications.
51 # if a role recipient is not configured, a notification will be send to
52 # this pushover user token:
53 DEFAULT_RECIPIENT_PUSHOVER=""
56 ###############################################################################
57 # sending slack notifications
59 # note: multiple recipients can be given like this:
60 # "CHANNEL1 CHANNEL2 ..."
62 # enable/disable sending pushover notifications
65 # Login to slack.com and create an incoming webhook.
66 # You need only one for all your netdata servers.
67 # Without it, netdata cannot send slack notifications.
70 # if a role recipient is not configured, a notification will be send to
72 DEFAULT_RECIPIENT_SLACK=""
75 ###############################################################################
78 # -----------------------------------------------------------------------------
79 # generic system alarms
80 # CPU, disks, entropy, etc
82 role_recipients_email[sysadmin]="${DEFAULT_RECIPIENT_EMAIL}"
84 role_recipients_pushover[sysadmin]="${DEFAULT_RECIPIENT_PUSHOVER}"
86 role_recipients_slack[sysadmin]="${DEFAULT_RECIPIENT_SLACK}"
89 # -----------------------------------------------------------------------------
92 role_recipients_email[domainadmin]="${DEFAULT_RECIPIENT_EMAIL}"
94 role_recipients_pushover[domainadmin]="${DEFAULT_RECIPIENT_PUSHOVER}"
96 role_recipients_slack[domainadmin]="${DEFAULT_RECIPIENT_SLACK}"
99 # -----------------------------------------------------------------------------
100 # database servers alarms
101 # mysql, redis, memcached, etc
103 role_recipients_email[dba]="${DEFAULT_RECIPIENT_EMAIL}"
105 role_recipients_pushover[dba]="${DEFAULT_RECIPIENT_PUSHOVER}"
107 role_recipients_slack[dba]="${DEFAULT_RECIPIENT_SLACK}"
110 # -----------------------------------------------------------------------------
114 role_recipients_email[webmaster]="${DEFAULT_RECIPIENT_EMAIL}"
116 role_recipients_pushover[webmaster]="${DEFAULT_RECIPIENT_PUSHOVER}"
118 role_recipients_slack[webmaster]="${DEFAULT_RECIPIENT_SLACK}"
121 # -----------------------------------------------------------------------------
122 # proxy servers alarms
125 role_recipients_email[proxyadmin]="${DEFAULT_RECIPIENT_EMAIL}"
127 role_recipients_pushover[proxyadmin]="${DEFAULT_RECIPIENT_PUSHOVER}"
129 role_recipients_slack[proxyadmin]="${DEFAULT_RECIPIENT_SLACK}"