[rrd-users] Re: using resolution on rrdtool fetch

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Wed Mar 14 22:44:11 MET 2001


Darren/Torin/Who Ever... wrote:
> 
> 
> As hard as I try, I can't seem to get rrdtool fetch to give me anything
> other than the finest resolution.  I've turned on DEBUG and recompiled
> to see what it's getting.  The parameter is coming in fine but it always
> uses the partial match.

This will only work if an exact match on the RRA is possible.

> The command is:
> rrdtool fetch la.rrd AVERAGE -s -1d -r 1800

This will almost always result in a time series that is NOT
in the RRA. Therefore the highest resolution RRA will be chosen
which is not what you want.

Make sure that
a) both start and end time are a multiple of 1800
b) both start and end time are within the RRA

So: if time now is called "t", do end time == int(t/1800)*1800,
start time == end time -1d, resolution == 1800.

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