[rrd-users] Re: RESIZE Bug?

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Mon Apr 23 04:31:00 MEST 2001


Cliff Daniel wrote:

> [...]

> Everything works fine except RRAs 2,3 (Weekly Views 0.5:6:600) were truncated
> to NaN's for the first 5 days of the week.  I'm not sure exactly were it breaks 
> but if I only increase the rows by 1200 everything stays in tact.  However, 
> a second incremental GROW by another 1200 will cause NaN's in rra's 2 and 3.

Are you sure? Have you verified this with a dump?
Please make sure if there is in fact a problem with the database.

If you are generating graphics from the new RRA, you can expect NaNs
to appear: the data that would normally be generated from RRAs 2 and 3
will now be generated from RRAs 0 and 1.  The newly added rows in the
database are NaN.

> [...] possible work arounds?

Gradually increase the RRD will work, add 288 rows each day.

You may get good results without above work around by specifying
well-choosen start and end times:
- start time should be a multiple of 30 minutes
- end time ditto
- the difference between start and end time, divided by 30 minutes,
  should equal the number of pixels in the graph

Example:
now == Mon Apr 23 04:25:42 CEST 2001
I'd choose "--end 987991200" (Mon Apr 23 04:00:42 CEST 2001)
and "--start end-720000" (400 pixels times 30 min. times 60 sec.)
and "--width 400"

I'm not entirely sure this helps, but I give it a good chance.

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