Add prometheus and grafana for monitoring

This commit is contained in:
m5p3nc3r committed 2026-03-13 18:10:28 +00:00
1 parent 557571c9fd
commit 2c380b511c
9 files changed
+234 -22

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
global:
scrape_interval: 15s
scrape_configs:
- job_name: node
static_configs:
- targets:
{% for host in groups['monitored'] %}
- "{{ hostvars[host].ansible_host }}:9100"
{% endfor %}