Created
March 12, 2019 06:43
-
-
Save bvolpato/3e67677ed958acc5465c04b8de4f8c7e to your computer and use it in GitHub Desktop.
Node Exporter
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
sudo useradd --no-create-home --shell /bin/false node_exporter | |
wget https://github.com/prometheus/node_exporter/releases/download/v0.17.0/node_exporter-0.17.0.linux-amd64.tar.gz | |
tar zxvf node_exporter-0.17.0.linux-amd64.tar.gz | |
cp node_exporter-0.17.0.linux-amd64/node_exporter /usr/local/bin | |
chown node_exporter:node_exporter /usr/local/bin/node_exporter | |
curl https://gist.githubusercontent.com/brunocvcunha/ccf7f5e53e0fbe4684c94cb1f4d2add3/raw/d5b6ead5671e1b2b7a1a4e6a08b0b261cc9a311a/node_exporter.service > /etc/systemd/system/node_exporter.service | |
systemctl daemon-reload | |
systemctl start node_exporter | |
systemctl status node_exporter | |
systemctl enable node_exporter | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment