pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: hubert depesz lubaczewski <depesz@gmail.com>
To: Marc G. Fournier <scrappy@postgresql.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: How are ppl monitoring PostgreSQL ... ? What is being monitored ... ?
Date: Sun, 11 Jun 2006 17:10:20 +0200
Message-ID: <9e4684ce0606110810n50f8c44cjf02a273a65aac0c2@mail.gmail.com> (raw)
In-Reply-To: <20060610152251.M1114@ganymede.hub.org>
References: <20060610152251.M1114@ganymede.hub.org>

On 6/10/06, Marc G. Fournier <scrappy@postgresql.org> wrote:
>
> The subject kinda says it all ... I know there are SNMP patches available
> out there now, but without those ... ?
>

i can tell you what we do monitor:
1. general server things (free disk space, cpu-idle, load, memory used, swap
used, context switches, io operations, sockets in state close_wait).
2. db stuff:
  - numer of transactions per second
  - database size
  - size of specific tables/indices that we know have nasty tendency to grow
  - number of objects in database
  - duration of longest query
  - replication lag (in events, and in time)

to make mrtg graphs of db stuff we made some perl scripts, which are bound
to snmp using snmp's "exec" feature. then we just grab the values using mrtg
and draw. quite simple actually.

depesz

-- 
http://www.depesz.com/ - nowy, lepszy depesz

view thread (12+ messages)  latest in thread

Message-ID: <9e4684ce0606110810n50f8c44cjf02a273a65aac0c2@mail.gmail.com>
Permalink:  ../9e4684ce0606110810n50f8c44cjf02a273a65aac0c2@mail.gmail.com/
Also on:    postgresql.org/message-id/9e4684ce0606110810n50f8c44cjf02a273a65aac0c2@mail.gmail.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: depesz@gmail.com, scrappy@postgresql.org
  Subject: Re: How are ppl monitoring PostgreSQL ... ? What is being monitored ... ?
  In-Reply-To: <9e4684ce0606110810n50f8c44cjf02a273a65aac0c2@mail.gmail.com>
  References: <20060610152251.M1114@ganymede.hub.org> <9e4684ce0606110810n50f8c44cjf02a273a65aac0c2@mail.gmail.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