Re: Is there any plugin for Nagios, which sends Postgresql ERROR information with SQL query in mail?

From: Steve Crawford <scrawford(at)pinpointresearch(dot)com>
To: AI Rumman <rummandba(at)gmail(dot)com>
Cc: pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Is there any plugin for Nagios, which sends Postgresql ERROR information with SQL query in mail?
Date: 2013-01-02 19:22:16
Message-ID: 50E488E8.2040306@pinpointresearch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 01/02/2013 08:55 AM, AI Rumman wrote:
> Is there any plugin for Nagios, which sends Postgresql ERROR
> information with SQL query in mail?
I can't comment on Nagios, but I do the same basic thing by routing
PostgreSQL logging through syslog which is configured to copy
significant errors into a secondary temporary file. This file is
checked/cleared by a simple cron script that runs every five minutes. If
errors exist, they are routed to my department for investigation.

Security note: Error messages have the potential to contain
names/SSN/medical-data/passwords and other sensitive information so it
is best to ensure that such messages stay inside your perimeter and that
they are routed only to a minimal number of trusted administrators.

Cheers,
Steve

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David Johnston 2013-01-02 20:32:29 Re: un-pivot with crosstab?
Previous Message Abraham, Danny 2013-01-02 19:08:27 Query fluctuates .... Strange strange .....