diff options
author | Christian Pointner <equinox@spreadspace.org> | 2022-07-10 23:19:02 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2022-07-10 23:19:02 +0200 |
commit | b2e83337ef3ad36cecaf8dce44640462be1908fd (patch) | |
tree | 07a0f61a3e7fbb09789a0f5b2e3ff9ffc6abcfcf /inventory | |
parent | prometheus/rule: extend for rule for disk latency alerts (diff) |
add grafa dashboard for NUT and install dashboards on ele-mon
Diffstat (limited to 'inventory')
-rw-r--r-- | inventory/host_vars/ele-mon.yml | 19 |
1 files changed, 19 insertions, 0 deletions
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" |