Upgrading from previous RRD files (post-CoralReef 3.5)
This guide assumes the RRD files were created by
t2_report[++], and additionally that they came from a version
of CoralReef after 3.5. If you want to convert from pre-3.5 RRD files, see
the instructions for very old files below.
In order to convert an existing RRD directory structure from the old format
to the new one, several steps are required:
Make sure you have the latest version of rrdtool (at least 1.2)
installed and in your path.
cd into each subinterface of the main RRD directory (eg cd
my_RRDs/0[0]/).
Run the script rrd_v2_to_v3.sh (found in the installed
Coral/bin directory).
Returning to the main RRD directory, rename subinterfaces to monitor
names, according to the existing subinterface map.
You can delete the top-level version file, as one has been
created in each monitor subdirectory.
In addition, changes in application names cause different RRDs to be
written; if using the CoralReef example applications file, you will want to
rename and merge a few RRDs:
EoA.rrd -> AoE.rrd
WinMX_UDP.rrd -> WINMX.rrd
BLACKWHITE_TCP.rrd -> BLACKWHITE.rrd
BLACKWHITE_UDP.rrd -> GAMESPY_ARCADE.rrd
REALAUDIO_TCP.rrd and REALAUDIO_UDP.rrd -> REALPLAYER.rrd
EDONKEY_TCP.rrd and EDONKEY_UDP.rrd -> EDONKEY.rrd
IMESH_CTL.rrd and IMESH_DTA.rrd -> IMESH.rrd
The RealPlayer, eDonkey and iMesh RRDs can be joined by the same
merge_protos script mentioned below (after being dumped to XML), with the
caveat that merge_protos will fail if the RRDs were last updated at
different times. Other programs exist to merge RRDs, but have not been
tested on report generator files.
rrd_v2_to_v3.sh will also will rename the following RRDs: