fix rendering and return code check of hipchat notifications again No 4
Costa Tsaousis (ktsaou) committed
Feb 17, 2017 at 10:17 UTC
b91568e94147d81119453571807face04bcd10f8
1 file changed
+6
-6
plugins.d/alarm-notify.sh
+6
-6
@@ -1284,13 +1284,13 @@ SENT_PD=$?
1284
# -----------------------------------------------------------------------------
1285
# send hipchat message
1286
1287
-send_hipchat "${HIPCHAT_AUTH_TOKEN}" "${to_hipchat}" "\
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/>\
1287
+send_hipchat "${HIPCHAT_AUTH_TOKEN}" "${to_hipchat}" " \
1288
+${host} ${status_message}<br/> \
1289
+<b>${alarm}</b> ${info_html}<br/> \
1290
+<b>${chart}</b> (family <b>${family}</b>)<br/> \
1291
+<b>${date}${raised_for_html}</b><br/> \
1292
<a href=\\\"${goto_url}\\\">View netdata dashboard</a> \
1293
-(source of alarm ${src})\
1293
+(source of alarm ${src}) \
1294
"
1295
1296
SENT_HIPCHAT=$?