gitlab-org--gitlab-foss/doc/administration/monitoring/prometheus/node_exporter.md

29 lines
969 B
Markdown
Raw Normal View History

---
stage: Monitor
group: Monitor
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
---
# Node exporter **(FREE SELF)**
2017-02-08 07:40:11 -05:00
The [node exporter](https://github.com/prometheus/node_exporter) enables you to measure
various machine resources such as memory, disk and CPU utilization.
2017-02-08 07:40:11 -05:00
For installations from source you must install and configure it yourself.
2017-02-08 07:40:11 -05:00
To enable the node exporter:
1. [Enable Prometheus](index.md#configuring-prometheus).
1. Edit `/etc/gitlab/gitlab.rb`.
1. Add (or find and uncomment) the following line, making sure it's set to `true`:
2017-02-08 07:40:11 -05:00
```ruby
node_exporter['enable'] = true
```
2017-02-08 07:40:11 -05:00
1. Save the file, and [reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure)
for the changes to take effect.
2017-02-08 07:40:11 -05:00
Prometheus begins collecting performance data from the node exporter
exposed at `localhost:9100`.