[Orca-users] Re:

Blair Zajac blair at akamai.com
Sun Feb 11 19:55:43 PST 2001

Thanks for pointing out that


is old.  I've updated it with the 0.26 Orca manual page.

I'll take a look at these bugs and see what the best way is to
fix them.


----- Original Message -----

Subject: Re: [orca-users]
Date: Sun, 11 Feb 2001 21:46:36 +0100
From: "Mbh" <mehdi.ben_hassen at alcatel.be>
Reply-To: orca-users at yahoogroups.com
To: <orca-users at yahoogroups.com>
References: 1 , 2

sorry, I used http://www.gps.caltech.edu/~blair/orca/docs/orca.html not
My conclusion about the " group problem" 
"I would change the configuration file from this:

group corea {
column_description   first_line
date_source               column_name timestamp
date_format                 %s
interval                 60
#reopen                       1

group corea2 {
column_description   first_line
date_source               column_name timestamp
date_format                 %s
interval                 60
#reopen                       1

To this:

group core {
column_description   first_line
date_source               column_name timestamp
date_format                 %s
interval                 60
#reopen                       1

This should fix the lack of group names you are seeing on the HTML

- with 1 group and without subgroup [ without (.*) ]   ok , Orca write
- with 2 group and without subgroup [ without (.*) ]   nok , Orca write
a blank for both -----> bug
You will answer me , why not use (.*) , because I would like plot
different graphic for each
Solution: I created different directory, I used (.*) inside each
directory although I have only 1 input file , 
                and for the different graphic , I use different group.
A other problem is that orca , for a special case , try to create a
directory with the same name as a file

     ----- Original Message ----- 
     From: Blair Zajac 
     To: orca-users at yahoogroups.com 
     Sent: Sunday, February 11, 2001 9:09 PM
     Subject: Re: [orca-users]

     All of the configuration file options are documented in the
     docs/orca.* files that are generated when you run make in
     either the top level or docs directory.

     Here's what this option does:

     The filename_compare option is used to sort the found filenames in

     particular group. This function must be written as though it were 
     being passed to the Perl sort() function, which takes the two items
     compare in the package global $a and $b variables instead of the @_ 

     Use of this option has an additional effect on letting Orca know
     it can flush data to the RRD files. It determines this when it 
     compares the previously loaded filename to the filename about to be 
     loaded using the filename_compare function. If the result of the 
     comparison is greater than 1, then the data is flushed. If the 
     comparison is equal to or less than 1, then the data is not 
     flushed. Orca uses a value of 1 instead of 0 since there are cases 
     when the filenames should still be ordered but not flushed. 

     For example, the orcallator.cfg file uses the following subroutine
     filenames of the form "orcallator-2000-02-14": 

       sub {  
         my ($ay, $am, $ad) = $a =~ /-(\d{4})-(\d\d)-(\d\d)/;  
         my ($by, $bm, $bd) = $b =~ /-(\d{4})-(\d\d)-(\d\d)/;  
         if (my $c = (( $ay       <=>  $by) ||  
                      ( $am       <=>  $bm) ||  
                      (($ad >> 3) <=> ($bd >> 3)))) {  
           return 2*$c;  
         $ad <=> $bd;  

     When Orca is about to load a new data file it compares the new 
     filename with the previous name. Using this function, if the year,
     month is different, then data gets flushed. If these two are equal
     the day divided by 8 is different, then the data gets flushed. So 
     loading orcallator-2000-02-14 followed by orcallator-2000-02-15

     not cause a flush but when orcallator-2000-02-16 is about to be 
     loaded, previously loaded data will be flushed. 

     If the filename_compare option is not used, then the filenames are 
     sorted using the Perl <=> operator and data is not flushed until

     of it is loaded. 

     > Mbh wrote:
     > What 's the group option "filename_compare" ?
     > Regards,
     > Mehdi Ben Hassen
     > Network Engineer
     > Altran Europe: http://www.altran-group.com
     > Tel: +32 (0)3 450 36 13
     > Gsm: 0476/ 76.95.82
     > Email: mehdi.ben_hassen at alcatel.be

More information about the Orca-users mailing list