[Orca-users] new plot problem

mtb mtb at nac.net
Mon Dec 2 13:59:01 PST 2002


I got this working, thanks for the help.  One small issue, however.

I'd like to include the port number with the hostname since there are several webservers running on the same box...  the header looks like this:

webstat_hostA:20300 webstat_hostA:20301 webstat_hostA:20302 webstat_total

The port numbers are getting chopped off... not sure why.  The config file looks like this:

plot {
title                   %g Webstats
source                  procallator
data                    webstat_(.*)
line_type               line1
legend                  $1
y_legend                Concurrent Users
data_min                0
plot_min                0
href                    http:
}

Everything is working fine here except for the labels.

Thanks in advance.


On Fri, 22 Nov 2002, Sean O'Neill wrote:

> At 04:38 PM 11/22/2002 -0500, mtb wrote:
> >Sorry, I should have been more detailed.  There is a time stamp... and all
> >the other procallator data.
> >
> >1037750400 00:00:00 291540  1.06  1.07  1.12 2 235 0.010 1 5 1 84 0 0
> >20.05 70.61 18.28
> >4.69 66.99 0 67.46 49.60 38.17 68.25 8 etc, etc.....
> >
> >The webstat stuff is tagged onto the end.
> >
> >The the plot settings I listed, I get a seperate chart for each
> >webstat_host, while I want them all on one chart.
>
> I see it.  You have the following:
>
>
> data                    webstat_(.*)
> data                    webstat_total
>
> Notice this is going to catch "webstat_total" TWICE - once in the "data
> webstat_(.*)" and the again in the "data webstat_total".
>
> Do this.  Change your variable name for webstat_total to something like
> webstatTotal.  And change your config to this:
>
> data                    webstat_(.*)
> data                    webstatTotal
>
> Change your data to this:
> ... webstat_host1 webstat_host2 webstat_host3 webstatTotal
> ... 20 50 30 100
>
> I think this should fix your problem.
>
>
> --
> ........................................................
> ......... ..- -. .. -..- .-. ..- .-.. . ... ............
> .-- .. -. -... .-.. --- .-- ... -.. .-. --- --- .-.. ...
>
> Sean O'Neill
>
>




More information about the Orca-users mailing list