Prometheus: Unterschied zwischen den Versionen

Aus Info-Theke
Zur Navigation springen Zur Suche springen
Zeile 3: Zeile 3:
= Installation =
= Installation =
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
apt install prometheus
apt install prometheus gnupg2 curl software-properties-common
curl -fsSL https://packages.grafana.com/gpg.key | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/grafana.gpg
add-apt-repository "deb https://packages.grafana.com/oss/deb stable main"
apt update && apt -y install grafana
systemctl start grafana-server
</syntaxhighlight>
</syntaxhighlight>



Version vom 14. Februar 2023, 18:40 Uhr


Installation

apt install prometheus gnupg2 curl software-properties-common
curl -fsSL https://packages.grafana.com/gpg.key | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/grafana.gpg
add-apt-repository "deb https://packages.grafana.com/oss/deb stable main"
apt update && apt -y install grafana
systemctl start grafana-server

Konfiguration

  • /etc/prometheus/prometheus.yaml

  • /etc/default/prometheus
ARGS="--web.listen-address=19090"

Dateien/Verzeichnisse

  • /lib/systemd/system/prometheus.service