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,6 +55,9 @@ files = {
'/etc/rspamd/local.d/ip_whitelist.map': {
'content_type': 'mako',
},
'/usr/local/bin/telegraf-rspamd-plugin': {
'mode': '0755',
},
}
@ -92,7 +95,7 @@ if 'dkim' in node.metadata.get('rspamd', {}):
},
}
if 'password' in node.metadata.get('rspamd', {}):
if node.metadata.get('rspamd/password', None):
files['/etc/rspamd/local.d/worker-controller.inc'] = {
'content_type': 'mako',
'triggers': {