ComputingInternet Of Things

Grafana and InfluxDB in Pi Zero W

Yes, instructions as of late 2019! Using a standard Raspbian Install on Pi Zero W.

InfluxDB

get https://dl.influxdata.com/influxdb/releases/influxdb-1.7.9_linux_armhf.tar.gz
tar xvfz influxdb-1.7.9_linux_armhf.tar.gz
sudo cp -rp usr/* /usr ; sudo cp -rp etc/* /etc ; sudo cp -rp var/* /var
sudo cp /usr/lib/influxdb/scripts/influxdb.service /etc/systemd/system
sudo systemctl enable influxdb
sudo systemctl start influxd

The database files should be stored on a seperate ‘drive’ such as a USB stick. Todo.

Grafana

wget https://dl.grafana.com/oss/release/grafana-rpi_6.4.4_armhf.deb

sudo dpkg -i grafana-rpi_6.4.4_armhf.deb

Leave a Reply

Your email address will not be published. Required fields are marked *