>>> On 10/20/2010 at 8:22 PM, in message
<[email protected]>, Lukas Lundell
<[email protected]> wrote:
> Looking to use Ganglia to monitor a virtual linux environment (kvm/qemu).  I
> haven't seen any plugins or Python DSOs for something like libvirt so that
> Ganglia could get information for the virtualized  guest linux
> instances/domains.  Does anyone have any experience doing this?
> 
> I would like to go about writing an Python DSO to interface with libvirt if
> there isn't one already out there...
> 

I actually wrote a python module a couple of years ago that would collect 
metrics for each of the VMs running on a host.  It would then report the 
metrics through the spoofing functionality of Ganglia so that each of the VMs 
would show up in Ganglia just as if there was a gmond agent running on them 
even through no gmond agent existed in any of the VMs, only on the host.  
Anyway, the disappointing part of this whole exercise is that there are very 
few useful metrics that you can gather through libvirt.  Most of the metrics 
are constants such as how much memory or disk space has been allocated to the 
VM rather than what is the memory utilization, etc.  I haven't revisited this 
module in a couple of years so it might be that there is more useful 
information that can be gathered now.  At the time I was also querying XEN VMs.

Brad


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to