Re: nagios & PG

From: Isabella Ghiurea <isabella(dot)ghiurea(at)nrc-cnrc(dot)gc(dot)ca>
To: pgsql-novice(at)postgresql(dot)org
Cc: Kenneth Marshall <ktm(at)rice(dot)edu>
Subject: Re: nagios & PG
Date: 2009-08-04 20:59:04
Message-ID: 4A78A118.3090604@nrc-cnrc.gc.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Kenneth Marshall wrote:
>
> On Tue, Aug 04, 2009 at 01:50:31PM -0700, Isabella Ghiurea wrote:
> > Hi Gurus,
> > We are running Nagios version 3.0 to monitor a PG v 8.3.6 database
> server
> > RHES 5, nagios is trying to open a tcp connection on port 5432 .
> > every time the monitoring job is running PG is logging the following
> > message in errorlog , how can we stop this message?
> > 2009-08-04 12:40:31 PDT [16504]: [1-1] LOG: incomplete startup packet
> > 2009-08-04 12:45:31 PDT [16610]: [1-1] LOG: incomplete startup packet
> >
> > Thank you
> > Isabella
> >
> > --
> >
> Open a real connection to the DB using DBI/DBD instead of
> the connection check. Otherwise, you will need to ignore
> the informational message about the poor behavior of your
> monitoring process.i
>
Hi Ken,
Is there a way in PG to specify the ignore/not write this/a message to
errorlog ?
We would like to keep as simple as possible and be universal usage
across all RDBS , this is working nice for other RDBMS we have.
Isabella
>
>
> Cheers,
> Ken
>

--
-----------------------------------------------------------
Isabella A. Ghiurea

Isabella(dot)Ghiurea(at)nrc-cnrc(dot)gc(dot)ca
Canadian Astronomy Data Centre | http://www1.cadc-ccda.hia-iha.nrc-cnrc.gc.ca/
National Research Council of Canada, Herzberg Institute of Astrophysics
5071 West Saanich Road, Victoria BC V9E 2E7, Canada
Phone: 250 363-3446 fax: 250 363-0045

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message David Powell 2009-08-05 00:02:52 can long-lived transactions cause problems?
Previous Message Tom Lane 2009-08-04 20:56:09 Re: nagios & PG