Update README.md

This commit is contained in:
feedc0de authored and GitHub committed 2021-12-04 18:52:52 +01:00
1 parent dfad4fea70
commit 99fb16b523
1 file changed
+8
+8
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"
```