Created
March 24, 2022 07:00
-
-
Save rodneyshupe/bd0778f4c44d3f31b20bf1c01ec5ebf1 to your computer and use it in GitHub Desktop.
upstart service configuration file for node_exporter
This file contains hidden or 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
| # 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