X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 944F59FA12F for ; Sat, 10 Jun 2006 18:09:54 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 30763-10 for ; Sat, 10 Jun 2006 18:09:49 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from news.hub.org (news.hub.org [200.46.204.72]) by postgresql.org (Postfix) with ESMTP id B3F1C9F9AD3 for ; Sat, 10 Jun 2006 18:09:50 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.13.1/8.13.1) with ESMTP id k5AL9iqZ090296 for ; Sat, 10 Jun 2006 18:09:44 -0300 (ADT) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.13.1/8.13.1/Submit) id k5AL64Pd087225 for pgsql-admin@postgresql.org; Sat, 10 Jun 2006 18:06:04 -0300 (ADT) (envelope-from news) From: Christopher Browne X-Newsgroups: pgsql.admin Subject: Re: How are ppl monitoring PostgreSQL ... ? What is being Date: Sat, 10 Jun 2006 17:01:28 -0400 Organization: cbbrowne Computing Inc Lines: 40 Message-ID: <87hd2s3etz.fsf@wolfe.cbbrowne.com> References: <20060610152251.M1114@ganymede.hub.org> <448B0FA0.9050408@andycc.net> <20060610190652.GA97248@winnie.fuhr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@news.hub.org X-message-flag: Outlook is rather hackable, isn't it? X-Home-Page: http://www.cbbrowne.com/info/ X-Affero: http://svcs.affero.net/rm.php?r=cbbrowne User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.19 (linux) Cancel-Lock: sha1:HU/iz287SlRmHerDZEZTZCCAMnY= To: pgsql-admin@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/99 X-Sequence-Number: 22061 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."