Re: How are ppl monitoring PostgreSQL ... ? What is being monitored ... ? - Mailing list pgsql-admin

From hubert depesz lubaczewski
Subject Re: How are ppl monitoring PostgreSQL ... ? What is being monitored ... ?
Date
Msg-id 9e4684ce0607100054q6e149fddk80bb9a8827e2cf5@mail.gmail.com
Whole thread Raw
In response to Re: How are ppl monitoring PostgreSQL ... ? What is being  (Jeff Frost <jeff@frostconsultingllc.com>)
List pgsql-admin
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

pgsql-admin by date:

Previous
From: Jeff Frost
Date:
Subject: Re: How are ppl monitoring PostgreSQL ... ? What is being
Next
From: "Vishal Mailinglist"
Date:
Subject: How to get rid of unicode