From 8281562e1bcf021db7a0c01a6411ffda7be1fd7e Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Mon, 18 Sep 2017 12:54:07 +0200 Subject: [PATCH] Adjust template to new version Signed-off-by: Knut Ahlers --- templates/health_alarm_notify.conf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/templates/health_alarm_notify.conf b/templates/health_alarm_notify.conf index 36e1c1a..d1bf034 100644 --- a/templates/health_alarm_notify.conf +++ b/templates/health_alarm_notify.conf @@ -94,6 +94,15 @@ curl="" # multiple recipients can be given like this: # "admin1@example.com admin2@example.com ..." +# the email address sending email notifications +# the default is the system user netdata runs as (usually: netdata) +# The following formats are supported: +# EMAIL_SENDER="user@domain" +# EMAIL_SENDER="User Name " +# EMAIL_SENDER="'User Name' " +# EMAIL_SENDER="\"User Name\" " +EMAIL_SENDER="{{ env `EMAIL_SENDER` }}" + # enable/disable sending emails SEND_EMAIL="{{ env `SEND_EMAIL` `YES` }}" @@ -101,6 +110,13 @@ SEND_EMAIL="{{ env `SEND_EMAIL` `YES` }}" DEFAULT_RECIPIENT_EMAIL="{{ env `DEFAULT_RECIPIENT_EMAIL` `root` }}" # to receive only critical alarms, set it to "root|critical" +# Optionally specify the encoding to list in the Content-Type header. +# This doesn't change what encoding the e-mail is sent with, just what +# the headers say it was encoded as. +# This shouldn't need to be changed as it will almost always be +# autodetected from the environment. +#EMAIL_CHARSET="UTF-8" + #------------------------------------------------------------------------------ # pushover (pushover.net) global notification options