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

Arnold Nipper arnold at nipper.de
Fri Aug 5 17:00:34 MEST 2005

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 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 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