bundles/transmission: add telegraf statistics
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit
This commit is contained in:
parent
3b3bdeecab
commit
df192e543b
4 changed files with 65 additions and 2 deletions
|
@ -34,6 +34,20 @@ defaults = {
|
|||
},
|
||||
}
|
||||
|
||||
if node.has_bundle('telegraf'):
|
||||
defaults['telegraf'] = {
|
||||
'input_plugins': {
|
||||
'exec': {
|
||||
'transmission': {
|
||||
'commands': ['telegraf-transmission-plugin'],
|
||||
'interval': '10s',
|
||||
'data_format': 'influx',
|
||||
'timeout': '5s',
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@metadata_reactor.provides(
|
||||
'iptables/port_rules',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue