Update README.md

This commit is contained in:
2021-12-04 18:52:52 +01:00
committed by GitHub
parent dfad4fea70
commit 99fb16b523

View File

@@ -1,2 +1,10 @@
# telegraf-battery-input
Telegraf battery monitoring
Add the following config section to your telegraf.yml:
```
[[inputs.exec]]
commands = ["/etc/telegraf/battery.sh"]
data_format = "influx"
```