@cryptotaxi247 / netdata-1 / commits / 932e4df65

fix hipchat notifications; fixes #1526

Costa Tsaousis (ktsaou) committed Feb 17, 2017 at 01:33 UTC 932e4df6549dd18e06d45e955d0053bb1f8aca25
1 file changed +3 -11
plugins.d/alarm-notify.sh
+3 -11
@@ -24,7 +24,7 @@
24 # - kafka notifications by @ktsaou #1342
25 # - pagerduty.com notifications by Jim Cooley @jimcooley PR #1373
26 # - messagebird.com notifications by @tech_no_logical #1453
27 -# - hipchart notifications by @ktsaou #1561
27 +# - hipchat notifications by @ktsaou #1561
28
29 # -----------------------------------------------------------------------------
30 # testing notifications
@@ -1284,18 +1284,10 @@ SENT_PD=$?
1284 # -----------------------------------------------------------------------------
1285 # send hipchat message
1286
1287 -send_hipchat "${HIPCHAT_AUTH_TOKEN}" "${to_hipchat}" "
1288 -<b>${alarm}</b> ${info_html}<br/>&nbsp;
1289 -<small><b>${chart}</b><br/>Chart<br/>&nbsp;</small>
1290 -<small><b>${family}</b><br/>Family<br/>&nbsp;</small>
1291 -<small><b>${severity}</b><br/>Severity<br/>&nbsp;</small>
1292 -<small><b>${date}${raised_for_html}</b><br/>Time<br/>&nbsp;</small>
1293 -<a href=\"${goto_url}\">View Netdata</a><br/>&nbsp;
1294 -<small><small>The source of this alarm is line ${src}</small></small>
1295 -"
1296 -
1287 +send_hipchat "${HIPCHAT_AUTH_TOKEN}" "${to_hipchat}" "<b>${alarm}</b> ${info_html}<br/>&nbsp;<br/><small><b>${chart}</b><br/>Chart<br/>&nbsp;</small><br/><small><b>${family}</b><br/>Family<br/>&nbsp;</small><br/><small><b>${severity}</b><br/>Severity<br/>&nbsp;</small><br/><small><b>${date}${raised_for_html}</b><br/>Time<br/>&nbsp;</small><br/><a href=\"${goto_url}\">View Netdata</a><br/>&nbsp;<br/><small><small>The source of this alarm is line ${src}</small></small>"
1288 SENT_HIPCHAT=$?
1289
1290 +
1291 # -----------------------------------------------------------------------------
1292 # send the email
1293