Re: monitoring postgres

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Matthew Nuzum" <cobalt(at)bearfruit(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: monitoring postgres
Date: 2003-01-29 16:49:19
Message-ID: 27130.1043858959@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Matthew Nuzum" <cobalt(at)bearfruit(dot)org> writes:
> I'm not blocking them at the firewall, so they can see the server on
> that port, but can anyone suggest a text string and expected response
> that I can use to know that the server is OK?

I'd suggest sending a standard startup packet and looking for the
"you're not authorized" response. Unfortunately, the startup packet
isn't pure text ... can they cope with sending a string containing
nulls?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Steve Crawford 2003-01-29 16:49:51 Re: need much better query perfomance
Previous Message Evan Macosko 2003-01-29 16:46:26 UNSUBSCRIBE ME PLEASE!