Short series - Setup monitoring with InfluxDB and Grafana

apt-get install influxdb

See dockerfile

Setup a database:

influx

CREATE DATABASE physical_data

verify with

SHOW DATABASES

Insert data with curl

curl -i -XPOST ‘http://:8086/write?db=physical_data’ –data-binary “cpu_temp,host= value=$(vcgencmd measure_temp | sed -e s/temp=//g | sed -e s/\‘C//g)”

Grafana

Set new password

Add influxdb source Enter url and database