From: Edson Richter <richter@simkorp.com.br>
To: pgsql-general@postgresql.org
Subject: Async replication: how to get an alert on failure
Date: Wed, 01 Aug 2012 19:29:57 -0300
Message-ID: <5019ADE5.4050800@simkorp.com.br> (raw)
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
Attachments:cfgfcdef.png (image/png, 3.9K) downloadview image
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: richter@simkorp.com.br
Subject: Re: Async replication: how to get an alert on failure
In-Reply-To: <5019ADE5.4050800@simkorp.com.br>
References: <5019ADE5.4050800@simkorp.com.br>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox