Node exporter: Difference between revisions

From wikinotes
No edit summary
No edit summary
Line 14: Line 14:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
pacman -S prometheus-node-exporter
pacman -S prometheus-node-exporter
pkg install node_exporter
pkg install node_exporter   # FreeBSD
</syntaxhighlight>
 
<syntaxhighlight lang="bash">
sysctl enable node_exporter  # FreeBSD
</syntaxhighlight>
</syntaxhighlight>
</blockquote><!-- Install -->
</blockquote><!-- Install -->
Line 21: Line 25:
<blockquote>
<blockquote>
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
sysctl enable node_exporter # FreeBSD
curl -X GET http://${IP_ADDR}:9100 # collect metrics
</syntaxhighlight>
</syntaxhighlight>
</blockquote><!-- Usage -->
</blockquote><!-- Usage -->

Revision as of 02:00, 16 February 2022

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

Documentation

github https://github.com/prometheus/node_exporter

Install

pacman -S prometheus-node-exporter
pkg install node_exporter    # FreeBSD
sysctl enable node_exporter  # FreeBSD

Usage

curl -X GET http://${IP_ADDR}:9100  # collect metrics