Prometheus install: Difference between revisions

From wikinotes
No edit summary
No edit summary
Line 21: Line 21:
</syntaxhighlight>
</syntaxhighlight>
</blockquote><!-- Enable -->
</blockquote><!-- Enable -->
= NTPD =
<blockquote>
You probably want to use [[openntpd]] on the server, and all client OS's so time-relative queries are accurate.
</blockquote><!-- NTPD -->

Revision as of 01:24, 18 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

NTPD

You probably want to use openntpd on the server, and all client OS's so time-relative queries are accurate.