@cryptotaxi247 / netdata-1 / commits / b27d06539

fix rendering and return code check of hipchat notifications again

Costa Tsaousis (ktsaou) committed Feb 17, 2017 at 02:53 UTC b27d0653940a1e13122d6b89cce40aba68273cbd
1 file changed +6 -5
plugins.d/alarm-notify.sh
+6 -5
@@ -1285,11 +1285,12 @@ SENT_PD=$?
1285 # send hipchat message
1286
1287 send_hipchat "${HIPCHAT_AUTH_TOKEN}" "${to_hipchat}" "\
1288 -<b>${alarm}</b> ${info_html}<br/>&nbsp;\
1289 -${host} <b>${severity}</b> on chart <b>${chart}</b><br/> (family <b>${family}</b><br/>)\
1290 -Time <b>${date}${raised_for_html}</b><br/>\
1291 -<a href=\\\"${goto_url}\\\">View Netdata</a>\
1292 -(the source of this alarm is line ${src})\
1288 +${host} ${status_message}<br/>\
1289 +<b>${alarm}</b> ${info_html}<br/>\
1290 +<b>${chart}</b> (family <b>${family}</b> )\
1291 +<b>${date}${raised_for_html}</b><br/>\
1292 +<a href=\\\"${goto_url}\\\">View netdata dashboard</a> \
1293 +(source of alarm ${src})\
1294 "
1295
1296 SENT_HIPCHAT=$?