Node exporter: Difference between revisions

From wikinotes
No edit summary
 
(5 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 -->


= Locations =
= Routing =
<blockquote>
<blockquote>
{| class="wikitable"
{| class="wikitable"
Line 19: Line 21:
|-
|-
| <code>http://localhost:9100</code> || minimal web-ui
| <code>http://localhost:9100</code> || minimal web-ui
|-
|}
</blockquote><!-- Routing -->
= Locations =
<blockquote>
{| class="wikitable"
|-
| <code>/var/tmp/node_exporter</code> || directory for .prom metric dumps
|-
|-
|}
|}
Line 32: Line 43:
|-
|-
| [[node_exporter usage]]
| [[node_exporter usage]]
|-
| [[node_exporter troubleshooting]]
|-
|-
|}
|}
</blockquote><!-- Notes -->
</blockquote><!-- Notes -->
= Install =
<blockquote>
<syntaxhighlight lang="bash">
pacman -S prometheus-node-exporter
pkg install node_exporter    # FreeBSD
</syntaxhighlight>
<syntaxhighlight lang="bash">
sysctl enable node_exporter  # FreeBSD
</syntaxhighlight>
</blockquote><!-- Install -->
= Usage =
<blockquote>
<syntaxhighlight lang="bash">
curl -X GET http://${IP_ADDR}:9100/metrics  # collect metrics
</syntaxhighlight>
</blockquote><!-- Usage -->

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