Prometheus install: Difference between revisions
From wikinotes
No edit summary |
(→NTPD) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 21: | Line 21: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
</blockquote><!-- Enable --> | </blockquote><!-- Enable --> | ||
= NTPD = | |||
<blockquote> | |||
You probably want to use [[ntp]] on the server, and all client OS's so time-relative queries are accurate. | |||
</blockquote><!-- NTPD --> |
Latest revision as of 01:25, 18 February 2022
Install
Prometheus itself
pacman -S prometheus # Archlinux pkg install prometheus # FreeBSDPrometheus 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.