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

From pavan95
Subject Re: Async replication: how to get an alert on failure
Date
Msg-id 1536214669218-0.post@n3.nabble.com
Whole thread Raw
In response to Re: Async replication: how to get an alert on failure  (Karl Denninger <karl@denninger.net>)
List pgsql-general
Hi Karl,

Hope my mail finds you in good time. 


>I wrote a small program that goes to each of the servers in the replication
group and checks its status on the log, computes the difference, and if off
by more than "X" bytes prints a notification.

Did you configure ssh ??

>If this is run from the cron it will remain silent unless the offset is
breached at which point it will emit an email to the submitting owner of the
job. 

Could you please share your views on how to achieve it?  Thanks in Advance.


Regards,
Pavan



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html


pgsql-general by date:

Previous
From: jimmy
Date:
Subject: How to install pgAgent on windows for postresql-bigsql-10.5
Next
From: Thiemo Kellner
Date:
Subject: Re: PostgreSQL intenal scheduler?