pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: hubert depesz lubaczewski <depesz@gmail.com>
To: Jeff Frost <jeff@frostconsultingllc.com>
Cc: ogjunk-pgjedan@yahoo.com <ogjunk-pgjedan@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: How are ppl monitoring PostgreSQL ... ? What is being monitored ... ?
Date: Mon, 10 Jul 2006 09:54:20 +0200
Message-ID: <9e4684ce0607100054q6e149fddk80bb9a8827e2cf5@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0607091330560.31603@discord.home.frostconsultingllc.com>
References: <9e4684ce0606110810n50f8c44cjf02a273a65aac0c2@mail.gmail.com>
	<20060707043738.62724.qmail@web50312.mail.yahoo.com>
	<9e4684ce0607070037g2a66d830sabc77aa2d3116229@mail.gmail.com>
	<Pine.LNX.4.64.0607091330560.31603@discord.home.frostconsultingllc.com>

On 7/9/06, Jeff Frost <jeff@frostconsultingllc.com> wrote:
>
> Do you already have a MRTG plugin for postgres that you've written and if
> so,
> care to share it with the rest of us?  Or better yet, share it with the
> mrtg.org folks?  I was thinking of writing one, but if you have one
> already, I
> hate to reinvent the wheel.
>

this is not mrtg plugin. i use snmpd (net-snmpd to be exact), and connect
custom scripts to it using "exec" directive in config.
so basically i have series of scripts which all look more or less like this:
#!/bin/bash
psql -U pgdba -d some_database -qAt 'select .....';

and a series of:
Exec some-name /etc/snmpd/addons/somescript.sh

that's all.

depesz

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

view thread (12+ messages)

Message-ID: <9e4684ce0607100054q6e149fddk80bb9a8827e2cf5@mail.gmail.com>
Permalink:  ../9e4684ce0607100054q6e149fddk80bb9a8827e2cf5@mail.gmail.com/
Also on:    postgresql.org/message-id/9e4684ce0607100054q6e149fddk80bb9a8827e2cf5@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, jeff@frostconsultingllc.com, ogjunk-pgjedan@yahoo.com
  Subject: Re: How are ppl monitoring PostgreSQL ... ? What is being monitored ... ?
  In-Reply-To: <9e4684ce0607100054q6e149fddk80bb9a8827e2cf5@mail.gmail.com>
  References: <9e4684ce0606110810n50f8c44cjf02a273a65aac0c2@mail.gmail.com> <20060707043738.62724.qmail@web50312.mail.yahoo.com> <9e4684ce0607070037g2a66d830sabc77aa2d3116229@mail.gmail.com> <Pine.LNX.4.64.0607091330560.31603@discord.home.frostconsultingllc.com> <9e4684ce0607100054q6e149fddk80bb9a8827e2cf5@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