Re: Log file monitoring and event notification

From: bricklen <bricklen(at)gmail(dot)com>
To: Andy Colson <andy(at)squeakycode(dot)net>
Cc: PostgreSQL general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Log file monitoring and event notification
Date: 2014-04-06 02:02:09
Message-ID: CAGrpgQ-G-RM1UkhnW2x3tQjcAvLQCoNOHMZf54n28yn5Fe5TRQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, Apr 5, 2014 at 8:47 AM, Andy Colson <andy(at)squeakycode(dot)net> wrote:

> Hi All.
>
> I've started using replication, and I'd like to monitor my logs for any
> errors or problems. I don't want to do it manually, and I'm not interested
> in stats (a la PgBadger).
>
> What I'd like, is the instant PG logs: "FATAL: wal segment already
> removed" (or some such bad thing), I'd like to get an email.
>
> 1st: is anyone using a program that does something like this? What do you
> use? How do you like it?
>

Tail 'n' Mail from Bucardo might be what you're after:
http://bucardo.org/wiki/Tail_n_mail

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ilya Ivanov 2014-04-06 08:29:33 Re: Regexp matching + typecasts
Previous Message Adrian Klaver 2014-04-06 00:30:14 Re: Any way to insert rows with ID used in another column