]> arthur.barton.de Git - netdata.git/commitdiff
fix rendering and return code check of hipchat notifications again
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Fri, 17 Feb 2017 00:53:47 +0000 (02:53 +0200)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Fri, 17 Feb 2017 00:53:47 +0000 (02:53 +0200)
plugins.d/alarm-notify.sh

index 2b385f7f44f1d703a3a37e4beee1d231400adb8a..bd2b94b148110d3772cfb4a7f2b163c360bf776a 100755 (executable)
@@ -1285,11 +1285,12 @@ SENT_PD=$?
 # send hipchat message
 
 send_hipchat "${HIPCHAT_AUTH_TOKEN}" "${to_hipchat}" "\
-<b>${alarm}</b> ${info_html}<br/>&nbsp;\
-${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=$?