New Page
InfluxDB-Grafana-Telegraf
- influx update breaks config !!! Apt hold influx (+grafana?)
https://schroederdennis.de/tutorial-howto/proxmox-monitoring-einrichten-installieren-influxdb-grafana/
https://www.howtoforge.com/tutorial/how-to-install-tig-stack-telegraf-influxdb-and-grafana-on-ubuntu-1804/
https://foldingforum.org/viewtopic.php?f=14&t=35660 - HDD Temps Telegraf (install hddtemp daemon!)
https://wiki.ubuntuusers.de/hddtemp/
https://github.com/influxdata/telegraf/tree/master/plugins/inputs/hddtemp - Add problematic smart stats manually:
https://askubuntu.com/questions/474669/ssd-temperature-sensor-readout-with-hddtemp
https://github.com/influxdata/telegraf/blob/master/plugins/inputs/disk/README.md
https://stackoverflow.com/questions/45171907/influxdb-how-to-update-duration-of-an-existing-database - Format Dircount as influx out: https://www.reddit.com/r/grafana/comments/os96l1/influxdbtelegraf_exec_display_issues/h6n6pc6/?context=3
- add telegraf user to nextcloud group in order to be able to scan directories.
https://du.nkel.dev/blog/2021-05-05_proxmox_influxdb/
https://towardsdatascience.com/influxdb-data-retention-f026496d708f - Delete old data in influx
use DATABASE +
https://stackoverflow.com/questions/38587898/in-influxdb-how-to-delete-all-measurements - Countdirectories
Befehl in /usr/bin/countdirectories anlegen:
#!/bin/sh
count=$(ls -l $1 | grep -c ^d)
echo dircount,path=$1 value=$count