Skip to content

Instantly share code, notes, and snippets.

@rodneyshupe
Created March 24, 2022 07:00
Show Gist options
  • Select an option

  • Save rodneyshupe/bd0778f4c44d3f31b20bf1c01ec5ebf1 to your computer and use it in GitHub Desktop.

Select an option

Save rodneyshupe/bd0778f4c44d3f31b20bf1c01ec5ebf1 to your computer and use it in GitHub Desktop.
upstart service configuration file for node_exporter
# node-exporter: Prometheus Node Exporter - to make metrics available
#
# Homepage: https://prometheus.io
#
description "node-exporter: Prometheus Node Exporter - to make metrics available"
start on (local-filesystems and net-device-up IFACE!=lo)
respawn
script
/usr/local/bin/node_exporter --collector.textfile.directory /var/lib/node_exporter/textfile_collector --web.listen-address=:9100
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment