bundlewrap/bundles/telegraf-battery-usage/metadata.py

18 lines
475 B
Python
Raw Permalink Normal View History

2021-11-15 20:18:42 +00:00
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',
},
},
}