A InfluxDB database and Grafana frontend for lab log storage and visualization.
The goal is to have real-time and historical monitoring of the lab's instrument logbooks so that machine performance and status can be evaluated.
- Install Grafana, InfluxDB, and Collectd
# install dependencies
apt-get install -y software-properties-common
# add Grafana repo
add-apt-repository "deb https://packages.grafana.com/oss/deb stable main"
# add Grafana repo key and add it to apt-key
wget -q -O - https://packages.grafana.com/gpg.key | apt-key add -
# update apt's cache
apt-get update
# install
apt install influxdb grafana collectd
- Place influxdb.conf from this repository in
/etc/influxdb
- Place types.db from this repository in
/etc/share/collectd
- Place collectd.conf from this repository in
/etc/collectd
- Run the following commands to start influxdb, collectd, and grafana as a systemctl service
systemctl start influxdb
systemctl start collectd
systemctl start grafana-server
Why useful