From 3eb6151fa6a0bba0cdffb8e2f5b21afe33a311c4 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Mon, 12 Sep 2016 16:51:13 +0200
Subject: [PATCH] Enable/disable alert channels

---
 templates/health_alarm_notify.conf | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/templates/health_alarm_notify.conf b/templates/health_alarm_notify.conf
index 62aca85..139556f 100644
--- a/templates/health_alarm_notify.conf
+++ b/templates/health_alarm_notify.conf
@@ -35,7 +35,7 @@ curl=""
 # note it needs a comma!
 
 # enable/disable sending emails
-SEND_EMAIL="YES"
+SEND_EMAIL="{{ netdata_email_enabled|default('NO') }}"
 
 # if a role recipient is not configured, an email will be send to:
 DEFAULT_RECIPIENT_EMAIL="root"
@@ -48,7 +48,7 @@ DEFAULT_RECIPIENT_EMAIL="root"
 #                  "USERTOKEN1 USERTOKEN2 ..."
 
 # enable/disable sending pushover notifications
-SEND_PUSHOVER="YES"
+SEND_PUSHOVER="{{ netdata_pushover_enabled|default('NO') }}"
 
 # Login to pushover.net to get your pushover app token
 # You need only one for all your netdata servers.
@@ -67,7 +67,7 @@ DEFAULT_RECIPIENT_PUSHOVER="{{ netdata_pushover_user_token|default('') }}"
 #                  "CHANNEL1 CHANNEL2 ..."
 
 # enable/disable sending pushover notifications
-SEND_SLACK="YES"
+SEND_SLACK="{{ netdata_slack_enabled|default('NO') }}"
 
 # Login to slack.com and create an incoming webhook.
 # You need only one for all your netdata servers.
-- 
GitLab