]> arthur.barton.de Git - netdata.git/blob - conf.d/health_alarm_notify.conf
alarm-notify.sh configuration; alarm-notify.sh support multiple recipients per alarm...
[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 sendmail=
15
16 # The full path of the curl command.
17 # If empty, the system $PATH will be searched for it.
18 curl=
19
20
21 ###############################################################################
22 # sending emails
23
24 # note: multiple recipients can be given like this:
25 #              "admin1@example.com, admin2@example.com, ..."
26 # note it needs a comma!
27
28 # enable/disable sending emails
29 SEND_EMAIL="YES"
30
31 # if a role recipient is not configured, an email will be send to
32 DEFAULT_RECIPIENT_EMAIL="root"
33
34
35 ###############################################################################
36 # sending pushover notifications (pushover.com)
37
38 # note: multiple recipients can be given like this:
39 #                  "USERTOKEN1 USERTOKEN2 USERTOKEN3 ..."
40
41 # enable/disable sending pushover notifications
42 SEND_PUSHOVER="YES"
43
44 # Login to pushover.com to get your pushover app token
45 # You need only one for all your netdata servers.
46 # Without it, netdata cannot send pushover notifications.
47 PUSHOVER_APP_TOKEN=
48
49 # if a role recipient is not configured, a notification will be send to
50 # this pushover user token
51 DEFAULT_RECIPIENT_PUSHOVER=
52
53
54 ###############################################################################
55 # RECIPIENTS PER ROLE
56
57 # -----------------------------------------------------------------------------
58 # generic system alarms
59 # CPU, disks, entropy, etc
60
61 role_recipients_email[sysadmin]="${DEFAULT_RECIPIENT_EMAIL}"
62
63 role_recipients_pushover[sysadmin]="${DEFAULT_RECIPIENT_PUSHOVER}"
64
65
66 # -----------------------------------------------------------------------------
67 # DNS related alarms
68
69 role_recipients_email[domainadmin]="${DEFAULT_RECIPIENT_EMAIL}"
70
71 role_recipients_pushover[domainadmin]="${DEFAULT_RECIPIENT_PUSHOVER}"
72
73
74 # -----------------------------------------------------------------------------
75 # database servers alarms
76 # mysql, redis, memcached, etc
77
78 role_recipients_email[dba]="${DEFAULT_RECIPIENT_EMAIL}"
79
80 role_recipients_pushover[dba]="${DEFAULT_RECIPIENT_PUSHOVER}"
81
82
83 # -----------------------------------------------------------------------------
84 # web servers alarms
85 # apache, nginx, etc
86
87 role_recipients_email[webmaster]="${DEFAULT_RECIPIENT_EMAIL}"
88
89 role_recipients_pushover[webmaster]="${DEFAULT_RECIPIENT_PUSHOVER}"
90
91
92 # -----------------------------------------------------------------------------
93 # proxy servers alarms
94 # apache, nginx, etc
95
96 role_recipients_email[proxyadmin]="${DEFAULT_RECIPIENT_EMAIL}"
97
98 role_recipients_pushover[proxyadmin]="${DEFAULT_RECIPIENT_PUSHOVER}"
99