Fix versions of Prometheus role

And also updated to version 3.
This commit is contained in:
Thomas Kleinendorst 2024-12-30 11:44:04 +01:00
parent dc6b4ee817
commit ac622af4c0
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,6 @@
---
# Prometheus
prometheus_version: "{{ versions.monitoring.prometheus }}"
prometheus_targets:
prometheus:
- targets:
@ -36,12 +37,14 @@ prometheus_alertmanager_config:
- targets:
- raspberry-pi-1.kleinendorst.info:9093
# Node exporter
node_exporter_version: "{{ versions.monitoring.node_exporter }}"
node_exporter_enabled_collectors:
- systemd
- {"textfile": {"directory": "{{ node_exporter_textfile_dir }}"}}
- processes
node_exporter_web_listen_address: 127.0.0.1:9100
# Alertmanager
alertmanager_version: "{{ versions.monitoring.alertmanager }}"
alertmanager_web_listen_address: 127.0.0.1:9093
# Telegram configuration inspired by this source:
# https://www.stranatesta.eu/tech/how-to-configure-prometheus-alertmanager-to-send-alerts-to-telegram/#configure-alertmanager

View file

@ -14,7 +14,7 @@ versions:
monitoring:
# Changelog: https://github.com/prometheus/prometheus/blob/main/CHANGELOG.md
# Note that version 3.0.0 was just released, upgrading is probably necessary.
prometheus: 2.55.1
prometheus: 3.0.1
# Changelog: https://github.com/prometheus/node_exporter/blob/master/CHANGELOG.md
node_exporter: 1.8.2
# Changelog: https://github.com/prometheus/alertmanager/blob/main/CHANGELOG.md