Prometheus: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 18: | Zeile 18: | ||
ARGS="--web.listen-address=19090" | ARGS="--web.listen-address=19090" | ||
</pre> | </pre> | ||
* /etc/grafana/grafana.ini | |||
= Dateien/Verzeichnisse = | = Dateien/Verzeichnisse = | ||
* /lib/systemd/system/prometheus.service | * /lib/systemd/system/prometheus.service |
Version vom 14. Februar 2023, 16:53 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"
- /etc/grafana/grafana.ini
Dateien/Verzeichnisse
- /lib/systemd/system/prometheus.service