File: //etc/systemd/system/node_exporter.service
# THIS FILE IS MANAGED BY PUPPET
[Unit]
Description=Prometheus node_exporter
Wants=network-online.target
After=network-online.target
[Service]
User=node-exporter
Group=node-exporter
ExecStart=/usr/bin/prometheus-node-exporter \
--web.config=/etc/prometheus-node-exporter/web.yml \
--collector.interrupts \
--collector.logind \
--collector.network_route \
--collector.processes \
--collector.qdisc \
--collector.systemd \
--collector.tcpstat \
--no-collector.fibrechannel \
--no-collector.infiniband \
--no-collector.tapestats \
--no-collector.nfs \
--no-collector.nfsd \
--no-collector.textfile \
--no-collector.ipvs \
--no-collector.nvme \
--no-collector.rapl \
--no-collector.zfs \
--no-collector.pressure \
--no-collector.mdadm \
--no-collector.btrfs
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=always
[Install]
WantedBy=multi-user.target