On Mon, 2008-06-02 at 13:53 +0100, Dave Shield wrote: > 2008/6/2 Brian A. Seklecki <bseklecki@xxxxxxxxxxxxxxxxxxxxxxx>: > >> <bseklecki@xxxxxxxxxxxxxxxxxxxxxxx>: > >> 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@xxxxxxxxxxxxxxxxxxxxx > Please see the following page to unsubscribe or change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users -- Brian A. Seklecki <bseklecki@xxxxxxxxxxxxxxxxxxxxxxx> Collaborative Fusion, Inc.