bundlewrap/bundles/telegraf-battery-usage/metadata.py
Franziska Kunsmann e17d1ab02f
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
add bundle:telegraf-battery-usage
2021-11-15 21:18:42 +01:00

17 lines
475 B
Python

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',
},
},
}