[Orca-users] Re: Orca beginner question !
simon.klyne at arcordia.com
simon.klyne at arcordia.com
Wed Nov 28 02:25:43 PST 2001
>From the error message I would guess it could be either a bad data point or
some problem with the RRD module.
If you give three '-v' options to Orca ('-v -v -v') then orca displays the
data points as it reads them in. If there is a corruption in your data
this should show it.
Failing that you could try upgrading your RRDs perl module - I don't know
of any issues with RRDs 1.000131
but I just recreated your config and tested it and I get plots from the
small amount of data you provided.
I have the same version of Orca - 0.26beta1 but I have a newer RRDs module
- 1.000241
Does anyone else know of any issues with RRD ?
Simon
"Mirza" <mirza at gmx.at> on 28/11/2001 09:31:07
Please respond to orca-users at yahoogroups.com
To: <orca-users at yahoogroups.com>
cc:
Subject: Re: [orca-users] Orca beginner question !
Thanx for the help. I have already changed that, and the situation doesn't
look so bad, but I still have no PNGs.
I would like to show you my files, and I hope that you can help me.
This is my cfg file "orca_ping.cfg":
group orca_ping {
find_files /usr/local/var/orca/orcallator/monitoring_ping
column_description first_line
date_source column_name timestamp
date_format %s
interval 120
reopen 1
....
plot {
title %g Avg Ping-Time for panda
source orca_ping
data ping_avg
plot_width 400
plot_height 350
legend ping zeiten
color ff0000
y_legend Number Processes
href
http://www.gps.caltech.edu/~blair/orca/docs/orcallator.html#processes_in_run
_queue
}
And this is my data file "monitoring_ping" (around 300 lines):
ping_avg timestamp
100 1006266960
109 1006267020
102 1006267081
116 1006267141
106 1006267200
114 1006267260
126 1006267320
100 1006267380
100 1006267440
.....
and this is what I get when I run it:
root at panda[529]: orca -v orca_ping.cfg
Orca version 0.26beta1 using RRDs version 1.000131.
Loading state from `/usr/local/var/orca/rrd/orcallator/orca.state'.
Creating orca.gif.
Creating rrdtool.gif.
Finding files and setting up data structures at Wed Nov 28 10:06:09 2001.
root 32370 0.0 1.0 3004 3296 pts/4 A 10:06:08 0:00 perl -w # -*-
per
root 20474 0.0 0.0 104 164 pts/4 A 10:06:09 0:00 grep 32370
Current running time is 0:01 minutes.
Loading new data.
Read 299 data points from
`/usr/local/var/orca/orcallator/monitoring_ping'.
Flushing new data and updating PNGs.
Creating RRD `/usr/local/var/orca/rrd/orcallator/o_ping_ping_avg.rrd'.
/usr/local/bin/orca: RRDs::create error:
`/usr/local/var/orca/rrd/orcallator/o_ping_ping_avg.rrd' start time:
unparsable time:
Saving state into `/usr/local/var/orca/rrd/orcallator/orca.state'.
Updating PNGs.
Creating HTML files in `/usr/local/www/data/orca/'.
Sleeping at Wed Nov 28 10:06:10 2001 until Wed Nov 28 10:08:39 2001.
As You can see, everything looks ok, until the line "Creating RRD ". There
is an error in the next line about "unparsable time ...."
html files are being created, but there are no PNGs. should the PNGs be in
the same dir as html files?
Should I change "date_source" in the group from
date_source column_name timestamp
to
date_source ping_avg timestamp
or should I leave it as it is? I tried to change it, but I allways got an
error, so I didn't change it.
I am really sorry because of writing so much, but I have no idea, what
should I do. I don't need (at the moment) any maths in the plot, I just
want
it to draw a graph by using these 300 lines (this is just an example file,
the real file has thousands and thousands of lines).
Thanx a lot one more time and I hope that You can help me.
J.
----- Original Message -----
From: "Blair Zajac" <blair at orcaware.com>
To: <orca-users at yahoogroups.com>
Sent: Tuesday, November 27, 2001 7:16 PM
Subject: Re: [orca-users] Orca beginner question !
> You'll want to also set up a single plot {} for your data with a "data
ping_ms"
> entry
> to plot the ping time. Also, change the interval to match your
measurement
> interval.
>
> Best,
> Blair
>
> Mirza wrote:
>
> > I tried a few things:- edited my source file to look like this:ping_ms
> > timestamp123 1006266960128 1006267020... - in my orcallator.cfg is
everything
> > default except ""find_files""":find_files
> > /usr/local/var/orca/orcallator/monitoring_ping
> > column_description first_line
> > date_source column_name timestamp
> > date_format %s
> > interval 300.... - read a manual one more time, and some things
became
> > pretty clear and this is the current situation, and I have no idea,
what
to
> > do:- I run ""orca -o orcallator.cfg"" and got
this:-------/usr/local/bin/orca:
> > warning: cannot open state file
> > `/usr/local/var/orca/rrd/orcallator/orca.state' for reading: No such
file or
> > directory
> > root 28844 0.0 0.0 104 164 pts/12 A 14:22:31 0:00 grep
17988
> > root 17988 0.0 1.0 3188 3476 pts/12 A 14:22:30 0:00 perl -w
# -*-
> > per
> > root 17988 25.0 1.0 3224 3512 pts/12 A 14:22:30 0:01 perl -w
# -*-
> > per
> > root 24640 0.0 0.0 104 164 pts/12 A 14:22:32 0:00 grep
17988
> > ------- html files are being created (7 html files, rrdtool.gif,
orca.gif in
> > the dir), but there are no graphs. there is nothing about it in the
html
code
> > of these html pages. i just see the header, the footer, links (daily,
weekly
> > ... all) and a line of the text ("These plots brought to you by your
local
> > system administrator."). Any ideas what could I do? Thanx a lot J.
> >
> > ----- Original Message -----
> > From: Mirza
> > To: orca-users at yahoogroups.com
> > Sent: Tuesday, November 27, 2001 11:03 AM
> > Subject: [orca-users] Orca beginner question !
> > Sorry, I forgot to enter the subject. Thanx J.
> >
>
> --
> Blair Zajac <blair at orcaware.com> - Perl & sysadmin services for hire
> Web and OS performance plots - http://www.orcaware.com/orca/
>
>
>
>
>
>
More information about the Orca-users
mailing list