From 426fd8a8481ed092fc79dccc576b78368769cf78 Mon Sep 17 00:00:00 2001 From: Brian Christner Date: Thu, 28 Jul 2016 13:36:03 +0200 Subject: [PATCH] Added alerting and Troubleshooting Updated README with alerting section and troubleshooting --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index d5e291a..ad082b8 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,23 @@ Now we need to create the Prometheus Datasource in order to connect Grafana to P +## Alerting +Alerting has been added to the stack with Slack integration. 2 Alerts have been added and are managed + +Alerts - `prometheus/alert.rules` +Slack configuration - `alertmanager/config.yml` + +The Slack configuration requires to build a custom integration. +* Open your slack team in your browser https://.slack.com/apps +* Click build in the upper right corner +* Make Custom integration +* Choose Incomming Web Hooks +* Select which channel +* Copy the Webhook URL into the `alertmanager/config.yml` URL section +* Fill in Slack username and channel + +View alerts status `http://:9090/alerts` + ## Install Dashboard I created a Dashboard template which is available on [Grafana Docker Dashboard](https://grafana.net/dashboards/179). Simply download the dashboard and select from the Grafana menu -> Dashboards -> Import @@ -37,3 +54,9 @@ This dashboard is intended to help you get started with monitoring. If you have Here's the Dashboard Template ![Grafana Dashboard](https://github.com/vegasbrianc/prometheus/blob/version-2/images/Dashboard.png) + +Grafana Dashboard - `dashboards/Grana_Dashboad.json` +Alerting Dashboard - `dashboards/System_Monitoring.json` + +## Troubleshooting +It appears some people have reported no data appearing in Grafana. If this is happening to you be sure to check the time range being queried within Grafana to ensure it is using Today's date with current time.