Prometheus install: Difference between revisions

From wikinotes
 
Line 24: Line 24:
= NTPD =
= NTPD =
<blockquote>
<blockquote>
You probably want to use [[ntpd]] on the server, and all client OS's so time-relative queries are accurate.
You probably want to use [[ntp]] on the server, and all client OS's so time-relative queries are accurate.
</blockquote><!-- NTPD -->
</blockquote><!-- NTPD -->

Latest revision as of 01:25, 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 ntp on the server, and all client OS's so time-relative queries are accurate.