Install node_exporter

Install node_exporter for system status and performance data

node_exporter

node_exporter exports metrics related to system status and performance.

Create System Account

Create a system account under which node_exporter can run.

sudo adduser --system node_exporter --group --no-create-home
Results of adduser command

Install node_exporter

The instructions below are for version 1.5.0. Check for newer versions of node_exporter, and adapt the instructions below.

Download the latest release.

Results of wget command

Unpack the release.

Results of tar node_exporter command

Copy the executable file to /usr/local/bin.

Configure Startup

Create a systemd service file to configure automatic startup of the node_exporter service.

Insert the following into the node_exporter systemd service file.

Save the file and exit the editor.

Optional: Clean Up Installation Files

Remove the node_exporter archive and installation directory.

Notes

node_exporter will listen on port 9100. This is the port from which Prometheus will query for metrics.

Last updated