bundles/rspamd: add telegraf metrics
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
This commit is contained in:
parent
ad159cc29a
commit
2940bfd3d8
5 changed files with 361 additions and 2 deletions
|
@ -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': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue