From: pavan95 <pavan.postgresdba@gmail.com>
To: pgsql-general@postgresql.org
Subject: Re: Async replication: how to get an alert on failure
Date: Wed, 5 Sep 2018 23:17:49 -0700 (MST)
Message-ID: <1536214669218-0.post@n3.nabble.com> (raw)
In-Reply-To: <5019F281.8070109@denninger.net>
References: <5019ADE5.4050800@simkorp.com.br>
<5019F281.8070109@denninger.net>
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
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: pavan.postgresdba@gmail.com
Subject: Re: Async replication: how to get an alert on failure
In-Reply-To: <1536214669218-0.post@n3.nabble.com>
References: <5019ADE5.4050800@simkorp.com.br> <5019F281.8070109@denninger.net> <1536214669218-0.post@n3.nabble.com>
* 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