RE: Dovecot 2.3.18 and OpenMetrics-Prometheus problem

2022-03-17 Thread Marc
> > >> dovecot_sieve_actions_total{"duration_10001_10"} 88
> > >
> > > This label specification is invalid (it's missing the label name).
> > >
> > > Everything else seems valid, so I assume a workaround may be to
> comment out the "sieve_actions" metric you have declared.
> >
> > thank you very much. Indeed that helped me a lot. @Aki: So this seems
> really to be a bug in Dovecot. Can you confirm this?

Why not include finally a sample config file with all metrics.

https://www.mail-archive.com/dovecot@dovecot.org/msg84660.html



Re: Dovecot 2.3.18 and OpenMetrics-Prometheus problem

2022-03-17 Thread Aki Tuomi


> On 17/03/2022 17:23 Christian Rößner  wrote:
> 
>  
> Hi,
> 
> > Am 17.03.2022 um 10:43 schrieb Eirik Rye :
> > 
> > On 25/02/2022 11:50, Christian Rößner wrote:
> >> dovecot_sieve_actions_total{"duration_10001_10"} 88
> > 
> > This label specification is invalid (it's missing the label name).
> > 
> > Everything else seems valid, so I assume a workaround may be to comment out 
> > the "sieve_actions" metric you have declared.
> 
> thank you very much. Indeed that helped me a lot. @Aki: So this seems really 
> to be a bug in Dovecot. Can you confirm this?
> 
> Regards
> 
> Christian 
> -- 

Christian, can you provide your doveconf -n? I'd like to see how you've defined 
the metrics.

Aki


Re: Dovecot 2.3.18 and OpenMetrics-Prometheus problem

2022-03-17 Thread Christian Rößner
Hi,

> Am 17.03.2022 um 10:43 schrieb Eirik Rye :
> 
> On 25/02/2022 11:50, Christian Rößner wrote:
>> dovecot_sieve_actions_total{"duration_10001_10"} 88
> 
> This label specification is invalid (it's missing the label name).
> 
> Everything else seems valid, so I assume a workaround may be to comment out 
> the "sieve_actions" metric you have declared.

thank you very much. Indeed that helped me a lot. @Aki: So this seems really to 
be a bug in Dovecot. Can you confirm this?

Regards

Christian 
-- 
Rößner-Network-Solutions
Zertifizierter ITSiBe / CISO
Karl-Bröger-Str. 10, 36304 Alsfeld
Fax: +49 6631 78823409, Mobil: +49 171 9905345
USt-IdNr.: DE225643613, https://roessner.website
PGP fingerprint: 658D 1342 B762 F484 2DDF 1E88 38A5 4346 D727 94E5 



Re: Finding Users Over Quota

2022-03-17 Thread Teemu Huovila

Hello

On 16.3.2022 20.44, dove...@ptld.com wrote:

Using doveadm quota will let you see if a specific user is over quota.
Is there a way to have dovecot tell you which users are currently over quota?

Is the quota_clone plugin a way to save user quota to dict like how last_login 
saves to dict?


The documentation for quota_clone is MIA. (As of 3/16/22)
https://wiki2.dovecot.org/Plugins
  v
https://wiki2.dovecot.org/Plugins/QuotaClone
  v
https://doc.dovecot.org/plugin-settings/quota-clone-plugin/
  v
404 Not Found


The links, from the old documentation to the new, unfortunately broke when 
restructuring the content for settings. You can find documentation using the search 
function. E.g. quota clone is at 
https://doc.dovecot.org/settings/plugin/quota-clone-plugin .


Teemu