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 BLU0-SMTP36295E42C95BA31416DD9C9CFCB0@phx.gbl
Whole thread Raw
Responses Re: Async replication: how to get an alert on failure  (Toby Corkindale <toby.corkindale@strategicdata.com.au>)
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 (cron?) 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 Richter


pgsql-general by date:

Previous
From: "David Johnston"
Date:
Subject: Re: Need help with SQL query and finding NULL array_agg
Next
From: Craig Ringer
Date:
Subject: Re: Threads With Libpq Issue