Async replication: how to get an alert on failure - Mailing list pgsql-general

From Edson Richter
Subject Async replication: how to get an alert on failure
Date
Msg-id 5019ADE5.4050800@simkorp.com.br
Whole thread Raw
Responses Re: Async replication: how to get an alert on failure  (Karl Denninger <karl@denninger.net>)
List pgsql-general
I have few PostgreSQL servers established with replication.
Now, is there any way to receive an e-mail in case of error during synchronization?
I mean, is there an script I can run (maybe every 5 minutes) that will check if replication is stolen, and send an e-mail in case of failure?

Thanks,
--

Edson Carlos Ericksson Richter
SimKorp Informática Ltda
Fone:(51) 3366-7964
Celular:(51)9318-9766/(51) 8585-0796
Embedded Image

Attachment

pgsql-general by date:

Previous
From: "leoxu"
Date:
Subject: 答复: 答复: [GENERAL] how to calculate or know seq_scan scan how many blocks every time
Next
From: dud
Date:
Subject: How to get results with zero count from this query?