[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Monitor performance metrics



You might want to take a look at using sFlow (http://www.sflow.org) as the monitoring protocol. A Host sFlow agent (http://host-sflow.sourceforge.net/) installed on the hypervisor will use libxenstat to retrieve and periodically export hypervisor and per VM metrics using the sFlow protocol (basically XDR encoded structures sent over UDP):


Receiving and decoding this data in Java is straightforward using methods in ByteBuffer (note: XDR is a BIG_ENDIAN encoding). Here are some links to additional resources:


You can go beyond the basic performance counters. sFlow support in the Open vSwitch provides detailed visibility into traffic between VMs:





On Tue, Oct 8, 2013 at 5:28 AM, sse <retron24@xxxxxxxxxxx> wrote:

I need to write a Java application that is remotely collecting and monitoring performance informations/metrics from a Xen hypervisor. This Java application should fetch the same informations from xen that „xm info“ and „xm top“ displays.

Used Xen version: Xen 4.1.3 with the deamon xend, the default toolstack and the console xm.

QUESTIONS:

Can anyone tell me which direction I should look for a solution?

Is there a Java binding respectively a Java API for Xen (with xend and the default toolstack with xm)?

I understood it using Libvirt (that habe a Java binding) requires to use the Toolstack Libvirt in Xen. So, is it possible to have both installed, the default toolstack and Libvirt?


Thanks in advance for all answers!


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.