[Orca-users] Re: Orca beginner question !

Mirza mirza at gmx.at
Wed Nov 28 03:31:02 PST 2001


I installed new rrd, and this is what I got:

root at panda[562]: orca -v orca_ping.cfg
Orca version 0.26beta1 using RRDs version 1.000331.
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 12:16:50 2001.
root     30146  0.0  0.0  104  164  pts/4 A    12:16:50  0:00 grep 18358
root     18358  0.0  1.0 3012 3304  pts/4 A    12:16:49  0:00 perl -w # -*-
per
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 12:16:51 2001 until Wed Nov 28 12:19:20 2001.

same thing. no changes.  i really  have no idea what to do. your file look
like mine.
i dont know, what this "unparsable time " is.... i checked my data file
again, an everything is ok.

thanx :(. J.

one more time, my cfg file:

base_dir                /usr/local/var/orca/rrd/orcallator
rrd_dir                 .
state_file              orca.state
html_dir                /usr/local/www/data/orca
expire_images           1
find_times              0:10 1:00 6:00 12:00 19:00
warn_email              root at localhost
late_interval           interval + 30

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
}

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





----- Original Message -----
From: <simon.klyne at arcordia.com>
To: <orca-users at yahoogroups.com>
Sent: Wednesday, November 28, 2001 12:14 PM
Subject: Re: [orca-users] Orca beginner question !


>
> Looking at my Perl instance that I use for Orca I have two versions of
> RRDs.pm 1.000131 and 1.000241 with the newer version being installed
within
> an hour of the older version.  Now I cannot remember why I did that (it
was
> 18 months ago) but I can't believe that I would have installed Orca and
the
> modules it needs and then an hour later upgrade one of the modules if
there
> wasn't some problem.
>
> The only changes I made to your config file was to change the find_files
> location and add some lines to locate the Orca RRD and HTML files that are
> generated:
>
>
> --
> base_dir       /tmp/sjk/Orca
> rrd_dir             RRD/monitor_ping
> state_file          RRD/monitor_ping/orca.state
> html_dir       html/monitor_ping
> expire_images       1
> late_interval       interval + 30
>
> group orca_ping {
> find_files              /tmp/sjk/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
> }
> --
>
>
>
>
>
> "Mirza" <mirza at gmx.at> on 28/11/2001 10:49:20
>
> Please respond to orca-users at yahoogroups.com
>
> To:   <orca-users at yahoogroups.com>
> cc:
> Subject:  Re: [orca-users] Orca beginner question !
>
>
> well, i did this with -v -v -v and this happened (my data has 299 lines+
> first line with columns names):
>
> root at panda[538]: orca -v -v -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 11:33:39 2001.
>   /usr/local/var/orca/orcallator/monitoring_ping
> root     31704  0.0  0.0  104  164  pts/4 A    11:33:39  0:00 grep 31820
> root     31820  0.0  1.0 3004 3296  pts/4 A    11:33:38  0:00 perl -w
# -*-
> per
> Current running time is 0:00 minutes.
> Loading new data.
>   Loaded `100 1006266960' at Tue Nov 20 15:36:00 2001 (1006266960).
>   Loaded `109 1006267020' at Tue Nov 20 15:37:00 2001 (1006267020).
>   Loaded `102 1006267081' at Tue Nov 20 15:38:01 2001 (1006267081).
>   Loaded `116 1006267141' at Tue Nov 20 15:39:01 2001 (1006267141).
>   Loaded `106 1006267200' at Tue Nov 20 15:40:00 2001 (1006267200).
> ......
>
>   Loaded `100 1006284780' at Tue Nov 20 20:33:00 2001 (1006284780).
>   Loaded `100 1006284841' at Tue Nov 20 20:34:01 2001 (1006284841).
>   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'
> with
> options -b 1006266959 -s 120 DS:Orca19990222:GAUGE:240:U:U
> RRA:AVERAGE:0.5:1:6000 RRA:AVERAGE:0.5:15:1488 RRA:AVERAGE:0.5:60:1200
> RRA:AVERAGE:0.5:720:1098.
> /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 11:33:40 2001 until Wed Nov 28 11:36:09 2001.
>
>
> a you see, everything looks ok until "Creating RRD" .... I have no ide
> what's going on.
> did You use the same files like me, or did you change something else??
>
> my rrdtool version is the one I got together with Orca. I'll install a
> newer
> version of rrdtool.
>
> Thanx. J.
>
>
>
>
>
> ----- Original Message -----
> From: <simon.klyne at arcordia.com>
> To: <orca-users at yahoogroups.com>
> Sent: Wednesday, November 28, 2001 11:25 AM
> Subject: Re: [orca-users] Orca beginner question !
>
>
> >
> >
> > >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/
> > >
> > >
> > >
> > >
> http://docs.yahoo.com/info/terms/
> > >
> > >
> >
> >
> >
> >
> >
http://docs.yahoo.com/info/terms/
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
http://docs.yahoo.com/info/terms/
> >
> >
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>



More information about the Orca-users mailing list