bundles: various fixes for telegraf plugins
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit

This commit is contained in:
Franzi 2021-04-24 11:45:58 +02:00
parent a980e22ecb
commit 6772b3b5d0
Signed by: kunsi
GPG key ID: 12E3D2136B818350
11 changed files with 39 additions and 10 deletions

View file

@ -52,6 +52,9 @@ plugin {
sieve_pipe_bin_dir = /var/mail/vmail/sieve/bin
sieve_extensions = +vnd.dovecot.pipe
old_stats_refresh = 30 secs
old_stats_track_cmds = yes
% if node.has_bundle('rspamd'):
sieve_before = /var/mail/vmail/sieve/global/spam-global.sieve
@ -122,7 +125,7 @@ protocol lmtp {
}
protocol imap {
mail_plugins = $mail_plugins imap_zlib imap_sieve
mail_plugins = $mail_plugins imap_zlib imap_sieve imap_old_stats
mail_max_userip_connections = 50
imap_idle_notify_interval = 29 mins
}
@ -133,3 +136,12 @@ protocol sieve {
sieve_storage = /var/mail/vmail/sieve/%d/%n/
}
}
% if node.has_bundle('telegraf'):
service old-stats {
inet_listener {
address = 127.0.0.1
port = 24242
}
}
% endif

View file

@ -49,7 +49,9 @@ if node.has_bundle('telegraf'):
defaults['telegraf'] = {
'input_plugins': {
'builtin': {
'dovecot': [{}],
'dovecot': [{
'type': 'global',
}],
},
},
}