updated alarm-notify.sh so that slack push notifications are meaningful
Costa Tsaousis (ktsaou) committed
Sep 18, 2016 at 17:00 UTC
a78645b8041a1ef414079cb74d4a58f8ae5fece7
1 file changed
+1
-1
plugins.d/alarm-notify.sh
+1
-1
@@ -413,10 +413,10 @@ send_slack() {
413
"channel": "#${channel}",
414
"username": "netdata on ${host}",
415
"icon_url": "${images_base_url}/images/seo-performance-128.png",
416
+ "text": "${host} ${status_message}, \`${chart}\` (_${family}_), *${alarm}*",
417
"attachments": [
418
{
419
"fallback": "${alarm} - ${chart} (${family}) - ${info}",
419
- "pretext": "${host} ${status_message}",
420
"color": "${color}",
421
"title": "${alarm}",
422
"title_link": "${goto_url}",