[rrd-users] Re: Q: How to fetch value from "start" to "end" in RRD/RRA

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Thu Oct 26 10:48:49 MEST 2000

Alex Lam wrote:
> Q1: How can I obtain the start and end value in the RRD/RRA so that
>     I can dump all values in the rrd/rra during "start" to "end" time?

It is not too hard:  you have to understand that start and end are
not fixed values and thus are meaningless by themselves.

> Hope this can get the "start" and "end" value from the output
>  > /usr/local/rrdtool-1.0.25/bin/rrdtool fetch etc6p3.rrd AVERAGE
>             --start start+0s --end end-0s

start+0s is the same as start.  Therefore, my first comment still

> ERROR: the start time cannot be specified relative to itself

and rrdtool complains. 

>  > /usr/local/rrdtool-1.0.25/bin/rrdtool fetch etc6p3.rrd AVERAGE
>             --start end+0s --end start-0s
> ERROR: the start and end times cannot be specified relative to each other

Try using "now".  Now is a known point in time, "--start now-1d"
means ``1 day ago''.

"--start now-2d --end start+1d" is valid.

 / 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