[Orca-dev] Patch for RRDtool 1.2

Alex Kiernan alex.kiernan at gmail.com
Wed Jul 20 19:34:41 PDT 2005


On 7/21/05, Blair Zajac <blair at orcaware.com> wrote:
> Alex Kiernan wrote:
> > Here's a patch for RRDtool 1.2 support - it detects which version
> > you're running with and does the right thing for both 1.0 and 1.2.
> > I've actually been running with the patch using both RRDtool 1.0.50
> > and 1.2.10 - using 1.2 w/ Orca is way too slow for old hardware, but
> > it is a lot prettier :)
> >
> > Obviously the patch is based on what other's figured out, all I've
> > done is conditionalise it appropriately (and not change the format of
> > the date string).
> 
> Hi Alex,
> 
> Thanks for the patch.
> 
> I don't have RRDtool 1.2 running, so what happens on 1.2 without the
> patch?  Do you have a sample PNG you can email or link to?
> 

Without it you get lots of errors of the form:

Garbage ':15:00 2005.' after command:
COMMENT:Last data entered at Thu Apr 28 13:15:00 2005.

(sorry I'm cutting and pasting that from orca-users, as I don't have
any live examples any more).

The problem's that 1.2 has an incompatible change:

http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/newin12.txt

(look down for Incompatibilities).

Obviously its the `:'s in the time stamp which are tripping it up.

-- 
Alex Kiernan




More information about the Orca-dev mailing list