📖
Stake Local Dashboard
  • Stake Local Dashboard
    • Library Sections
  • Dashboard Installation
    • Installation Overview
    • Install Supporting Software
      • Install Prerequisites
      • Install Prometheus
      • Install Grafana
      • Install node_exporter
      • Install json_exporter
      • Install Ethereum Metrics Exporter
    • Configure Ethereum Clients
    • Configure Supporting Software
      • Configure json_exporter
      • Configure Prometheus Rules
      • Configure Ethereum Metrics Exporter
    • Prometheus Jobs & Targets
      • Prometheus Jobs
      • About Stake Local Labels
      • Base Targets Installation
      • Consensus Client Targets
      • Execution Client Targets
      • Validator Client Targets
      • node_exporter Target
      • json_exporter Target
      • Ethereum Metrics Exporter Targets
      • Third-Party Targets
      • Ethereum Address Targets
      • Validator Public Key Targets
      • Optional: Grafana Target
      • Optional: Prometheus Target
      • Clean Up Unused Targets
    • Optional: Alternative Dashboard Compatibility
      • Besu Dashboard Compatibility
      • Erigon Dashboard Compatibility
      • Geth Dashboard Compatibility
      • Lighthouse Dashboard Compatibility
      • Lodestar Dashboard Compatibility
      • Nethermind Dashboard Compatibility
      • Nimbus Dashboard Compatibility
      • Prysm Dashboard Compatibility
      • Teku Compatibility
    • Enable & Start/Restart Services
      • Checking Software Status
    • Install Dashboard
  • Additional Modifications
    • Additional Staking Groups
    • Change or Add Currency
Powered by GitBook
On this page
  • node_exporter
  • Create System Account
  • Install node_exporter
  • Configure Startup
  • Optional: Clean Up Installation Files
  • Notes
  1. Dashboard Installation
  2. Install Supporting Software

Install node_exporter

Install node_exporter for system status and performance data

PreviousInstall GrafanaNextInstall json_exporter

Last updated 2 years ago

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

Install node_exporter

Download the latest release.

cd
wget https://github.com/prometheus/node_exporter/releases/download/v1.5.0/node_exporter-1.5.0.linux-amd64.tar.gz

Unpack the release.

tar xzvf node_exporter-1.5.0.linux-amd64.tar.gz

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

sudo cp node_exporter-1.5.0.linux-amd64/node_exporter /usr/local/bin/

Configure Startup

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

sudo nano /etc/systemd/system/node_exporter.service

Insert the following into the node_exporter systemd service file.

[Unit]
Description=Node Exporter

[Service]
Type=simple
Restart=always
RestartSec=5
User=node_exporter
ExecStart=/usr/local/bin/node_exporter

[Install]
WantedBy=multi-user.target

Save the file and exit the editor.

Optional: Clean Up Installation Files

Remove the node_exporter archive and installation directory.

cd
rm node_exporter-1.5.0.linux-amd64.tar.gz
rm -rf node_exporter-1.5.0.linux-amd64

Notes

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

We have not yet configured nor started node_exporter.

The instructions below are for version 1.5.0. , and adapt the instructions below.

Check for newer versions of node_exporter
Results of adduser command
Results of wget command
Results of tar node_exporter command