Node exporter: Difference between revisions

From wikinotes
 
(6 intermediate revisions by the same user not shown)
Line 7: Line 7:
| github || https://github.com/prometheus/node_exporter
| github || https://github.com/prometheus/node_exporter
|-
|-
| metrics || https://github.com/prometheus/node_exporter#enabled-by-default
| default metrics || https://github.com/prometheus/node_exporter#enabled-by-default
|-
| community text exporters || https://github.com/prometheus-community/node-exporter-textfile-collector-scripts
|-
|-
|}
|}
</blockquote><!-- Documentation -->
</blockquote><!-- Documentation -->


= Install =
= Routing =
<blockquote>
<blockquote>
<syntaxhighlight lang="bash">
{| class="wikitable"
pacman -S prometheus-node-exporter
|-
pkg install node_exporter    # FreeBSD
| <code>9100</code> || default port
</syntaxhighlight>
|-
| <code>http://localhost:9100</code> || minimal web-ui
|-
|}
</blockquote><!-- Routing -->


<syntaxhighlight lang="bash">
= Locations =
sysctl enable node_exporter # FreeBSD
<blockquote>
</syntaxhighlight>
{| class="wikitable"
</blockquote><!-- Install -->
|-
| <code>/var/tmp/node_exporter</code> || directory for .prom metric dumps
|-
|}
</blockquote><!-- Locations -->


= Usage =
= Notes =
<blockquote>
<blockquote>
<syntaxhighlight lang="bash">
{| class="wikitable"
curl -X GET http://${IP_ADDR}:9100/metrics  # collect metrics
|-
</syntaxhighlight>
| [[node_exporter install]]
</blockquote><!-- Usage -->
|-
| [[node_exporter configuration]]
|-
| [[node_exporter usage]]
|-
| [[node_exporter troubleshooting]]
|-
|}
</blockquote><!-- Notes -->

Latest revision as of 17:49, 16 April 2022

Collects and exposes information about a server's resources to prometheus.

Documentation

github https://github.com/prometheus/node_exporter
default metrics https://github.com/prometheus/node_exporter#enabled-by-default
community text exporters https://github.com/prometheus-community/node-exporter-textfile-collector-scripts

Routing

9100 default port
http://localhost:9100 minimal web-ui

Locations

/var/tmp/node_exporter directory for .prom metric dumps

Notes

node_exporter install
node_exporter configuration
node_exporter usage
node_exporter troubleshooting