Részletesebb, professzionális szintű megfigyelhetőséghez (metrikák gyűjtése, tárolása és vizualizálása) a Grafana + Prometheus + InfluxDB kombináció elterjedt választás.

Hivatalos telepítési útmutató: https://grafana.com/docs/installation/debian/

Megjegyzés: Raspberry Pi (ARM) architektúrához külön build szükséges: https://grafana.com/grafana/download/7.3.3?platform=arm

Grafana telepítése

nano /etc/apt/sources.list
# hozzáadandó:
deb https://packages.grafana.com/oss/deb stable main

wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
apt update
apt install grafana

service grafana-server start
sudo update-rc.d grafana-server defaults
sudo systemctl enable grafana-server

Prometheus telepítése

apt install prometheus
sudo systemctl daemon-reload
sudo systemctl start prometheus
sudo systemctl status prometheus
sudo systemctl enable prometheus

InfluxDB telepítése és alap adatbázis létrehozása

apt install influxdb

curl -i -XPOST "http://localhost:8086/query?q=CREATE+DATABASE+[adatbazis_nev]"
curl -i -XPOST "http://localhost:8086/query?q=SHOW+DATABASES"

← Vissza: Linux