InfluxDB
Aus Hackerspace Ffm
Version vom 19. Juli 2018, 22:32 Uhr von Strange (Diskussion | Beiträge)
Installation
curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add - echo "deb https://repos.influxdata.com/debian stretch stable" | sudo tee /etc/apt/sources.list.d/influxdb.list sudo apt update sudo apt install influxdb telegraf sudo systemctl enable influxdb sudo systemctl start influxdb
Konfigurieren
influx > CREATE DATABASE openhab_db > CREATE USER admin WITH PASSWORD '<passwort>' WITH ALL PRIVILEGES > CREATE USER openhab WITH PASSWORD '<passwort>' > CREATE USER grafana WITH PASSWORD '<passwort>' > GRANT ALL ON openhab_db TO openhab > GRANT READ ON openhab_db TO grafana > exit