File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
nixos/modules/services/monitoring/prometheus/exporters Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 3535 {
3636 <xref linkend="opt-services.prometheus.exporters.dovecot.enable" /> = true;
3737 <xref linkend="opt-services.prometheus.exporters.dovecot.socketPath" /> = "/var/run/dovecot2/old-stats";
38+ <xref linkend="opt-services.dovecot2.mailPlugins.globally.enable" /> = [ "old_stats" ];
3839 <xref linkend="opt-services.dovecot2.extraConfig" /> = '''
39- mail_plugins = $mail_plugins old_stats
4040 service old-stats {
4141 unix_listener old-stats {
4242 user = dovecot-exporter
4343 group = dovecot-exporter
44+ mode = 0660
4445 }
46+ fifo_listener old-stats-mail {
47+ mode = 0660
48+ user = dovecot
49+ group = dovecot
50+ }
51+ fifo_listener old-stats-user {
52+ mode = 0660
53+ user = dovecot
54+ group = dovecot
55+ }
56+ }
57+ plugin {
58+ old_stats_refresh = 30 secs
59+ old_stats_track_cmds = yes
4560 }
4661 ''' ;
4762 }
You can’t perform that action at this time.
0 commit comments