]> arthur.barton.de Git - netdata.git/commitdiff
More actionable notification message for pagerduty
authorJim Cooley <jim.cooley@healthvana.com>
Wed, 14 Dec 2016 14:11:29 +0000 (06:11 -0800)
committerJim Cooley <jim.cooley@healthvana.com>
Wed, 14 Dec 2016 14:11:29 +0000 (06:11 -0800)
plugins.d/alarm-notify.sh

index f587a3daf957b3b1aafce19ea2ab1abf5a6ce7f2..4cb7ab9e1f3acb991c154cd7478143b812b1347f 100755 (executable)
@@ -675,7 +675,7 @@ send_pd() {
         then
         ${pd_send} -k ${PD_SERVICE_KEY} \
                    -t ${t} \
-                   -d "${host} ${chart}.${name} is ${status}" \
+                   -d "${status} ${name}=${value} ${units} - ${host}, ${family}" \
                    -i ${alarm_id} \
                    -f 'info'="${info}" \
                    -f 'value_w_units'="${value} ${units}" \