From b2e83337ef3ad36cecaf8dce44640462be1908fd Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 10 Jul 2022 23:19:02 +0200 Subject: add grafa dashboard for NUT and install dashboards on ele-mon --- inventory/host_vars/ele-mon.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'inventory/host_vars/ele-mon.yml') diff --git a/inventory/host_vars/ele-mon.yml b/inventory/host_vars/ele-mon.yml index f4bbadf4..f9956901 100644 --- a/inventory/host_vars/ele-mon.yml +++ b/inventory/host_vars/ele-mon.yml @@ -110,3 +110,22 @@ prometheus_alertmanager_receivers: grafana_secret_key: "{{ vault_grafana_secret_key }}" + +grafana_datasources: + - name: "Prometheus" + type: "prometheus" + access: "proxy" + url: "http://127.0.0.1:9090/prometheus" + isDefault: yes + jsonData: + manageAlerts: no + +grafana_dashboards: + - file: node-full + datasource: "Prometheus" + - file: chronyd + datasource: "Prometheus" + - file: blackbox + datasource: "Prometheus" + - file: network-ups-tools + datasource: "Prometheus" -- cgit v1.2.3