Skip to content

Instantly share code, notes, and snippets.

@ww898
Last active March 4, 2020 11:45
Show Gist options
  • Save ww898/6fb60bf30d03cbd68a301df8700ca5ae to your computer and use it in GitHub Desktop.
Save ww898/6fb60bf30d03cbd68a301df8700ca5ae to your computer and use it in GitHub Desktop.
Run mode_exporter on Raspberry PI
#/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