More actionable notification message for pagerduty
Jim Cooley committed
Dec 14, 2016 at 06:11 UTC
2cad0fcdb152309d3ecb2e60fd9b9033616976c6
1 file changed
+1
-1
plugins.d/alarm-notify.sh
+1
-1
@@ -675,7 +675,7 @@ send_pd() {
675
then
676
${pd_send} -k ${PD_SERVICE_KEY} \
677
-t ${t} \
678
- -d "${host} ${chart}.${name} is ${status}" \
678
+ -d "${status} ${name}=${value} ${units} - ${host}, ${family}" \
679
-i ${alarm_id} \
680
-f 'info'="${info}" \
681
-f 'value_w_units'="${value} ${units}" \