WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

RE: [Xen-API] Which API for Xen performance metrics

To: <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-API] Which API for Xen performance metrics
From: "Vikas Aggarwal" <vikas04@xxxxxxxxx>
Date: Thu, 27 Oct 2011 17:25:10 -0700
Delivery-date: Thu, 27 Oct 2011 17:25:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E9E88A5.1050607@xxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <005d01cc8d60$f6662d50$e33287f0$@com> <4E9E88A5.1050607@xxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcyOOCBpOQw0hpowS4uEfHR55ULOOQGxc1Lw
> > but it seems a bit weird to be using RRD for performance counters. 

> Yes, XCP and XenServer use RRD to capture performance metrics. The page
> you found above gives a decent explanation of how to capture
> performance metrics in XCP/XenServer.

Hmm, so I am working with the vm_rrd and the rrd_updates calls
(http://<server>/rrd_updates). My requirements are simple (I think) - just
get the CPU load for every active VM on the server every minute or so.

I just want the updates, not the entire rrd database in each call so I tried
to use the rrd_updates call.
But this call gives me data for ALL the vms, and interestingly only for the
first 7 VMs on the system (not all the 40 VMs on the system). There is no
way to specify data for a single VM in rrd_updates

TO get the data for the remaining VMs, I have to iterate through each VM and
call vm_rrd which gives me a dump of the entire database (highly
inefficient).

Cant I get rrd_update for each VM (or can I configure rrd_updates to give me
data for all the VMs instead of the first 6-7 VMs?)

        -vic



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

<Prev in Thread] Current Thread [Next in Thread>