Prometheus install: Difference between revisions

From wikinotes
(Created page with "= Notes = <blockquote> Prometheus itself <syntaxhighlight lang="bash"> pacman -S prometheus # Archlinux pkg install prometheus # FreeBSD </syntaxhighlight> Prometheus exp...")
 
No edit summary
Line 1: Line 1:
= Notes =
= Install =
<blockquote>
<blockquote>
Prometheus itself
Prometheus itself
Line 13: Line 13:
</syntaxhighlight>
</syntaxhighlight>
</blockquote><!-- Notes -->
</blockquote><!-- Notes -->
= Enable =
<blockquote>
<syntaxhighlight lang="bash">
systemctl enable prometheus.service  # Archlinux
sysctl enable prometheus            # FreeBSD
</syntaxhighlight>
</blockquote><!-- Enable -->

Revision as of 02:47, 16 February 2022

Install

Prometheus itself

pacman -S prometheus    # Archlinux
pkg install prometheus  # FreeBSD

Prometheus exporters See prometheus exporters.

pacman -S prometheus-node-exporter  # Archlinux
pkg install node_exporter           # FreeBSD

Enable

systemctl enable prometheus.service  # Archlinux
sysctl enable prometheus             # FreeBSD