Add node exporter installation to monitoring
This commit is contained in:
parent
da250bc2be
commit
c4fd9047f7
2 changed files with 11 additions and 1 deletions
|
|
@ -1,4 +1,7 @@
|
||||||
---
|
---
|
||||||
- name: Include Prometheus role
|
- name: Include the Prometheus role
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: prometheus.prometheus.prometheus
|
name: prometheus.prometheus.prometheus
|
||||||
|
- name: Include the Prometheus - node exporter role
|
||||||
|
ansible.builtin.include_role:
|
||||||
|
name: prometheus.prometheus.node_exporter
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,9 @@
|
||||||
---
|
---
|
||||||
|
# Prometheus
|
||||||
prometheus_version: "2.54.1"
|
prometheus_version: "2.54.1"
|
||||||
|
prometheus_targets:
|
||||||
|
node:
|
||||||
|
targets:
|
||||||
|
- raspberry-pi-1.kleinendorst.info:9100
|
||||||
|
# Node exporter
|
||||||
|
node_exporter_version: "1.8.2"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue