Prometheus install

From wikinotes
Revision as of 01:25, 18 February 2022 by Will (talk | contribs) (→‎NTPD)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.