-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uses old dovecot stats module #8
Comments
Thanks for your issue. |
I never got it working either way, with the old or new stats modules. Always received a message roughly like this:
|
@ageis does |
In Dovecot 2.3[1] the stats module changed and now the UNIX socket provided by Dovecot by default isn't compatible anymore with the exporter[2]. By enabling the `old-stats` plugin in Dovecot this issue can be solved which should be documented in this module. [1] https://wiki2.dovecot.org/Upgrading/2.3 [2] kumina/dovecot_exporter#8
In Dovecot 2.3[1] the stats module changed and now the UNIX socket provided by Dovecot by default isn't compatible anymore with the exporter[2]. By enabling the `old-stats` plugin in Dovecot this issue can be solved which should be documented in this module. [1] https://wiki2.dovecot.org/Upgrading/2.3 [2] kumina/dovecot_exporter#8
I'm receiving the same output as @ageis Is there any fix for that?
|
Same error than @ageis for dovecot 2.3.4 |
see https://doc.dovecot.org/configuration_manual/stats/old_statistics/#old-statistics to configure the old stats and https://wiki2.dovecot.org/Upgrading/2.3 vor the changes to the setings names. for me it works on dovecot 2.3.9 |
@L0ric0 |
FWIW, it looks like dovecot gets native support for prometheus-style metrics soon: dovecot/core@d22a324 |
in
i think that was all, as it was some time ago i don't know if there was more |
For anyone else coming across this, it is officially supported in dovecot from version 2.3.11 https://doc.dovecot.org/configuration_manual/stats/openmetrics/ Can't install it on focal, but I got it working on hirsute. It's very simple to configure now. |
This exporter relies on the old style dovecot stats module (https://wiki2.dovecot.org/Statistics/Old), which has been replaced with a new (built-in) system as of version 2.3 (https://wiki2.dovecot.org/Statistics)
The text was updated successfully, but these errors were encountered: