[rrd-users] Re: Request for Enhancement (grapher)

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Sat Aug 4 00:18:56 MEST 2001


Owen DeLong wrote:

> I have a set of RRAs where I am gathering relatively high resolution
> (.01 degree 5 second interval) temperature data.  In doing my analysis
> of the data, I've found that the MIN and MAX consolidation functions
> are quite useful over larger consolidation periods, while the AVERAGE
> is very useful at high resolution.  I'd like to have the ability to
> generate composite graphs which display the AVERAGE at one resolution
> while simultaneously displaying the MIN/MAX at a much broader
> consolidation.

If you can live with not being able to fetch the MIN and MAX data
in high resolution, why not just have those RRAs in a one-hour per
CDP RRA?  The MIN and MAX values would then be processed as you
desire, if I'm not mistaking.

> It would be nice if the grapher could support something like:
> 
> DEF:min:temperature.rrd:MIN:3600
> DEF:avg:temperature.rrd:AVERAGE
> DEF:max:temperature.rrd:MAX:3600

Please join the developers list and fetch the *alpha* code.
It currently is *not* implemented but have a look at the documentation
for rrdtool graph...

> Another enhancement I'm considering is modifying the RPN capabilities
> to support PREV[variable] for retrieving the previous value of another
> variable.  If anyone has any ideas or thoughts on the usefulness of
> this, I'd like to hear them.

This also is in the pipe line (sort of).  When it is ready, you can
shift ranges in time.  If you shift by just one step, voila.

> Finally, what do people think of having an RPN function called SUM
> or SIGMA, which would be of the form:
> 
> 	CDEF:foo=sourcevar,SUM

It would become "VDEF:foo=sourcevar,SUM" and will be ready at
01:00 METDST or maybe a couple of minutes later (depending on
the amount of mail yet to process).

> Which would result in foo containing a "Total to date" for each
> iteration,

You mean a rolling total? Where each pixel will show the total upto that
point in time? This won't happen on short notice and may happen in the
future.

> and would allow a GPRINT of foo MAX with "Total: %lf" to print a total
> of the data in sourcevar.

but this will work:

GPRINT:foo:%lf

(note: no consolidation function as it is not necessary).

cheers,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

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



More information about the rrd-users mailing list