Monitoring zur Überwachung des Raspberry Pi inklusive Temperatur und Wifi
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Joachim Hummel 8a9f5765db Edit Readme 3 months ago
Datasource-InfluxDB-Grafana.png Added Screenshot Datasource 3 months ago
Grafana-Raspberry.json Typo 3 months ago
LICENSE Initial commit 3 months ago
README.md Edit Readme 3 months ago
Telegraf-1.png Dateien hochladen nach „“ 3 months ago
Telegraf-2.png Added Screenshot 3 months ago
raspberry.conf Added Files 3 months ago
telegraf_pi_temp.sh Added Files 3 months ago
telegraf_pi_wifi.sh Added Files 3 months ago

README.md

InfluxDB Grafana Raspberry Monitor mit Telegraf

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_*

Anpassung InfluxDB und Telegraf:

vi /etc/telegraf/telegraf.conf

 urls = ["http://127.0.0.1:8086"]

Import Grafana Dashboard

Import Grafana-Raspberry.json

Siehe weitere Instruktionen im Wiki !