pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christopher Browne <cbbrowne@acm.org>
To: pgsql-admin@postgresql.org
Subject: Re: How are ppl monitoring PostgreSQL ... ?  What is being
Date: Sat, 10 Jun 2006 17:01:28 -0400
Message-ID: <87hd2s3etz.fsf@wolfe.cbbrowne.com> (raw)
References: <20060610152251.M1114@ganymede.hub.org>
	<448B0FA0.9050408@andycc.net>
	<20060610190652.GA97248@winnie.fuhr.org>

mike@fuhr.org (Michael Fuhr) wrote:
> On Sat, Jun 10, 2006 at 07:29:52PM +0100, Andy Shellam wrote:
>> I'm using a great little Linux program called "monit" to check that
>> there's something listening on the 5432 port.  It also monitors
>> individual process memory and CPU usage etc.  Quite good.
>
> A server can be quite broken yet still respond to transport- and
> network-layer probes like TCP connections and pings.  Some NMSs
> support custom monitors, so whenever possible I like to do
> application-layer tests to ensure that the server not only accepts
> connections but is indeed behaving as expected.

I'd generally agree with this; it points to having tests that aren't
so much about PostgreSQL as they are about the applications using
PostgreSQL...

>> Marc G. Fournier wrote:
>> > 
>> > The subject kinda says it all ... I know there are SNMP patches
>> > available out there now, but without those ... ?
>
> MRTG can generate graphs of anything you can write a script to
> measure, as long as the script returns output in a certain format.
> Other packages of that ilk probably have similar capabilities.

Our NOC group runs "replication tests" against various servers that
feed MRTG; they point at a view that is normally frequently updated,
and check to see how elderly the latest value is.

On replicated nodes, this checks the health of replication.

On "master" nodes, this checks the health of the application itself.
-- 
select 'cbbrowne' || '@' || 'gmail.com';
http://linuxdatabases.info/info/slony.html
Rules of the Evil Overlord #66. "My security keypad will actually be a
fingerprint scanner.  Anyone who watches  someone press a  sequence of
buttons or dusts  the pad for fingerprints then  subsequently tries to
enter  by repeating  that  sequence will  trigger  the alarm  system."
<http://www.eviloverlord.com/;



view thread (12+ messages)  latest in thread

Message-ID: <87hd2s3etz.fsf@wolfe.cbbrowne.com>
Permalink:  ../87hd2s3etz.fsf@wolfe.cbbrowne.com/
Also on:    postgresql.org/message-id/87hd2s3etz.fsf@wolfe.cbbrowne.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: cbbrowne@acm.org
  Subject: Re: How are ppl monitoring PostgreSQL ... ?  What is being
  In-Reply-To: <87hd2s3etz.fsf@wolfe.cbbrowne.com>
  References: <20060610152251.M1114@ganymede.hub.org> <448B0FA0.9050408@andycc.net> <20060610190652.GA97248@winnie.fuhr.org> <87hd2s3etz.fsf@wolfe.cbbrowne.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox