On Sat, Apr 5, 2014 at 8:47 AM, Andy Colson <a...@squeakycode.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