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

From: "Brian A(dot) Seklecki" <bseklecki(at)collaborativefusion(dot)com>
To: Dave Shield <D(dot)T(dot)Shield(at)liverpool(dot)ac(dot)uk>
Cc: Alain Barthe <ab266061(at)gmail(dot)com>, 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:34:10
Message-ID: 1212413650.2876.47.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 13:53 +0100, Dave Shield wrote:
> 2008/6/2 Brian A. Seklecki <bseklecki(at)collaborativefusion(dot)com>:
> >> <bseklecki(at)collaborativefusion(dot)com>:
> >> There should be a AgentX sub-agent for Xen that feeds Net-SNMP
> >> ~BAS
> >>
>
> > With Xen we'd have to look at how a Net-SNMP daemon running in DOM0
> > could read the specs from "xm info" (/proc maybe)
>
> The first task is probably to confirm exactly what information would
> need to be made available. What does the output of "xm info" look like?

http://linux.die.net/man/1/xm

"xm list" would likely be an SNMP table:

"An example format for the list is as follows:

Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 98 1 r----- 5068.6
Fedora3 164 128 1 r----- 7.6
Fedora4 165 128 1 ------ 0.6
Mandrake2006 166 128 1 -b---- 3.6
Mandrake10.2 167 128 1 ------ 2.5
Suse9.2 168 100 1 ------ 1.8"

Where as "xm info" would likely be simple OIDs:

"Sample xen domain info looks as follows (lines wrapped manually to make
the man page more readable):

host : talon
release : 2.6.12.6-xen0
version : #1 Mon Nov 14 14:26:26 EST 2005
machine : i686
nr_cpus : 2
nr_nodes : 1
sockets_per_node : 2
cores_per_socket : 1
threads_per_core : 1
cpu_mhz : 696
hw_caps : 0383fbff:00000000:00000000:00000040
total_memory : 767
free_memory : 37
xen_major : 3
xen_minor : 0
xen_extra : -devel
xen_caps : xen-3.0-x86_32
xen_pagesize : 4096
platform_params : virt_start=0xfc000000
xen_changeset : Mon Nov 14 18:13:38 2005 +0100
7793:090e44133d40
cc_compiler : gcc version 3.4.3 (Mandrakelinux
10.2 3.4.3-7mdk)
cc_compile_by : sdague
cc_compile_domain : (none)
cc_compile_date : Mon Nov 14 14:16:48 EST 2005
xend_config_format : 2

> Does this cover everything you would normally need to know?
>
> Dave
>
> -------------------------------------------------------------------------
> 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
--
Brian A. Seklecki <bseklecki(at)collaborativefusion(dot)com>
Collaborative Fusion, Inc.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-06-02 13:38:29 Re: why so many open files?
Previous Message Guillaume Lelarge 2008-06-02 12:51:48 Re: Can a pg_dump file loaded via pg_Admin tool??