John,
I looks like an interesting project.
You may want to look at using Host sFlow agents on the Xen hypervisors
(rather than collectd agents):
http://host-sflow.sourceforge.net/
The Host sFlow agent (hsflowd) is very efficient, it directly links to
Xen''s libxenstat library to pick up statistics and exports a full
range of standard Hypervisor and virtual machine metrics:
http://sflow.org/sflow_host.txt
FYI The sFlow metrics are compatible with libvirt.
There are a lot of similarities between the sFlow and collectd
protocols, both send metrics as XDR encoded data structures over UDP.
Looking at your diagram, all you would need to do is add an sFlow
input to your AMQP message broker. Here is a link with some resources:
http://blog.sflow.com/2010/01/developer-resources.html
Another possible route to incorporating the sFlow metrics would be to
use Ganglia''s gmond daemon. It accepts sFlow metrics and stores their
latest values in a hash table. You can then poll gmond using TCP to
retrieving an XML document containing all the metrics.
http://blog.sflow.com/2011/07/ganglia-32-released.html
http://code.google.com/p/embeddedgmetric/wiki/ParsingGmond
Cheers,
Peter
On Fri, Sep 21, 2012 at 11:06 AM, John Bergmans <jbergmans@bergmans.com>
wrote:> Hi xen-users.
>
> I''ve developed "collectdViewer", a system for
high-frequency (2x per
> second), browser-based server monitoring that uses collectd for statistics
> collection: http://collectdviewer.com.
>
> It turns out that there''s a "libvirt" plugin for
collectd which should, in
> theory, enable collectdViewer to monitor the performance of servers
> virtualized by Xen, without the need to install a daemon in the virtual
> server itself (http://collectd.org/wiki/index.php/Plugin:libvirt)
>
> Since I''m not familiar with Xen, I''m wondering if anyone
on this list would
> be interested in working with me to demonstrate this capability.
Here''s a
> schematic of what how I think the demo system would be put together:
>
http://collectdviewer.com/applications.html#high_frequency_monitoring_for_virtual_servers
>
> Please contact me if you''d like to collaborate or have any
questions.
>
> Regards,
>
> John Bergmans
> Principal Engineer / Owner
> Bergmans Mechatronics LLC
> 714-474-8956
> @jbergmans
> www.bergmans.com
> skype: johnbergmans
>
>
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xen.org
> http://lists.xen.org/xen-users