]> arthur.barton.de Git - netdata.git/blob - conf.d/health_alarm_notify.conf
Merge pull request #925 from ktsaou/master
[netdata.git] / conf.d / health_alarm_notify.conf
1 # Configuration for alarms recipients
2
3 # netdata alarms have been categorized to allow different roles to receive
4 # alarms related to their work.
5 #
6 # This file defines the addresses for each role.
7 # This file is a BASH script itself.
8
9 ###############################################################################
10 # external commands needed
11
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.
15 sendmail=""
16
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.
20 curl=""
21
22
23 ###############################################################################
24 # sending emails
25
26 # note: multiple recipients can be given like this:
27 #              "admin1@example.com admin2@example.com ..."
28 # note it needs a comma!
29
30 # enable/disable sending emails
31 SEND_EMAIL="YES"
32
33 # if a role recipient is not configured, an email will be send to:
34 DEFAULT_RECIPIENT_EMAIL="root"
35
36
37 ###############################################################################
38 # sending pushover notifications (pushover.net)
39
40 # note: multiple recipients can be given like this:
41 #                  "USERTOKEN1 USERTOKEN2 ..."
42
43 # enable/disable sending pushover notifications
44 SEND_PUSHOVER="YES"
45
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.
49 PUSHOVER_APP_TOKEN=""
50
51 # if a role recipient is not configured, a notification will be send to
52 # this pushover user token:
53 DEFAULT_RECIPIENT_PUSHOVER=""
54
55
56 ###############################################################################
57 # sending slack notifications
58
59 # note: multiple recipients can be given like this:
60 #                  "CHANNEL1 CHANNEL2 ..."
61
62 # enable/disable sending pushover notifications
63 SEND_SLACK="YES"
64
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.
68 SLACK_WEBHOOK_URL=""
69
70 # if a role recipient is not configured, a notification will be send to
71 # this slack channel:
72 DEFAULT_RECIPIENT_SLACK=""
73
74
75 ###############################################################################
76 # RECIPIENTS PER ROLE
77
78 # -----------------------------------------------------------------------------
79 # generic system alarms
80 # CPU, disks, entropy, etc
81
82 role_recipients_email[sysadmin]="${DEFAULT_RECIPIENT_EMAIL}"
83
84 role_recipients_pushover[sysadmin]="${DEFAULT_RECIPIENT_PUSHOVER}"
85
86 role_recipients_slack[sysadmin]="${DEFAULT_RECIPIENT_SLACK}"
87
88
89 # -----------------------------------------------------------------------------
90 # DNS related alarms
91
92 role_recipients_email[domainadmin]="${DEFAULT_RECIPIENT_EMAIL}"
93
94 role_recipients_pushover[domainadmin]="${DEFAULT_RECIPIENT_PUSHOVER}"
95
96 role_recipients_slack[domainadmin]="${DEFAULT_RECIPIENT_SLACK}"
97
98
99 # -----------------------------------------------------------------------------
100 # database servers alarms
101 # mysql, redis, memcached, etc
102
103 role_recipients_email[dba]="${DEFAULT_RECIPIENT_EMAIL}"
104
105 role_recipients_pushover[dba]="${DEFAULT_RECIPIENT_PUSHOVER}"
106
107 role_recipients_slack[dba]="${DEFAULT_RECIPIENT_SLACK}"
108
109
110 # -----------------------------------------------------------------------------
111 # web servers alarms
112 # apache, nginx, etc
113
114 role_recipients_email[webmaster]="${DEFAULT_RECIPIENT_EMAIL}"
115
116 role_recipients_pushover[webmaster]="${DEFAULT_RECIPIENT_PUSHOVER}"
117
118 role_recipients_slack[webmaster]="${DEFAULT_RECIPIENT_SLACK}"
119
120
121 # -----------------------------------------------------------------------------
122 # proxy servers alarms
123 # apache, nginx, etc
124
125 role_recipients_email[proxyadmin]="${DEFAULT_RECIPIENT_EMAIL}"
126
127 role_recipients_pushover[proxyadmin]="${DEFAULT_RECIPIENT_PUSHOVER}"
128
129 role_recipients_slack[proxyadmin]="${DEFAULT_RECIPIENT_SLACK}"