> For the complete documentation index, see [llms.txt](https://docs.stakelocal.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stakelocal.io/dashboard-installation/install-supporting-software/install-node_exporter.md).

# Install node\_exporter

## 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
```

<figure><img src="/files/txY9C0w3G0hQVRgHtcWJ" alt=""><figcaption><p>Results of <code>adduser</code> command</p></figcaption></figure>

### Install node\_exporter

The instructions below are for version 1.5.0. [Check for newer versions of node\_exporter](https://github.com/prometheus/node_exporter/releases), and adapt the instructions below.

Download the latest release.

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

<figure><img src="/files/DR83oZFVD4P0IPaRbLtq" alt=""><figcaption><p>Results of <code>wget</code> command</p></figcaption></figure>

Unpack the release.

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

<figure><img src="/files/kVNfhtKUK7qJwvjUv5vG" alt=""><figcaption><p>Results of <code>tar node_exporter</code> command</p></figcaption></figure>

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

```bash
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.

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

Insert the following into the node\_exporter systemd service file.

<pre><code><strong>[Unit]
</strong>Description=Node Exporter

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

[Install]
WantedBy=multi-user.target
</code></pre>

Save the file and exit the editor.

### Optional: Clean Up Installation Files

Remove the node\_exporter archive and installation directory.

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

### Notes

{% hint style="info" %}
node\_exporter will listen on port 9100. This is the port from which Prometheus will query for metrics.
{% endhint %}

{% hint style="warning" %}
We have not yet configured nor started node\_exporter.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.stakelocal.io/dashboard-installation/install-supporting-software/install-node_exporter.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
