The TIG Stack
The Telegraf-InfluxDB-Grafana (TIG) stack is a popular open-source monitoring solution. Telegraf collects metrics, InfluxDB stores them as time-series data, and Grafana provides beautiful dashboards. This stack is lightweight and well-suited for monitoring Breezes.
Prerequisites
- A Breeze with at least 2 GB RAM running Ubuntu 22.04
- Root or sudo access
Install InfluxDB
wget -q https://repos.influxdata.com/influxdata-archive_compat.key
echo '943666881a1b8d9b849b74caebf02d3465d6beb716510d86a39f6c8e8dac7515 influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
echo "deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main" | sudo tee /etc/apt/sources.list.d/influxdata.list
sudo apt update && sudo apt install -y influxdb2
sudo systemctl enable --now influxdb
Complete the initial setup at http://your-breeze-ip:8086. Create an organization, bucket, and API token.
Install Telegraf
sudo apt install -y telegraf
Edit /etc/telegraf/telegraf.conf to configure the InfluxDB v2 output plugin with your token, organization, and bucket.
sudo systemctl enable --now telegraf
Install Grafana
sudo apt install -y apt-transport-https software-properties-common
wget -q -O - https://apt.grafana.com/gpg.key | gpg --dearmor | sudo tee /usr/share/keyrings/grafana.gpg > /dev/null
echo "deb [signed-by=/usr/share/keyrings/grafana.gpg] https://apt.grafana.com stable main" | sudo tee /etc/apt/sources.list.d/grafana.list
sudo apt update && sudo apt install -y grafana
sudo systemctl enable --now grafana-server
Connect Grafana to InfluxDB
Open Grafana at http://your-breeze-ip:3000 (default admin/admin). Add InfluxDB as a data source using the Flux query language. Import a Telegraf system dashboard from the Grafana dashboard library to get instant visibility into CPU, memory, disk, and network metrics.