[Orca-users] err RRD (oracallor.cfg)

koster_de koster_de at yahoo.de
Thu Aug 29 08:26:37 PDT 2002


hi,

the error-message:
>>>>>
Flushing new data and updating PNGs.
  Creating RRD `/home/koster/tools/html/mk/o/gauge_disk_rK_per_s.rrd'.
./bin/orca: RRDs::create error: 
`/home/koster/tools/html/mk/o/gauge_disk_rK_per_
s.rrd' start time: unparsable time:
  Creating RRD `/home/koster/tools/html/mk/o/gauge_disk_t_per_s.rrd'.
./bin/orca: RRDs::create error: 
`/home/koster/tools/html/mk/o/gauge_disk_t_per_s
.rrd' step size should be no less than one second
<<<<

orcallator.cfg
>>>>>
# Orca configuration file for orcallator files.

# 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 /home/koster/tools/

# rrd_dir specifies the location of the generated RRD data files.
rrd_dir /home/koster/tools/html/mk

# state_file specifies the location of the state file that remembers
# the modification time of each source data file.
state_file /home/koster/tools/orcallator/orca.state

# html_dir specifies the top of the HTML tree created by Orca.
html_dir /home/koster/tools/html/mk

# 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.
find_times 0:10 1:00 6:00 12:00 19:00

# 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.
late_interval interval + 30

generate_hourly_plot 0
generate_daily_plot 1
generate_weekly_plot 1
generate_monthly_plot 1
generate_quarterly_plot 1
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.

group orcallator {
find_files /opt/log/performance/ilax03/(?:stats).\d{4}-\d{2}-\d{2}-\d
{4}(?:\.(?:Z|gz|bz2))?
column_description first_line
date_source column_name timestamp
#date_format %s
interval 30
#reopen 1
}


plot {
title %g Average # Processes in Run Queue (Load Average)
source orcallator
data disk_t/s
data disk_rK/s
data disk_wK/s
legend 1 minute average
legend 5 minute average
legend 15 minute average
y_legend Number Processes
data_min 0
data_max 100
plot_width 640
}
<<<<


testfile
>>>>>
timestamp       locltime        disk_t/s        disk_rK/s       
disk_wK/s
1030631158      16:25:58        3       536     56951
1030631188      16:26:28        3       536     58812
1030631218      16:26:58        0       544     59544
1030631248      16:27:28        6       544     61051
1030631278      16:27:58        3       552     61611
1030631308      16:28:28        3       572     62985
1030631338      16:28:58        3       572     63553
1030631368      16:29:28        3       572     65258
1030631398      16:29:58        66      1784    76102
1030631428      16:30:28        15      2988    93788
1030631458      16:30:58        0       3012    95068
1030631488      16:31:28        5       5480    97128
1030631518      16:31:58        3       5480    97620
1030631548      16:32:28        6       5480    98761
<<<<


thanks
marcus



More information about the Orca-users mailing list