[Orca-users] Re: Moved orca and kablam :(

Blair Zajac blair at akamai.com
Fri Feb 18 12:58:14 PST 2000


This is a pretty simple fix.  I just tried it against rrdtool-1.0.13.

Find the GPRINT in orca and change all the %f to %lf.  I'm including
a patch below that fixes this.

Blair


Tim Kennedy wrote:
> 
> From: Tim Kennedy <tkennedy at newsreal.com>
> 
> Patrick,
> 
> I got the very same errors, using orca-0.25, with rrdtool-1.0.9.
> I finally, removed my instalation of rrdtool-1.0.9, and reverted to the
> rrdtool-1.0.7(?) that ships with orca-0.25, and everything is working
> ship-shape now.
> 
> -Tim
> 
> On Fri, 11 Feb 2000, Patrick Robert Aland wrote:
> 
> > /usr/local/orca/bin/orca: warning: cannot create
> > `/usr/local/orca/html/beret/o_beret_1runq,__5runq,__15runq-weekly.png':
> > bad format for [G]PRINT in '1 minute average   Current: %8.3f %s'
> >
> > Orca version 0.25 using RRDs version 1.000111.
> 
> --------------------------- ONElist Sponsor ----------------------------
> 
> FREE ADVICE FROM REAL PEOPLE!  Xpertsite has thousands of experts who
> are willing to answer your questions for FREE.  Go to Xpertsite today
> and put your mind to rest.
> <a href=" http://clickme.onelist.com/ad/XpersiteCPC ">Click Here</a>
> 
> ------------------------------------------------------------------------
-------------- next part --------------
--- orca.pl.in.orig	Wed Oct 20 18:06:53 1999
+++ orca.pl.in	Fri Feb 18 12:56:31 2000
@@ -610,10 +610,10 @@
   for (my $i=0; $i<$data_sources; ++$i) {
     my $legend = $legends[$i];
     $legend   .= ' ' x ($max_legend_length - length($legend));
-    push(@options, "GPRINT:average$i:LAST:$legend  Current\\: %8.3f %S",
-                   "GPRINT:average$i:AVERAGE:Average\\: %8.3f %S",
-                   "GPRINT:average$i:MIN:Min\\: %8.3f %S",
-                   "GPRINT:average$i:MAX:Max\\: %8.3f %S\\l"
+    push(@options, "GPRINT:average$i:LAST:$legend  Current\\: %8.3lf %S",
+                   "GPRINT:average$i:AVERAGE:Average\\: %8.3lf %S",
+                   "GPRINT:average$i:MIN:Min\\: %8.3lf %S",
+                   "GPRINT:average$i:MAX:Max\\: %8.3lf %S\\l"
         );
   }
 


More information about the Orca-users mailing list