Async replication: how to get an alert on failure

Поиск
Список
Период
Сортировка
От Edson Richter
Тема Async replication: how to get an alert on failure
Дата
Msg-id BLU0-SMTP36295E42C95BA31416DD9C9CFCB0@phx.gbl
обсуждение исходный текст
Ответы Re: Async replication: how to get an alert on failure  (Toby Corkindale <toby.corkindale@strategicdata.com.au>)
Список 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 по дате отправления:

Предыдущее
От: "David Johnston"
Дата:
Сообщение: Re: Need help with SQL query and finding NULL array_agg
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Threads With Libpq Issue