[Orca-users] Re: Rép. : Re: Further Info

Blair Zajac blair at akamai.com
Mon Apr 17 19:33:53 PDT 2000



Guy Dallaire wrote:

> I've finally decided to move orca to a linux box: This will permit to reduce the IO/load on the servers I monitor and fix the problem of the web server (running apache on linux)
>
> I still have a couple of questions:
>
> - I plan to rcp the orcallator files from remote hosts every 10 minutes. I wonder what might happen if I tranfer an "incomplete" file from the remote host to the linux box. I mean, what happens if I transfer the file whil orcallator.se is writing to it, and it is incomplete ? Will orca gracefully detect that some filds are missing from a recodd and ignore the record and process it the next time ?

Yes, if the file is updated at the next transfer, then orca will reread it and pick up the
new record.  The other thing that orcallator.se tries to do is an atomic write,
so the two record will be written at once.  This is needed if there are two
orcallator.se writing to the same output file.

>
>
> - What happens when you upgrade orcallator.se ? Does your RRD's become obsolete and do you lose all previous data ? For example if the new orcallator starts to collect new data, or stop collecting other data, or change the way the data is collected ?

No, the RRDs will not be obsolete.  You may not see the remaining data for that
day in Orca since orca can't deal with orcallator-YYYY-MM-DD files that
change the number of columns of data they have.

Blair


>
>
> Thanks
>
> Guy Dallaire
> Centre de recherche industrielle du Québec
> Ste-Foy, QC, Canada
> Phone: (418) 659-1550 x 2612
> e-mail: gdallair-nospam at criq.qc.ca
>
> Note: remove "-nospam" from my e-mail
>
> >>> blair at akamai.com 00-04-12 17:41:30 >>>
> Do you have your Orca installation viewable from the Internet
> so I can take a look at it?
>
> Blair
>
> Guy Dallaire wrote:
> >
> > The problem is confirmed: oracle web sever cannot open fil with name length > 128 characters.
> >
> > I modified orca like this (function escape_name)
> >
> >   if (length($name) > 100) {
> >     my $md5 = md5_base64($name);
> >     $name   = substr($name, 0, 80) . "-$md5";
> >
> >     # Be careful to convert any / characters _, since / is a valid base64
> >     # character and should not be used.
> >     $name =~ s:/:_:g;
> >   }
> >
> > This limits the file name length. But there is still a problem when I click on one of the graphs (ex: daily run percent) I'm taken to another page and on that page, all the graphs are invisible...
> >
> > Guy Dallaire
> > Centre de recherche industrielle du Québec
> > Ste-Foy, QC, Canada
> > Phone: (418) 659-1550 x 2612
> > e-mail: gdallair-nospam at criq.qc.ca
> >
> > Note: remove "-nospam" from my e-mail
> >
> > >>> blair at akamai.com 00-04-11 19:12:21 >>>
> > Sometimes there is a problem with the server and it can't open
> > the files.  Have you looked at the error log?
> >
> > Blair
> >
> > gdallair at criq.qc.ca wrote:
> > >
> > > The proble seems related to the length of the filenames produced by
> > > orca. If I rename the filenames to something shorter like 'a.html',
> > > everything seems to be ok.
> > >
> > > There seems to be a problem in Internet exploder and Netscrape that
> > > prevent the browsers from opening very long urls...
> > >
> > > ------------------------------------------------------------------------
> > > Easter Made Simple
> > > Click Here ->
> > > http://click.egroups.com/1/3122/7/_/_/_/955480612/
> > > ------------------------------------------------------------------------
> > ------------------------------------------------------------------------
> > Enter to WIN one of 10 NEW Kenmore Ranges!
> > Only at sears.com
> > http://click.egroups.com/1/2677/7/_/_/_/955494424/
> > ------------------------------------------------------------------------
> >
> > ------------------------------------------------------------------------
> > 1.6 Million Digital Images!
> > Download one Today from Corbis.com
> > http://click.egroups.com/1/3356/7/_/_/_/955575210/
> > ------------------------------------------------------------------------
> ------------------------------------------------------------------------
> 1.6 Million Digital Images!
> Download one Today from Corbis.com
> http://click.egroups.com/1/3356/7/_/_/_/955575364/
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------
> 1.6 Million Digital Images!
> Download one Today from Corbis.com
> http://click.egroups.com/1/3356/7/_/804404/_/955636601/
> ------------------------------------------------------------------------



More information about the Orca-users mailing list