However... what this does is extend the summary archives to double length. The 'daily' graph (5 min intervals) is extended to 2 days at this resultion, the 'yearly' (1 day interval) is extended to 2 years. It allows you to see 1 year ago today, but only at this resolution.
If you want to compare the daily graph of 1 year ago with the daily graph of today, then only way to do it is to either save the graph (the Archive function), save the rrd file (the rrd-archive function) or extend the rrd file to 365 times its normal length (which is not supported by routers.cgi).
The way the rrd database works is very handy in some ways (it takes care of summaries, and expiration of data automatically) but it can sometimes mislead people into believing that there is more data stored than in fact is the case. There is no way to store 1 year of data without either summarising and throwing away the detail, or having a VERY large file. Reading up on the copious documentation for RRDTool to understand more about how it works.
Your example above increases the 1stepAVG RRA to be long enough to cover a whole year. While this is in theory going to give what you want, in practice it causes a few more problems.
It will not allow the weekly or monthly resolutions to continue this far, as these are still their original size. More importantly, routers.cgi will get a bit confused in that it will think (if extendedtime = test has been set) that it is a double-length RRD and will try to provide 'last week' graphs (which may not work correctly, depending on how good RRDTool is at working out which RRAs to approximate with). Also, routers.cgi is not able to access this earlier data as it is not coded to cope with a sliding window (all graphs should be anchored to 'now' at the end)
It would take a lot of changes to make routers.cgi correctly and flexibly support this -- that is why I chose to go the route of using an rrd-archiver instead.Statistics: Posted by stevesh — Sat Jan 10, 2004 7:51 pm
]]>