Thank you.  Now that I have the data, 2 questions.

What is the best way to manipulate those numbers in exponential
notation?  I need them in decimal notation.

Those few lines of <gawk,perl,php,...> you speak of, can you point me
the direction of some examples?  It seems I don't need to do much more
than sum the median column and divide by the # of rows.  However, my
scripting isn't good enough to do that w/o some examples.

Tony

-----Original Message-----
From: Arnold Nipper [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 05, 2005 11:01 AM
To: Cetera, Anthony (TH USA)
Cc: [EMAIL PROTECTED]
Subject: Re: [smokeping-users] Scripting to summarize smokeping rrd data

On 05.08.2005 15:57 [EMAIL PROTECTED] wrote

> I was wondering if someone could point me the right direction to
> accomplish the following.  I'd like to produce an average of the last
30
> days of RTT data for a ping test done by smokeping.  I would like to
> email myself that number as there is no need for any graph.  I know
this
> number isn't particularly relevant, but it will help with some
> statistics I need to produce.
>  
> Is there a way to use "rrdtool fetch" to extract this number from the
> smokeping rrd files?
>  

rrdtool fetch and a few lines of <gawk,perl,php,...> should do. E.g. 
rrdtool fetch test.rrd AVERAGE -s -30d-e | ...




Arnold
-- 
Arnold Nipper / nIPper consulting, Sandhausen, Germany
email: [EMAIL PROTECTED]       phone: +49 6224 9259 299
mobile: +49 172 2650958         fax: +49 6224 9259 333

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://lists.ee.ethz.ch/smokeping-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

Reply via email to