@cryptotaxi247 / netdata-1 / commits / 10dfe9d0a

Add the chart name to syslog messages.

THis adds the chart name to the syslog messages produced by alarm-notify.sh. After this, log messages will now look like: prefix WARNING on wild-karde at Tue Apr 3 09:00:00 EDT 2018: disk_space._ out of disk space time = 5h

Austin S. Hemmelgarn committed May 3, 2018 at 15:49 UTC 10dfe9d0a2731c27131cbfa731f84020b4bd6ca8
1 file changed +1 -1
plugins.d/alarm-notify.sh
+1 -1
@@ -1598,7 +1598,7 @@ send_syslog() {
1598 fi
1599 fi
1600
1601 - message="${prefix} ${status} on ${host} at ${date}: ${value_string}"
1601 + message="${prefix} ${status} on ${host} at ${date}: ${chart} ${value_string}"
1602
1603 if [ ${host} ] ; then
1604 logger_options="${logger_options} -n ${host}"