[smokeping-users] Re: Scripting to summarize smokeping rrd data

Tony.Cetera at thomson.com Tony.Cetera at thomson.com
Fri Aug 5 17:36:56 MEST 2005

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.


-----Original Message-----
From: Arnold Nipper [mailto:arnold at nipper.de] 
Sent: Friday, August 05, 2005 11:01 AM
To: Cetera, Anthony (TH USA)
Cc: smokeping-users at list.ee.ethz.ch
Subject: Re: [smokeping-users] Scripting to summarize smokeping rrd data

On 05.08.2005 15:57 Tony.Cetera at thomson.com 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
> 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
> 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 Nipper / nIPper consulting, Sandhausen, Germany
email: arnold at nipper.de       phone: +49 6224 9259 299
mobile: +49 172 2650958         fax: +49 6224 9259 333

Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/smokeping-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the smokeping-users mailing list