[Orca-users] Problem running orca

Mark Player markp at asnet.co.nz
Wed Jun 22 13:58:51 PDT 2005


The config file is below:
 
 

# Orca configuration file for orcallator files.

# Require at least this version of Orca.

require Orca 0.263

# base_dir is prepended to the paths find_files, html_dir, rrd_dir,

# and state_file only if the path does not match the regular

# expression ^\\?\.{0,2}/, which matches /, ./, ../, and \./.

base_dir /usr/local/var/orca/rrd/orcallator

# rrd_dir specifies the location of the generated RRD data files.

rrd_dir .

# state_file specifies the location of the state file that remembers

# the modification time of each source data file.

state_file orca.state

# html_dir specifies the top of the HTML tree created by Orca.

html_dir /var/www

# By default create .meta tag files for all PNGs or GIFs so that the

# web browser will automatically reload them.

expire_images 1

# Find files at the following times:

# 0:10 to pick up new orcallator files for the new day.

# 1:00 to pick up late comer orcallator files for the new day.

# 6:00 to pick up new files before the working day.

# 12:00 to pick up new files during the working day.

# 19:00 to pick up new files after the working day.

# This defines the email address of people to warn when a file that is

# being updated constantly stops being updated. For mathematical

# expressions use the word `interval' to get the interval number for

# the data source.

warn_email root at localhost

late_interval interval + 30

# These parameters specify which plots to generate.

generate_hourly_plot 0

generate_daily_plot 1

generate_weekly_plot 1

generate_monthly_plot 1

generate_quarterly_plot 0

generate_yearly_plot 1

# This defines where the find the source data files and the format of

# those files. Notes about the fields:

# find_files

# You'll notice that all but the first () has the form (?:...).

# This tells Perl to match the expression but not save the matched

# text in the $1, $2, variables. Orca uses the matched text to

# generate a subgroup name, which is used to place files into

# different subgroups. Here, only the hostname should be used to

# generate a subgroup name, hence all the (?:...) for matching

# anything else.

# interval

# The interval here must match the interval used by orcallator to

# record data. Do not change this, as it has an effect on the

# generated RRD data files.

line 61 is here

group httpkap {

find_files /var/MonitorFiles/IRD/httpkap.txt

column_description time page target size latency ms 

date_source column_name time

interval 300

}

group httppen {

find_files /var/MonitorFiles/IRD/httppen.txt

column_description time page target size latency ms 

date_source column_name time

interval 300

}

plot {

title HTTP Latency of Kapiti http://203.167.199.130 

source httpkap

data latency

line_type line1

legend HTTP Latency

y_legend http latency (ms) 

color 0000ff

}

plot {

title HTTP Latency of Penrose http://203.167.199.2 

source httppen

data latency

line_type line1

legend HTTP Latency

y_legend http latency (ms) 

color 0000ff

}

 

 

Any ideas?

 

Regards,

 

Mark

-----Original Message-----
From: Allan, Jim [mailto:JimA at calm.wa.gov.au]
Sent: Wednesday, 22 June 2005 3:33 p.m.
To: orca-users at orcaware.com
Subject: RE: [Orca-users] Problem running orca



Mark, No one is going to be able to help you unless you either give us more information, or the config file itself

 

 

 

--

Jim Allan

UNIX Support

Network Security

Dept. CALM ISS

 


  _____  


From: orca-users-bounces+jima=calm.wa.gov.au at orcaware.com [mailto:orca-users-bounces+jima=calm.wa.gov.au at orcaware.com] On Behalf Of Mark Player
Sent: Wednesday, 22 June 2005 10:59 AM
To: orca-users at orcaware.com
Subject: [Orca-users] Problem running orca

 

Hi, 

This is my 2nd attempt at running orca with this config file.  The first time i got a divide by zero error but i found that i had input files that had zeros in them so i got rid of them.

Now its coming up with this error: 

# /usr/local/bin/perl -w /usr/local/bin/orca /var/MonitorFiles/graph.cfg 
/usr/local/bin/orca: warning: option `' needs arguments in `/var/MonitorFiles/graph.cfg' line 61. 
/usr/local/bin/orca: loading configuration file `/var/MonitorFiles/graph.cfg' got 1 error(s). 

I've gone to line 61 in the graph.cfg config file and it has nothing in it.  The lines after it are setup for the graphing information.

I've checked for syntax errors as well and i can't find any of those either.  

Regards, 

Mark 

This email, together with any attachments, is intended for the
addressee only. It may contain confidential or privileged information.
If you are not the intended recipient of this email, please notify
the sender, delete the email and attachments from your system and
destroy any copies you may have taken of the email and its attachments.
Duplication or further distribution by hardcopy, by electronic means
or verbally is not permitted without permission.
	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/orca-users/attachments/20050623/09139c38/attachment.html>


More information about the Orca-users mailing list