diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-09-03 04:20:43 +0300 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-09-03 04:20:43 +0300 |
commit | e2f00e7104a33eed680cb42aeec48695635115c9 (patch) | |
tree | 3a06372da8cac7ea6f12cc24e220d5988a941b35 /conf.d/health_email_recipients.conf | |
parent | 500170b4fb33ffd8a5ba697eefe174ae255b6359 (diff) |
added roles to receive email alarms
Diffstat (limited to 'conf.d/health_email_recipients.conf')
-rwxr-xr-x | conf.d/health_email_recipients.conf | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/conf.d/health_email_recipients.conf b/conf.d/health_email_recipients.conf new file mode 100755 index 0000000000..e485591346 --- /dev/null +++ b/conf.d/health_email_recipients.conf @@ -0,0 +1,53 @@ +# Configuration for alarms recipients + +# netdata alarms have been categorized to allow different roles to receive +# alarms related to their work. + +# this file defines the email addresses for each role. if a role is not +# defined, the email will be sent to root. + +# you can set multiple addresses for each role, like this: +# +# recipients[sysadmin]="admin1@example.com, admin2@example.com" +# +# it is important to add the comma between email addresses. + +# This configuration file is a BASH script itself. The 'recipients' variable is +# an associative array. So you can use other variables too, like this one: + +default_recipient_for_all_roles="root" + + +# ----------------------------------------------------------------------------- +# generic system alarms +# CPU, disks, entropy, etc + +recipients[sysadmin]="${default_recipient_for_all_roles}" + + +# ----------------------------------------------------------------------------- +# DNS related alarms + +recipients[domainadmin]="${default_recipient_for_all_roles}" + + +# ----------------------------------------------------------------------------- +# database servers alarms +# mysql, redis, memcached, etc + +recipients[dba]="${default_recipient_for_all_roles}" + + +# ----------------------------------------------------------------------------- +# web servers alarms +# apache, nginx, etc + +recipients[webmaster]="${default_recipient_for_all_roles}" + + +# ----------------------------------------------------------------------------- +# proxy servers alarms +# apache, nginx, etc + +recipients[proxyadmin]="${default_recipient_for_all_roles}" + |