node_exporter/examples/systemd
Perry Naseck 440a132c38
Add multiple listeners and systemd socket listener activation (#2393)
Update exporter-toolkit to v0.8.1 to enable new listener support.

Signed-off-by: Perry Naseck <git@perrynaseck.com>
2022-10-23 12:45:29 +02:00
..
node_exporter.service Add multiple listeners and systemd socket listener activation (#2393) 2022-10-23 12:45:29 +02:00
node_exporter.socket Add multiple listeners and systemd socket listener activation (#2393) 2022-10-23 12:45:29 +02:00
README.md Add multiple listeners and systemd socket listener activation (#2393) 2022-10-23 12:45:29 +02:00
sysconfig.node_exporter Switch to kingpin flags (#639) 2017-08-12 15:07:24 +02:00

Systemd Unit

If you are using distribution packages or the copr repository, you don't need to deal with these files!

The unit files (*.service and *.socket) in this directory are to be put into /etc/systemd/system. It needs a user named node_exporter, whose shell should be /sbin/nologin and should not have any special privileges. It needs a sysconfig file in /etc/sysconfig/node_exporter. It needs a directory named /var/lib/node_exporter/textfile_collector, whose owner should be node_exporter:node_exporter. A sample file can be found in sysconfig.node_exporter.