[rrd-users] Downgrading an rrd from version 0003 to 0001 (or alternatively, Cricket's HTML summary)

Robert Woodcock Robert.Woodcock at Homestone.com
Thu Mar 29 23:20:13 CEST 2007

It's not that I'm particularly nostalgic, but I'm trying to downgrade
all of my existing rrd files from version 0003 to version 0001.

I thought I would try to do this by dumping all of my rrds and
changing the <version> tag, then downgrading rrdtool from 1.2.19 to
1.0.49, then restoring all of the rrds.

The older version of rrdtool says:
ERROR: No <xff> tag found

Is there any way to work around this?

Now, for why I found myself wanting to downgrade, here's a copy
of my post to the cricket-users list:

> I'm having a very curious problem with cricket 1.0.5, librrds-perl,
> and librrd2 1.2.15 (from the packages in Debian etch).
> Many target views do not display any text under "Values at last
> update:". Other targets (especially ones with lots of fields) display
> the Cur: value from the wrong ds (ds7's cur value will come from ds6,
> ds6's will come from ds5, etc, assuming they're both GAUGE ds's).
> Here's the kicker - the Avg and Max Values pull from the correct ds
> and so does the graph.
> When I try to browse one of these target views, I see this in Apache's
> error log:
> Use of uninitialized value in pack at
> /usr/share/cricket/lib/RRD/Format.pm line 188.
> If I run rrd-dump on an .rrd file, I get binary garbage in the PDP
> line.
> 'rrdtool dump' output on the same rrd looks fine. Anyone know why?

Since I posted that, I found that rrds created by cricket using
rrdtool 1.0.49 display HTML summaries with no problems.

Obviously if I can fix the underlying problem with using cricket with
rrdtool 1.2.x (no, I don't know whose code the bug is in) then that
would be the preferred solution.

More information about the rrd-users mailing list