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] Trying to gather statistics by parsing the rrd data files

To: Abhishek Joshi <abhishek@xxxxxxxxx>
Subject: Re: [Xen-API] Trying to gather statistics by parsing the rrd data files
From: Jonathan Ludlam <Jonathan.Ludlam@xxxxxxxxxxxxx>
Date: Wed, 23 Jun 2010 12:58:24 +0100
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 23 Jun 2010 04:59:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C216546.6000100@xxxxxxxxx>
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: <4C216546.6000100@xxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcsSy2P93Yvluh0eTCezktM/31ySGA==
Thread-topic: [Xen-API] Trying to gather statistics by parsing the rrd data files
Have you looked here:

http://wiki.xensource.com/xenwiki/XAPI_RRDs

It might help?

Jon

On 23 Jun 2010, at 02:37, Abhishek Joshi wrote:

> Hello All,
> 
> I am trying to gather xenserver statistics by parsing the xenserver rrd 
> files that reside on the xen host, by retrieving them via a python 
> plugin I have written.
> 
> I have a few issues I face here:
> 
> 1. I see that some of the rdd files on the xenserver hosts under 
> /var/xapi/blobs/rrds are substantially bigger than the others. What this 
> leads to is a timeout at my end, when I encounter a big file and try to 
> read it back for parsing.
> 
> 2. I saw quite a few NaN values when I looked at these files.
> 
> 3. I was curious to know how the xen center collected statistics, and if 
> it indeed used the rrd files to parse through to collect statistics.
> 
> In any case, since the original java api is deprecated, this was the 
> only way out as far as collecting stats was concerned. Please let me 
> know if there is a better way to resolve this.
> 
> Any help would be highly appreciated.
> 
> Regards,
> 
> Abhishek
> 
> _______________________________________________
> 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

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