[Orca-users] Strange Configuration Error

Blair Zajac blair at orcaware.com
Fri Jun 25 18:32:05 PDT 2004


Danny Howard wrote:

> Hello,
> 
> I'm making my way back to orca after many years.  Has anyone written an
> Orcallator-like monkey for FreeBSD or Linux?

Hello Danny,

Well, there is procallator for Linux.  Don't know how well it works for FreeBSD.

Get the latest Orca snapshot from

http://www.orcaware.com/orca/pub/snapshots/

and it has procallator nicely packages in it.

> I found one person with a similar problem in March:
> http://www.orcaware.com/pipermail/orca-users/2004-March/003653.html
> 
> Basically:
> 0-15:18 djh at r2j /usr/local/orca> orca orca.cfg
> /usr/local/bin/orca: warning: '{' required after `group FreeBSD' at line 6 in `orca.cfg'.
> /usr/local/bin/orca: warning: '{' required immediately after plot in `plot { source FreeBSD data load(\d+) data_type ABSOLUTE data_min 0 title FreeBSD Load' at line 13 in `orca.cfg'.
> /usr/local/bin/orca: error: must set `column_description' for `group FreeBSD' in `orca.cfg'.
> /usr/local/bin/orca: error: must set `date_source' for `group FreeBSD' in `orca.cfg'.
> /usr/local/bin/orca: error: must set `find_files' for `group FreeBSD' in `orca.cfg'.
> /usr/local/bin/orca: error: must set `interval' for `group FreeBSD' in `orca.cfg'.
> /usr/local/bin/orca: loading configuration file `orca.cfg' got 6 error(s).
> 
> Okay, my config:
> 255-15:26 djh at r2j /usr/local/orca> cat orca.cfg 
> state_file /usr/local/var/orca/orca.state
> html_dir   /usr/local/www/data/orca
> rrd_dir    /usr/local/orca/rrd
> base_dir   /usr/local/orca
> 
> group FreeBSD {
>         find_files                      data-in/FreeBSD_(.*)
>         interval                        300
>         column_description				first_line
>         date_source                     file_mtime
> }

You need all the configuration parameters in the group at column 1.  Leading 
whitespace is taken by Orca to mean a line continuation.

So it should look something like:

group FreeBSD {
find_files                      data-in/FreeBSD_(.*)
interval                        300
column_description		first_line
date_source                     file_mtime
}

Best,
Blair

-- 
Blair Zajac <blair at orcaware.com>
Plots of your system's performance - http://www.orcaware.com/orca/



More information about the Orca-users mailing list