Last active
March 4, 2020 11:45
-
-
Save ww898/6fb60bf30d03cbd68a301df8700ca5ae to your computer and use it in GitHub Desktop.
Run mode_exporter on Raspberry PI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/lib/systemd/system/node_exporter.service | |
[Unit] | |
Description=Node Exporter | |
After=network.target | |
[Service] | |
User=monituser | |
Group=monituser | |
ExecStart=/opt/node_exporter/node_exporter --collector.textfile.directory /var/lib/node_exporter/textfile_collector | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment