Expose node exporter for scraping

This commit is contained in:
2025-03-07 21:34:32 +01:00
parent f0612746c0
commit 66dad7b8a9
4 changed files with 153 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
basic_auth_users:
monitor: "$2y$05$b4TibqWAj3MDv3g.SCaPZe9r6jV8Vowvn/CBZOdScwgkE7JcIuUfK"

View File

@@ -1,6 +1,7 @@
[program:prometheus-node-exporter]
command=prometheus-node-exporter
--web.listen-address 0.0.0.0:9100
--web.config.file=/home/{{ node.username }}/.config/prometheus-node-exporter/web-config.yml
--collector.disable-defaults
--collector.textfile
--collector.textfile.directory=/home/{{ node.username }}/.local/state/prometheus-node-exporter/textfiles