Add node exporter installation to monitoring

This commit is contained in:
Thomas Kleinendorst 2024-09-16 11:33:05 +02:00
parent da250bc2be
commit c4fd9047f7
2 changed files with 11 additions and 1 deletions

View file

@ -1,4 +1,7 @@
---
- name: Include Prometheus role
- name: Include the Prometheus role
ansible.builtin.include_role:
name: prometheus.prometheus.prometheus
- name: Include the Prometheus - node exporter role
ansible.builtin.include_role:
name: prometheus.prometheus.node_exporter

View file

@ -1,2 +1,9 @@
---
# Prometheus
prometheus_version: "2.54.1"
prometheus_targets:
node:
targets:
- raspberry-pi-1.kleinendorst.info:9100
# Node exporter
node_exporter_version: "1.8.2"