[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-API] newbie question about xenapi (get la and free memory)
It's not XMLRPC, it's a normal http handler. Just issue a 'GET' request to the URIs mention in the wiki page. I'm afraid I don't know PHP, so I can't help with the code! Jon On 9 Jun 2010, at 12:12, Vasiliy G Tolstov wrote: > Ð ÐÑÐ, 09/06/2010 Ð 12:02 +0100, Jonathan Ludlam ÐÐÑÐÑ: >> Hi Vasiliy, >> >> Have a look here: >> >> http://wiki.xensource.com/xenwiki/XAPI_RRDs >> >> We don't record the load average from a guest, but we do record the CPU >> usage and free memory. >> >> Hope this helps! >> >> Jon > > Thank You very much. But i can fully understand how can i get this rrd > files from xml-rpc? Can You provide some help? > > in php i wrote: > <?php > $xen = new xmlrpc_client("http://$host:$port"); > > $session = validate($xen->send('session.login_with_password', > array("",""))); > ... > ... > > ?> > > -- > Vasiliy G Tolstov <v.tolstov@xxxxxxxxx> > Selfip.Ru > _______________________________________________ xen-api mailing list xen-api@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |