+ Working prometheus setup for host metrics

This commit is contained in:
2022-04-27 21:24:06 -07:00
parent 99a84d454c
commit e8524e950c
4 changed files with 107 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
[Unit]
Description=Node Exporter which exposes host metrics for Prometheus
After=network.target
[Service]
WorkingDirectory=/opt/prom-node-exporter
Type=simple
Restart=simple
Restart=always
Restart=10
ExecStart=/opt/prom-node-exporter/node_exporter
[Install]
WantedBy=multi-user.target