[rrd-users] Re: fetch & resolution
Alex van den Bogaerdt
alex at slot.hollandcasino.nl
Sun Apr 29 00:55:58 MEST 2001
Matthew Bostwick wrote:
> I'm having problems keeping a correct threshold. I'm following the rule
> of keeping the start and end time in multipules of the resolution, however
> I'm consistently getting these weird two hour blocks.
I don't know why you're talking about a threshold. Nothing else
in your mail refers to this ?!?
> (time/resolution)*resolution=new_time
This is only part of the entire rule set... The most important one is
that the data must be in the database for you to be able to fetch it...
> Sample commands & values
> rrdtool fetch file.rrd AVERAGE --resolution 300 --start 986112000 --end
> 988441200
You try to fetch (988441200-986112000)/300 = 7764 rows. How many rows
does your database have for the 5-minute RRA ? Suppose you only have
600 rows (the default if you use MRTG-like RRDs), you can only ask for
600*300 = 180000 seconds worth of data in a 300-second resolution.
Any more and RRDtool will automatically override your resolution setting.
HTH
--
__________________________________________________________________
/ 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