blob: a5cf6342523dd84d134a25565124b8b663905368 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
[Unit]
Description=Prometheus node exporter
[Service]
Restart=always
User=prometheus-exporter
ExecStart=/usr/bin/prometheus-node-exporter --web.listen-address="127.0.0.1:9100" --web.disable-exporter-metrics --collector.textfile.directory="/var/lib/prometheus-node-exporter/textfile-collector" --collector.netclass.ignore-invalid-speed{% for collector in prometheus_exporter_node_disable_collectors %} --no-collector.{{ collector }}{% endfor %}{% for collector in prometheus_exporter_node_extra_collectors %} --collector.{{ collector }}{% endfor %}{{ '' }}
[Install]
WantedBy=multi-user.target
|