Re: [Xen-users] SNMP AgentX subagent for Xen

From: "Brian A(dot) Seklecki" <lavalamp(at)spiritual-machines(dot)org>
To: Alain Barthe <ab266061(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, xen-users(at)lists(dot)xensource(dot)com, net-snmp-users(at)lists(dot)sourceforge(dot)net
Subject: Re: [Xen-users] SNMP AgentX subagent for Xen
Date: 2008-06-02 13:41:19
Message-ID: 1212414079.2876.53.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Mon, 2008-06-02 at 15:05 +0200, Alain Barthe wrote:
>
> Sounds like a fun project.
> I agree.

With PostgreSQL, a the agent can simply daemonize and talk to the
Postmaster using libpq and proper HBA. Everything in pg_catalog.* and
information_schema.* is already quantified in SQL data structures:

postgres=# \d pg_catalog.pg_tables;
View "pg_catalog.pg_tables"

Column | Type | Modifiers
-------------+---------+-----------
schemaname | name |
tablename | name |
tableowner | name |
tablespace | name |
hasindexes | boolean |
hasrules | boolean |
hastriggers | boolean |

postgres=# SELECT * from pg_catalog.pg_database limit 2;
datname | datdba | encoding | datistemplate | datallowconn | datconnlimit | datlastsysoid | datfrozenxid | dattablespace | datconfig | datacl
----------+--------+----------+---------------+--------------+--------------+---------------+--------------+---------------+-----------+--------
postgres | 10 | 0 | f | t | -1 | 10818 | 34352041 | 1663 | |
nagios | 17056 | 0 | f | t | -1 | 10818 | 34352146 | 1663 | |
(2 rows)

~BAS

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users(at)lists(dot)sourceforge(dot)net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

In response to

Browse pgsql-general by date

  From Date Subject
Next Message hubert depesz lubaczewski 2008-06-02 13:45:27 Re: why so many open files?
Previous Message Tom Lane 2008-06-02 13:38:29 Re: why so many open files?