The new Routers2 supports extendedtime=full, when you have one extra-extended RRD file, as opposed to the old rrd-archive method. So how do you migrate?
The script rrdmerge.pl will merge a set of RRD files into a single RRD preserving data. This will change your archive/target.rrd.d archives and target.rrd file into a single target.rrd file that is extra-long. It needs a lot of tuning and care to be sure you get what you want. It works by creating an XML file of the merged data, which can then be loaded using 'rrdtool restore' to build the full RRD file.
After you've migrated all your RRD files to extended format, add these lines or similar to all your cfg files in the future so that RRD files are created with extended length:
RRDRowCount[_]: 12000 RRDRowCount30m[_]: 9000 RRDRowCount2h[_]: 8000 RRDRowCount1d[_]: 1600
Finally, stop the rrd-archive.pl scheduled job, and set extendedtime=full in your routers2.conf
Attachments: |
File comment: Version 0.1 rrdmerge.pl RRD merge script
RRDMERGE.PL [19.61 KiB]
Downloaded 798 times
|
_________________ Steve Shipway UNIX Systems, ITSS, University of Auckland, NZ Woe unto them that rise up early in the morning... -- Isaiah 5:11
|