raspiblitz/home.admin/assets/telegraf
2021-08-26 22:16:19 +02:00
..
etc-telegraf user RAM drive instead of temp 2021-08-26 22:16:19 +02:00
raspiblitz-grafana-dashboard.json add metric collection via telegraf as new bonus service (improved version) (#1616) 2021-03-22 22:21:06 +01:00
raspiblitz.conf-snippet-for-telegraf add metric collection via telegraf as new bonus service (improved version) (#1616) 2021-03-22 22:21:06 +01:00
README.md add metric collection via telegraf as new bonus service (improved version) (#1616) 2021-03-22 22:21:06 +01:00

telegraf is a metric collection tool by influxData. It is opensource and works fine with influxDB as the timeseries database and Grafana as the graphics front end.

You may take a look here for a nice dockerized installation of influxDB and Grafana on a raspberry pi.

Make sure to have a telegraf section in your /mnt/hdd/raspiblitz.conf you have to manually edit them into /mnt/hdd/raspiblitz.conf before calling

/home/admin/config.scripts/bonus.telegraf.sh on

You have to provide a running influxDB / Grafana infrastructure elsewhere (reachable for the RaspiBlitz)

telegraf section for raspiblitz.conf

All telegraf switches and configuration variables. You may copy & paste them into your RaspiBlitz configuration at /mnt/hdd/raspiblitz.conf, after editing and providing the proper values which match your environment

# all telegraf switches and configuration variables
#
# switch telegraf service and metrics capturing on/off
telegrafMonitoring=on
#
# the full url to your influxDB data ingestion point, with port
telegrafInfluxUrl='http://192.168.2.46:8086'
#
# the name of your influxDB database
telegrafInfluxDatabase='raspiblitz'
#
# credentials for this database
telegrafInfluxUsername='telegraf'
telegrafInfluxPassword='metricsmetricsmetricsmetrics'