Bjorn Nordbo wrote: > The idea was to: > > - store four weeks of 5 minute samples > - store two months of 2 hour samples > - store three years of 1 day samples > - store max values for every 2 hours 2 months back > - store max values for every 2 days 3 years back
Of course you mean: the idea is to be able to view ... [etcetera] Always keep your graph (or fetch) goals in mind when generating the database. > Is this definition a bad idea? Should I add RRA's to match the most > commonly used presentation intervals? Do you have any idea on how > much impact this has on graphing time? I don't know how much impact it has. I never did formal testing of it, perhaps others did and are willing to share the information? > > If you like you can write an application that does the proper > > magic. Every now and then this (kind of) question pops up but > > I think the dump and restore exercise is good enough for the > > occasional change needed. > > I think I'll write something. Updating 10000 RRD's manually isn't > exactly the way I want to spend the rest of 2001. :-) <g> It shouldn't be hard to write something that can actually be a part of rrdtool. I mean, if you're going to design something anyway you could have others benefit from it too. I do not claim it is good code but have a look at rrd_resize.c for a start. Just use it as a template for your own program, or extend the existing program. cheers, -- __________________________________________________________________ / [EMAIL PROTECTED] [EMAIL PROTECTED] \ | 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:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
