Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 22D0C9FB566 for ; Sat, 21 Apr 2007 04:04:31 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 92142-03 for ; Sat, 21 Apr 2007 04:04:27 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by postgresql.org (Postfix) with ESMTP id B05D79FB4E1 for ; Sat, 21 Apr 2007 04:04:27 -0300 (ADT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.8/8.13.8) with ESMTP id l3L74MfV030156 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 21 Apr 2007 01:04:25 -0600 (MDT) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.8/8.13.8) with ESMTP id l3L74MvU026158; Sat, 21 Apr 2007 01:04:22 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.8/8.13.8/Submit) id l3L74LVv026157; Sat, 21 Apr 2007 01:04:21 -0600 (MDT) (envelope-from mfuhr) Date: Sat, 21 Apr 2007 01:04:21 -0600 From: Michael Fuhr To: "Alexander B." Cc: "pgsql-admin@postgresql.org" Subject: Re: Get information from SMNP Message-ID: <20070421070421.GA26059@winnie.fuhr.org> References: <4627D0EE.90304@yahoo.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4627D0EE.90304@yahoo.com.br> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/194 X-Sequence-Number: 25258 On Thu, Apr 19, 2007 at 05:28:30PM -0300, Alexander B. wrote: > Who knows any information if it's possible to get some information about > Postgres via smnp protocol and how can I do this? The pgsnmpd project has been active lately; you might want to check it out and join its mailing list: http://pgfoundry.org/projects/pgsnmpd/ If you have needs that pgsnmpd can't fulfill then you could write a custom MIB and a custom AgentX subagent that plugs into a server's regular SNMP agent. This is easy to do with Net-SNMP and Perl, for example. Some network management systems can run scripts that gather information by some arbitrary mechanism. If pgsnmpd can't do what you want and writing a custom MIB and subagent is too much work then you might be able to use such a mechanism. Can you provide more information about what you're trying to do? What information are you interested in gathering and what monitoring system are you using? -- Michael Fuhr