diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-02-17 10:17:16 +0200 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-02-17 10:17:16 +0200 |
commit | b91568e94147d81119453571807face04bcd10f8 (patch) | |
tree | 0ae4d2cea3a04c3921e10af8df9be1568c5a847a /plugins.d | |
parent | f5b8b394c2ffa0f24b7e10b0544d1cc1eb098f20 (diff) |
fix rendering and return code check of hipchat notifications again No 4
Diffstat (limited to 'plugins.d')
-rwxr-xr-x | plugins.d/alarm-notify.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins.d/alarm-notify.sh b/plugins.d/alarm-notify.sh index 8b6eb8f3e2..997ff96aa6 100755 --- a/plugins.d/alarm-notify.sh +++ b/plugins.d/alarm-notify.sh @@ -1284,13 +1284,13 @@ SENT_PD=$? # ----------------------------------------------------------------------------- # send hipchat message -send_hipchat "${HIPCHAT_AUTH_TOKEN}" "${to_hipchat}" "\ -${host} ${status_message}<br/>\ -<b>${alarm}</b> ${info_html}<br/>\ -<b>${chart}</b> (family <b>${family}</b>)\ -<b>${date}${raised_for_html}</b><br/>\ +send_hipchat "${HIPCHAT_AUTH_TOKEN}" "${to_hipchat}" " \ +${host} ${status_message}<br/> \ +<b>${alarm}</b> ${info_html}<br/> \ +<b>${chart}</b> (family <b>${family}</b>)<br/> \ +<b>${date}${raised_for_html}</b><br/> \ <a href=\\\"${goto_url}\\\">View netdata dashboard</a> \ -(source of alarm ${src})\ +(source of alarm ${src}) \ " SENT_HIPCHAT=$? |