bundles/transmission: add telegraf statistics
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit

This commit is contained in:
Franzi 2021-05-19 20:12:52 +02:00
parent 3b3bdeecab
commit df192e543b
Signed by: kunsi
GPG key ID: 12E3D2136B818350
4 changed files with 65 additions and 2 deletions

View file

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