add bundle:telegraf-battery-usage
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit

This commit is contained in:
Franzi 2021-11-15 21:18:42 +01:00
parent 330ce6d3a2
commit e17d1ab02f
Signed by: kunsi
GPG key ID: 12E3D2136B818350
7 changed files with 298 additions and 1 deletions

View file

@ -0,0 +1,17 @@
defaults = {
'telegraf': {
'input_plugins': {
'exec': {
'battery-usage': {
'commands': ['sudo /usr/local/bin/telegraf-plugin-battery-usage'],
'data_format': 'influx',
'timeout': '5s',
'interval': '15s',
},
},
},
'sudo_commands': {
'/usr/local/bin/telegraf-plugin-battery-usage',
},
},
}