[Orca-users] Beginner plotting question

Jerry Lentner jerryl at pcso.com
Fri Nov 22 06:48:02 PST 2002


Hi.  I'm new to Orca and am trying to create a plot that displays interface
statistics for all interfaces on a host on one graph.  The input data is
broken down into one file per interface:

/usr/local/var/pcso/orca/data/b0215lpb.pcso.com/dsx1CurrentESs_1.1:
date hostname dsx1CurrentESs_1.1
1035912567 b0215lpb.pcso.com 34
1035912867 b0215lpb.pcso.com 33
1035913167 b0215lpb.pcso.com 37

/usr/local/var/pcso/orca/data/b0215lpb.pcso.com/dsx1CurrentESs_1.2:
date hostname dsx1CurrentESs_1.2
1035912567 b0215lpb.pcso.com 17
1035912867 b0215lpb.pcso.com 18
1035913167 b0215lpb.pcso.com 19

etc...

My config file looks like:

base_dir /usr/local/var/pcso/orca
state_file state_file.txt
html_dir /usr/local/opt/docs/orca
rrd_dir rrd

group dsx1Current {
find_files /usr/local/var/pcso/orca/data/(.*)/dsx1CurrentESs_1\.\d+
column_description first_line
date_source column_name date
interval 300
}

plot {
title         T1 PERFORMANCE STATISTICS
source        dsx1Current
data          dsx1CurrentESs_1\.(\d+)
}

but this displays two plots for each host instead of one plot containing
both interfaces.  Just playing around I found that if I use:

plot {
title         T1 PERFORMANCE STATISTICS
source        dsx1Current
data          dsx1CurrentESs_1.2
data          dsx1CurrentESs_1.1
}

with the 'data' lines in that order (if I flip them is doesn't work) it
plots both interfaces on the same graph.

Any suggestions would be appreciated.

Thanks,

Jerry Lentner




More information about the Orca-users mailing list