Prometheus
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