diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-02-17 02:53:47 +0200 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-02-17 02:53:47 +0200 |
commit | b27d0653940a1e13122d6b89cce40aba68273cbd (patch) | |
tree | bd37dd682e238c04a8d136a90f8bcad229d560f5 /plugins.d | |
parent | 22b0bd9000c51785aa8d323a02980efd89790ef5 (diff) |
fix rendering and return code check of hipchat notifications again
Diffstat (limited to 'plugins.d')
-rwxr-xr-x | plugins.d/alarm-notify.sh | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/plugins.d/alarm-notify.sh b/plugins.d/alarm-notify.sh index 2b385f7f44..bd2b94b148 100755 --- a/plugins.d/alarm-notify.sh +++ b/plugins.d/alarm-notify.sh @@ -1285,11 +1285,12 @@ SENT_PD=$? # send hipchat message send_hipchat "${HIPCHAT_AUTH_TOKEN}" "${to_hipchat}" "\ -<b>${alarm}</b> ${info_html}<br/> \ -${host} <b>${severity}</b> on chart <b>${chart}</b><br/> (family <b>${family}</b><br/>)\ -Time <b>${date}${raised_for_html}</b><br/>\ -<a href=\\\"${goto_url}\\\">View Netdata</a>\ -(the source of this alarm is line ${src})\ +${host} ${status_message}<br/>\ +<b>${alarm}</b> ${info_html}<br/>\ +<b>${chart}</b> (family <b>${family}</b> )\ +<b>${date}${raised_for_html}</b><br/>\ +<a href=\\\"${goto_url}\\\">View netdata dashboard</a> \ +(source of alarm ${src})\ " SENT_HIPCHAT=$? |