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...") |
(→NTPD) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= | = 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 --> | |||
= 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.