bundles/rspamd: add telegraf metrics
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit

This commit is contained in:
Franzi 2021-08-23 22:19:31 +02:00
parent ad159cc29a
commit 2940bfd3d8
Signed by: kunsi
GPG key ID: 12E3D2136B818350
5 changed files with 361 additions and 2 deletions

View file

@ -55,7 +55,20 @@ defaults = {
},
},
'rspamd': {
'dkim': repo.vault.password_for(node.name + ' rspamd dkim key'),
'dkim': repo.vault.password_for(f'{node.name} rspamd dkim key'),
},
'telegraf': {
'input_plugins': {
'exec': {
'rspamd': {
'commands': [
'/usr/local/bin/telegraf-rspamd-plugin',
],
'data_format': 'influx',
'timeout': '5s',
},
},
},
},
'zfs': {
'datasets': {