Monitoring Dovecot Replication

Steven Varco dovecot.org at bbs.varco.ch
Fri Feb 12 18:53:09 EET 2021


Hi Andrea

It would be great if oyu could post that here, as I (and possibly others) would also be interested. :)

thanks,
Steven

-- 
https://steven.varco.ch/ 

> Am 12.02.2021 um 15:12 schrieb Andrea Gabellini <andrea.gabellini at telecomitalia.sm>:
> 
> Hello,
> 
> I wrote a little script for Check_MK (MRPE mode).
> 
> If you want to try it I can send it to you.
> 
> Andrea
> 
> Il 12/02/21 11:47, MK ha scritto:
>> Hello,
>> 
>> I have a cluster with two dovecot nodes with dovecot replication between them. 
>> The setup works fine and now I'm searching for a way to monitor the users so that I can get an information if the replication fails for one user for a longer time and I have to trigger the replication manually. Most of the time if I see a replication failure the self healing of dovecot replication repairs this in max. 10 min. 
>> 
>> I have tried different combinations of querying " doveadm replicator status '*' " and search for failed users and then send an alarm if one of fast sync, full sync or success sync reaches a threshold. But there is no combination that seems to be working if I only want to trigger this if I have to fix the replication manualy. 
>> 
>> Can someone tell me what I have to query to get only the user who's replication failed for a longer time (10 min +) and that I have to fix manually?
>> 
>> Thank you.
>> 
>> Oliver
> 
> -- 
> __________________________
> Ama e fa cio' che vuoi
> __________________________
> 
> TIM San Marino S.p.A.
> Andrea Gabellini
> Engineering R&D
> TIM San Marino S.p.A. - https://www.telecomitalia.sm
> Via Ventotto Luglio, 212 - Piano -2
> 47893 - Borgo Maggiore - Republic of San Marino
> Tel: (+378) 0549 886237
> Fax: (+378) 0549 886188
> 
> 
> --
> Informativa Privacy
> 
> Questa email ha per destinatari dei contatti presenti negli archivi di TIM San Marino S.p.A.. Tutte le informazioni vengono trattate e tutelate nel rispetto della normativa vigente sulla protezione dei dati personali (Reg. EU 2016/679). Per richiedere informazioni e/o variazioni e/o la cancellazione dei vostri dati presenti nei nostri archivi potete inviare una email a privacy at telecomitalia.sm.
> 
> Avviso di Riservatezza
> 
> Il contenuto di questa e-mail e degli eventuali allegati e' strettamente confidenziale e destinato alla/e persona/e a cui e' indirizzato. Se avete ricevuto per errore questa e-mail, vi preghiamo di segnalarcelo immediatamente e di cancellarla dal vostro computer. E' fatto divieto di copiare e divulgare il contenuto di questa e-mail. Ogni utilizzo abusivo delle informazioni qui contenute da parte di persone terze o comunque non indicate nella presente e-mail potra' essere perseguito ai sensi di legge.



More information about the dovecot mailing list