Commit e040dec8 authored by tec's avatar tec

2nd dashboard works! Seems like I've ended up cloning...

2nd dashboard works! Seems like I've ended up cloning https://github.com/cloudalchemy/demo-site/blob/master/group_vars/all/vars but at least it was done in blocks :P
parent eca9786b
......@@ -7,6 +7,7 @@
- cloudalchemy.prometheus
- cloudalchemy.alertmanager
- cloudalchemy.node-exporter
- cloudalchemy.blackbox-exporter
- cloudalchemy.grafana
vars:
prometheus_targets:
......@@ -31,6 +32,21 @@
- scheme: http
static_configs:
- targets: ['127.0.0.1:9093']
prometheus_scrape_jobs:
- job_name: 'blackbox'
metrics_path: /probe
params:
module: [http_2xx]
static_configs:
- targets:
- http://localhost:9100
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: 127.0.0.1:9115 # Blackbox exporter.
alertmanager_external_url: 'http://{{ ansible_host }}:9093'
alertmanager_receivers:
- name: 'email-wheel'
......@@ -63,9 +79,9 @@
org_name: 'UCC'
org_role: Admin
grafana_dashboards:
- dashboard_id: '1860'
revision_id: '8'
- dashboard_id: '1860' # Node Exporter Full
revision_id: '15'
datasource: 'Prometheus'
- dashboard_id: '3662'
- dashboard_id: '3662' # Prometheus 2.0 Overview
revision_id: '2'
datasource: 'Prometheus'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment