[Orca-users] dev 422 and multiple data / line_type don't work?
Danny Howard
dannyman at toldme.com
Fri Apr 8 11:06:57 PDT 2005
Howdy,
I used to use the (0.28 release?) or Orca and for a new project I
thought I'd give the dev snapshot a try. (I mean, the old release
version is like two years old? I'm curious if Blair keeps all the
improvements hidden in Subversion. :)
In a previous conf, I did:
plot {
source FreeBSD
data numproc-(\w+)
legend $1
data_type GAUGE
title %g Process Count
plot_min 0
y_legend processes
line_type AREA
line_type LINE2
line_type LINE2
line_type LINE2
line_type LINE2
summary_format %5.0lf
}
So, the first numproc variable (the TOTAL) is a green backdrop, and
subsequent variables are line2 ... even better:
plot {
source FreeBSD
data_type GAUGE
data mem_(\w+)
legend $1
line_type AREA
line_type STACK
line_type STACK
line_type STACK
line_type STACK
plot_min 0
title %g Memory Use
y_legend memory in use
base 1024
}
This stacks the various memory types together to represent total memory
use.
But on the 422 when I give multiple data arguments, only the first one
is honored, (sorry no example) and I can not for the life of me get an
area-stack graph ... only the first line_type is honored. The mem_
graph above definitions would simply generate all-AREA graphs.
Is this a known bug? An unknown bug? Is there a new paradigm for doing
this stuff that hasn't been documented yet? Do you want a patch? Where
then, in the code, should I go? (I've poked around bin/orca a tiny bit,
and it is legible Perl code that I can wrap my brain around.)
Should I be using the dev version? Or just quietly use the old release
version?
Thanks,
-danny
--
http://dannyman.toldme.com/
More information about the Orca-users
mailing list