FW: [Orca-users] Beginner plotting question
Jerry Lentner
jerryl at pcso.com
Mon Dec 2 10:55:03 PST 2002
If my plot config looks like:
plot {
title T1 PERFORMANCE STATISTICS
source mysource
data dsx1CurrentESs_1\.(\d+)
y_legend Seconds
}
I get one graph for each interface on a node.
if my plot looks like:
plot {
title T1 PERFORMANCE STATISTICS
source mysource
data dsx1CurrentESs_1.1
data dsx1CurrentESs_1.2
y_legend Seconds
}
I get both interfaces on the same graph.
Does Orca not support pattern matching in the data line if the input comes
from multiple files or am I missing something?
Thanks,
Jerry
-----Original Message-----
From: orca-users-admin at orcaware.com
[mailto:orca-users-admin at orcaware.com]On Behalf Of Jerry Lentner
Sent: Friday, November 22, 2002 9:48 AM
To: orca-users at orcaware.com
Subject: [Orca-users] Beginner plotting question
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
_______________________________________________
Orca-users mailing list
Orca-users at orcaware.com
http://www.orcaware.com/mailman/listinfo/orca-users
More information about the Orca-users
mailing list