From: Costa Tsaousis (ktsaou) Date: Thu, 16 Feb 2017 23:33:24 +0000 (+0200) Subject: fix hipchat notifications; fixes #1526 X-Git-Tag: ab-debian_0.20170221.01-0ab1~1^2~5^2~5 X-Git-Url: https://arthur.barton.de/gitweb/?p=netdata.git;a=commitdiff_plain;h=932e4df6549dd18e06d45e955d0053bb1f8aca25 fix hipchat notifications; fixes #1526 --- diff --git a/plugins.d/alarm-notify.sh b/plugins.d/alarm-notify.sh index c70acc72..2bfe89e6 100755 --- a/plugins.d/alarm-notify.sh +++ b/plugins.d/alarm-notify.sh @@ -24,7 +24,7 @@ # - kafka notifications by @ktsaou #1342 # - pagerduty.com notifications by Jim Cooley @jimcooley PR #1373 # - messagebird.com notifications by @tech_no_logical #1453 -# - hipchart notifications by @ktsaou #1561 +# - hipchat notifications by @ktsaou #1561 # ----------------------------------------------------------------------------- # testing notifications @@ -1284,18 +1284,10 @@ SENT_PD=$? # ----------------------------------------------------------------------------- # send hipchat message -send_hipchat "${HIPCHAT_AUTH_TOKEN}" "${to_hipchat}" " -${alarm} ${info_html}
  -${chart}
Chart
 
-${family}
Family
 
-${severity}
Severity
 
-${date}${raised_for_html}
Time
 
-View Netdata
  -The source of this alarm is line ${src} -" - +send_hipchat "${HIPCHAT_AUTH_TOKEN}" "${to_hipchat}" "${alarm} ${info_html}
 
${chart}
Chart
 

${family}
Family
 

${severity}
Severity
 

${date}${raised_for_html}
Time
 

View Netdata
 
The source of this alarm is line ${src}" SENT_HIPCHAT=$? + # ----------------------------------------------------------------------------- # send the email