Upgrading from very old files (pre-CoralReef 3.5)
The very old directory structure consisted of one subdirectory for each vp:vc
pair (assuming ATM), like:
RRD_dir/1:16/
RRD_dir/2:16/
... etc.
Each subdirectory then had its own subdirectories for the actual RRDs:
RRD_dir/1:16/app/
RRD_dir/1:16/proto/
RRD_dir/1:16/top_n_app_bytes/
RRD_dir/1:16/top_n_app_flows/
RRD_dir/1:16/top_n_app_packets/
The app directory held RRDs for apps specified in the t2_report config
file, the proto directory held RRDs for protocols specified in the
t2_report config file, and the top_n_app_* directories held all the
applications seen while running t2_report.
Because the top_n_app_* directories will most likely contain most of the
applications seen on the link, you can simply copy all the RRDs from one of
them into app:
top_n_app_bytes/* -> app/*
After copying them, the top_n_app_* directories can be removed.
The older format also had no total.rrd, so you must manually create it. To
do this, you must dump all of the protocol RRDs into XML format, run
a conversion script (named merge_protos.pl, which is installed with the
other CoralReef applications) to add them up into a single XML file, and
turn that back into an RRD. For example:
rrdtool dump 1:16/proto/6.rrd > 1:16/6.xml
rrdtool dump 1:16/proto/17.rrd > 1:16/17.xml
rrdtool dump 1:16/proto/1.rrd > 1:16/1.xml
merge_protos.pl 1:16/*.xml > 1:16/total.xml
rrdtool restore 1:16/total.xml 1:16/total.rrd
Due to changes in the application mapping file, the RRDs in the app
directory need to be renamed as follows:
MEDIA_NETSHOW_MS.rrd -> MS_MEDIA.rrd
AIM.rrd -> AOL.rrd
ICMPECHOREPLY.rrd -> ICMP_ECHOREPLY.rrd
ICMPECHOREQUEST.rrd -> ICMP_ECHO.rrd
ICMPTTL.rrd -> ICMP_TIMXCEED_INTRANS.rrd
ICMPNOREACH.rrd -> ICMP_UNREACH_HOST.rrd
At this point, you can follow the same directions as with post-3.5 files.