|
1 year ago | |
---|---|---|
Datasource-InfluxDB-Grafana.png | 1 year ago | |
Grafana-Raspberry.json | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
Telegraf-1.png | 1 year ago | |
Telegraf-2.png | 1 year ago | |
raspberry.conf | 1 year ago | |
telegraf_pi_temp.sh | 1 year ago | |
telegraf_pi_wifi.sh | 1 year ago |
Monitoring zur Überwachung des Raspberry Pi inklusive Temperatur und Wifi per Telegraf
Raspberry Pi -> Daten -> Telegraf (Zur Datenerfassung) -> InfluxDB (Zur Datenspeicherung) -> Grafana (Zur Visualisierung der Daten aus der InfluxDB)
https://git.unixweb.net/jhummel/InfluxDB-Grafana-Raspberry/wiki/Home
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 telegraf influx grafana
influx
CREATE DATABASE telegraf
CREATE USER "telegraf" WITH PASSWORD 'metricsmetricsmetricsmetrics'
exit
sudo usermod -G video telegraf
cp telegraf_pi_temp.sh /usr/local/bin
cp telegraf_pi_wifi.sh /usr/local/bin/
cp raspberry.conf /etc/telegraf/telegraf.d/rasspberry.conf
chmod +x /usr/local/bin/telegraf_*
vi /etc/telegraf/telegraf.conf
urls = ["http://127.0.0.1:8086"]
Import Grafana-Raspberry.json
Siehe weitere Instruktionen im Wiki !