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

Re: [Xen-API] VM_guest_metrics support



Try the RRDs interface:

http://wiki.xen.org/xenwiki/XAPI_RRDs

That said, it's odd that you're getting 'method unknown' - which bindings are 
you using, and can you post the code that's failing?

Jon


On 10 Oct 2011, at 12:23, Double-U wrote:

> Hi,
> 
> I am developing a Xen management application only using the Xen API as it 
> seemed complete enough to use for the whole application, and indeed it is.
> However, when trying to acquire a VM_guest_metrics reference (Debian, Xen 
> 4.1-amd64 and Xen 4.1-i686 with XAPI) for a VM, the getter returns 
> MESSAGE_METHOD_UNKNOWN and the reference isn't included in VM.get_record 
> either.
> 
> That said, wouldn't it be better to make the actual memory use available 
> through the VM_metrics memory_actual -- I know Xen always reserves the full 
> amount of memory needed, but this also renders the variable useless because 
> it'll probably resemble VM.memory_static_max if there is enough RAM to go 
> around.
> 
> So the question remains: how can I, using only the Xen API, acquire VCPU and 
> memory load -- preferably without the need to install anything? It would be 
> rather unpleasant having to create and install some simple daemon just to 
> send load numbers over to my backend.
> 
> Thank you for your time,
> W
> 
> PS: Sorry for the repost, minutes after posting in xen-devel I saw the 
> xen-api mailing list.
> _______________________________________________
> xen-api mailing list
> xen-api@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/mailman/listinfo/xen-api


_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api


 


Rackspace

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