Hi Neil,
thanks a lot for the help!

I verified libvirt version, it's 0.8.8

I've dowloaded and compiled hsflowd revision 227: now ganglia correctly
receives and processes statistics VM Bytes Written and  VM Writes.
(http://imageshack.us/f/846/vmstats.png/)

Other disk statistics for VM ( VM Bytes Read, VM Disk Errors, Free Vdisk
Space, VM Reads, Total Vdisk Space) are not displayed, and hsflowd -dd
displays errors similar to the following:

libvir: QEMU error : invalid argument in invalid path vda not assigned to
domain
virDomainGetBlockInfo(vda) failed
I've logged a few minutes of hsflowd activity, if it can help you you can
download it here:
http://www.mediafire.com/?g4jac7dm3mmb662

2011/8/29 Neil Mckee <neil.mckee...@gmail.com>

> Sorry,  the failure of virStorageLookupByPath() was preventing
> virDomainBlockStats() from being attempted.
>
> I checked in a fix for this,  and also code to try the newer
> virDomainGetBlockInfo() call as a fallback should virStorageLookupByPath()
> fail.  This call only came in with libvirt version 0.8.1.  Are you running
> something newer than that?  (see /usr/include/libvirt/libvirt.h)
>
> If this works,  we should make a new release of hsflowd,  so please let me
> know how it goes.
>
> Regards,
> Neil
>
>
>
> On Aug 29, 2011, at 7:24 AM, Emanuele Verga wrote:
>
> Hi, I downloaded and installe hsflowd trunk revision 226 but using hsflowd
>  I keep seeing  virStorageLookupByPath errors, and VM disk statistics
> aren't displayed. Do I need to tell hsflowd explicitly to use target="vda"
> call? If yes, how?
>
> Thanks in advance,
> Emanuele
>
> 2011/8/25 Emanuele Verga <verga.emanu...@gmail.com>
>
>> Hi Neil,
>>
>> Yes that's possible, the problem is Nova places each image in a separate
>> folder (/var/lib/nova/instance/INSTANCENAME/), so we would have to create a
>> new pool with the corresponding path each time a new instance is created,
>> and if we start to add more servers it quicly becomes impractical.
>>
>> I've not yet been able to try the hsflowd version you suggested, I'll test
>> it tomorrow and let you know.
>>
>> Thanks for the help!
>> Emanuele
>>
>>
>
>
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to