Re: [GENERAL] Async replication: how to get an alert on failure

2012-08-03 Thread Edson Richter
Em 02/08/2012 00:22, Karl Denninger escreveu: On 8/1/2012 5:29 PM, Edson Richter wrote: 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) th

Re: [GENERAL] Async replication: how to get an alert on failure

2012-08-01 Thread Karl Denninger
On 8/1/2012 5:29 PM, Edson Richter wrote: > 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,

Re: [GENERAL] Async replication: how to get an alert on failure

2012-08-01 Thread Toby Corkindale
On 02/08/12 10:04, Edson Richter wrote: 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, an