[libvirt-users] Unable to collect VM metrics for ESX using libvirt

Eric Blake eblake at redhat.com
Fri Feb 10 18:13:10 UTC 2012


On 02/10/2012 09:35 AM, sethu subbiah wrote:

> gives an error libvirt.libvirtError: this function is not supported by the
> connection driver: virDomainInterfaceStats
> 

> I have used similar scripts with xen and kvm and it worked well. Can
> someone tell me what mistake I am doing or if the driver doesnt support
> these functions, is there any other way of getting the stats ?? Thank you.

The error message is correct - no one has yet submitted patches for the
ESX backend driver in libvirt to provide those statistics.  Your code is
correct, and will start working if anyone ever patches ESX to provide
the information.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120210/b1a5c064/attachment.sig>


More information about the libvirt-users mailing list