[Orca-users] Re: How to configure orcallator.cfg???

nurik_m nurik_m at yahoo.com
Fri Apr 5 21:21:51 PST 2002


> Which version of Orca and perl do you have installed?
Perl 5.005
Orca 0.26

> You need to make sure your find_files parameter in orcallator.cfg
can
> find the input files you have.

=====================================================
orcallator.cfg
-----------------------------------------------------
group orcallator {
find_files            /opt/orca/var/orca/orcallator/(?:
(?:orcallator)|(?:percol))-\d{4}-\d{2}-\d{2}(?:\.(?:Z|gz|bz2))?
column_description      first_line
date_source            column_name timestamp
date_format            %s
interval            300
reopen                  1
filename_compare      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;
                  }
}
=====================================================

directories "/opt/orca/var/orca" are exists but they are empty...

/opt/orca
- bin
- html
- lib
- - Orca
- man
- - man1
- var
- - orca
- - - orcallator
- - - rrd
- - - - orcallator



More information about the Orca-users mailing list