[rrd-users] Re: resize my rrd's

Andras Horvai andras.horvai at keystone.hu
Thu Jul 8 14:47:10 MEST 2004


Hi Alex,

Thanks for your answer. I would like to add a zoom function into cacti (very good rrd frontend),
I would like to use cactistoric and it has a readme file what says that raise the number of rows in the RRA.
I guess it will create nicer graphs if it has more rows in the daily rra.

Well my fronted create graphs in this manner (focusing --start --end option):
So, do I have to worry about my graphs?

Daily (5 Minute Average)
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \

Weekly (30 Minute Average)
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-604800 \
--end=-1800 \

Monthly (2 Hour Average)
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-2678400 \
--end=-7200 \

Yearly (1 Day Average) 
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-33053184 \
--end=-86400 \



Thanks,

Andras


>On Thu, Jul 08, 2004 at 12:00:20PM +0200, Andras Horvai wrote:
>> Hi All,
>> 
>> I plan to resize my rrd files. Plan to raise the daily RRA (5 minutes average) from 600 rows to 17280 rows to
>> have 2 months of 5 minutes average data. I read somewhere (perhaps in cacti forum) that this can cause 
>> problems eg. I lost the data what 2 weeks earlier. I read a opinion that resize the rrds more than one step.
>> My question is what steps do you recommend? eg. first raise from 600 rows to 800 rows and wait 1 day (or less)
>> and after raise from 800 rows to 1000 rows etc. Can you advise?
>
>This depends on what you want and what you need.  The "problem" is
>in auto-selecting the correct RRA.
>
>If you ask for "--start end-5d --end now", RRDtool currently has no
>other choice than to use the 2-hour RRA.
>
>Next you are adding more rows to the 5-minute RRA.
>
>RRDtool may use the 5-minute RRA where it used to use the 2-hour RRA.
>Since this data is not yet known (you will be adding "NaN" rows) the
>data _seems_ lost.
>
>If your front end is careful and sets both "--start" and "--end" to
>suitable values, RRDtool will select the 2-hour RRA (or even the
>1-day RRA) in stead of the 5-minute RRA and no harm is done.

--
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