@cryptotaxi247 / netdata-1 / commits / b06e89d37

Switch e-mail threading to be enabled by default. (#3780)

As discussed in the PR that added email threading support, this switches it to be enabled by default.

Austin S. Hemmelgarn committed Nov 2, 2018 at 14:39 UTC b06e89d3733d1449db114128169a92d242c2605d
2 files changed +4 -3
health/notifications/alarm-notify.sh.in
+1 -1
@@ -896,7 +896,7 @@ date=$(date --date=@${when} "${date_format}" 2>/dev/null)
896
897 # ----------------------------------------------------------------------------
898 # prepare some extra headers if we've been asked to thread e-mails
899 -if [ "${SEND_EMAIL}" == "YES" -a "${EMAIL_THREADING}" == "YES" ] ; then
899 +if [ "${SEND_EMAIL}" == "YES" -a "${EMAIL_THREADING}" != "NO" ] ; then
900 email_thread_headers="In-Reply-To: <${chart}-${name}@${host}>\nReferences: <${chart}-${name}@${host}>"
901 else
902 email_thread_headers=
health/notifications/health_alarm_notify.conf
+3 -2
@@ -183,8 +183,9 @@ DEFAULT_RECIPIENT_EMAIL="root"
183 # chart+alarm+host combination as a single thread. This can help
184 # simplify tracking of alarms, as it provides an easy wway for scripts
185 # to corelate messages and also will cause most clients to group all the
186 -# messages together. THis is off by default.
187 -#EMAIL_THREADING="YES"
186 +# messages together. This is enabled by default, uncomment the line
187 +# below if you want to disable it.
188 +#EMAIL_THREADING="NO"
189
190
191 #------------------------------------------------------------------------------