[Orca-users] Re: Thoughts?

Blair Zajac bzajac at geostaff.com
Tue Aug 3 13:31:56 PDT 1999


Yes, you use the with-TYPE-log configure option.  This will set up
start_orcallator correctly with all the proper environmental and
command line options to run lib/orcallator.se.  While you can run
`se lib/orcallator.se' by hand, it will not watch everything you
want and will not save the data files onto disk, rather output the
data to your tty.  So you should run start_orcallator instead.

Blair


"Mauro, Douglas R" wrote:
> 
> To enable web server watching do I recompile with:
> ./configure --prefix=/opt/orca --with-html-dir=/opt/OV/httpd/htdocs
> --with-TYPE-log=/var/opt/OV/log/httpd_access_log
> ??
> Or do I have to edit the .se file manually?
> 
> BTW:  Should I be running by hand: $ se lib/orcallator.se &
> 
> Thanks for the help, I'm looking forward to getting this up and running!
> 
>     Douglas R. Mauro
> -------------------------
> Corning Consumer Products
>   Technical Team Leader
>   Network Administrator
> 
> Phone:  607.377.8538
> Fax:    607.377.8539
> E-Mail: maurodr at ccpci.com <mailto:maurodr at ccpci.com>
> 
>         ----------
>         From:  Blair Zajac [SMTP:bzajac at geostaff.com]
>         Sent:  Tuesday, August 03, 1999 4:20 PM
>         To:  Mauro, Douglas R
>         Cc:  Orca Help Mailing List
>         Subject:  Re: Thoughts?
> 
>         "Mauro, Douglas R" wrote:
>         >
>         > BTW:  I tried to subscribe to orca-help online but couldn't.  The
> link just
>         > hung.
> 
>         Which link was this?  I'd try again in a while.
> 
>         >
>         > I am trying to install Orca on Solaris 2.5.1.  Currently I have
> installed:
>         >
>         > Name            Version         Install Location
>         > --------                ----------
>         > ---------------------------------
>         > Orca            0.23            /opt/orca
>         > SE              3.0             /opt/RICHPse
>         > Rrd             1.0.3           /usr/local/rrdtool-1.0.3
>         >
>         > I ran the orca coinfigure with the following:
>         > ./configure --prefix=/opt/orca
> --with-html-dir=/opt/OV/httpd/htdocs
>         >
>         > No problems.
>         >
>         > I am guessing that the html-dir is a directory that is accessible
> through
>         > the WWW?
> 
>         Yes, this is correct.
> 
>         >
>         > Reading through INSTALL...
>         >
>         > [root][nms] /opt/orca> ./bin/start_orcallator
>         > Writing data into /opt/orca/var/orca/orcallator/nms/
>         > Starting logging
>         > [root][nms] /opt/orca>
>         >
>         > It was unclear at first glance what I should edit in the .cfg file
> so I left
>         > it alone.
>         >
>         > When I tried starting and/or running orca after I saw some data
> files
>         > written I got:
>         >
>         > [root][nms] /opt/orca> ./bin/orca -v lib/orcallator.cfg
>         > Orca version 0.23 using RRDs version 1.000031.
>         > Creating orca.gif.
>         > Creating rrdtool.gif.
>         > ./bin/orca: warning: cannot open state file
>         > `/opt/orca/var/orca/rrd/orcallator/orca.state' for reading: No
> such file or
>         > directory
>         > Finding files and setting up data structures at Tue Aug  3
> 16:07:53 1999.
>         >   /opt/orca/var/orca/orcallator/nms/percol-1999-08-03
>         > ./bin/orca: warning: no substitutions performed for `data #httpds'
> in plot
>         > #3 in `/opt/orca/var/orca/orcallator/nms/percol-1999-08-03'.
>         > ./bin/orca: warning: no substitutions performed for `data %to1KB'
> in plot #6
>         > in `/opt/orca/var/orca/orcallator/nms/percol-1999-08-03'.
>         > ./bin/orca: warning: no substitutions performed for `data %to10KB'
> in plot
>         > #6 in `/opt/orca/var/orca/orcallator/nms/percol-1999-08-03'.
>         > ./bin/orca: warning: no substitutions performed for `data
> %to100KB' in plot
>         > #6 in `/opt/orca/var/orca/orcallator/nms/percol-1999-08-03'.
>         > ./bin/orca: warning: no substitutions performed for `data %to1MB'
> in plot #6
>         > in `/opt/orca/var/orca/orcallator/nms/percol-1999-08-03'.
>         > ./bin/orca: warning: no substitutions performed for `data
> %over1MB' in plot
>         > #6 in `/opt/orca/var/orca/orcallator/nms/percol-1999-08-03'.
>         > ./bin/orca: warning: bad evaluation of commands for plot #6 `data
> %to1KB':
>         > sub {
>         >   return %to1KB;
>         > }
>         >
>         > Output: Global symbol "%to1KB" requires explicit package name at
> (eval 14)
>         > line 2, <FD> chunk 1.
>         >
>         > ./bin/orca: warning: bad evaluation of commands for plot #6 `data
> %to10KB':
>         > sub {
>         >   return %to10KB;
>         > }
>         >
>         > Output: Global symbol "%to1MB" requires explicit package name at
> (eval 17)
>         > line 2, <FD> chunk 1.
>         >
>         > ./bin/orca: warning: bad evaluation of commands for plot #6 `data
> %over1MB':
>         > sub {
>         >   return %over1MB;
>         > }
>         >
>         > Output: Global symbol "%over1MB" requires explicit package name at
> (eval 18)
>         > line 2, <FD> chunk 1.
>         >
>         > ./bin/orca: Orca::GIFFile::new passed empty @rrds_ref reference.
>         >         Orca::GIFFile::new('Orca::GIFFile', 'HASH(0x1fc0b8)',
>         > 'HASH(0x1fc0d0)', 'ARRAY(0x1fc0e8)', 'orcallator', 'nms', '',
>         > 'orcallator_%to1KB,
>         > rcallator_%to10KB,orcallator_%to100KB,orcalla...', ...) called at
> ./bin/orca
>         > line 1493
>         >
>         >
> Orca::SourceDataFile::add_plots('Orca::SourceDataFile=HASH(0x202b34)',
>         > 'HASH(0x1fc0b8)', 'HASH(0x1fc0d0)', 'ARRAY(0x1fc0e8)', 'orcallat
>         > r', 'nms', 'HASH(0x20db58)', 'HASH(0x211d10)') called at
> ./bin/orca line
>         > 2598
>         >         main::find_files('lib/orcallator.cfg', 'HASH(0x1fc0b8)',
>         > 'HASH(0x1fc0d0)', 'ARRAY(0x1fc0e8)', 'HASH(0x1ccfec)',
> 'HASH(0x20db7c)',
>         > 'HASH
>         > 0x20db58)', 'HASH(0x211d10)') called at ./bin/orca line 1836
>         >         main::watch_data_sources('lib/orcallator.cfg',
> 'HASH(0x1fc0b8)',
>         > 'HASH(0x1fc0d0)', 'ARRAY(0x1fc0e8)') called at ./bin/orca line
> 1739
>         >         main::main('lib/orcallator.cfg') called at ./bin/orca line
> 1718
>         > [root][nms] /opt/orca>
>         >
>         > I feel like I am missing the big picture.  What does is the
> orcalator.se
>         > file used for?  Am I supposed to run these things by hand?  Is
> this the same
>         > for rrd?
> 
>         Actually, you're pretty close here.  Orcallator.se is the data
> gathering tool
>         that is run on each Sun system.  In this case, it does not look like
> you are
>         watching your web server statistics, so Orca is failing.  This is a
> bug that
>         will be fixed in the next release of Orca.  For now, there are two
> solutions
>         to the bug.  One is to enable web server watching in orcallator.se
> on all your
>         hosts.  The second is to remove from orcallator.cfg the plot { ... }
> lines
>         that mention web serving until Orca does not complain.
> 
>         The only think you'll probably want to change in orcallator.cfg are
> the
>         html_* settings to be specific for your site.
> 
>         Cheers,
>         Blair
> 
>         >
>         >     Douglas R. Mauro
>         > -------------------------
>         > Corning Consumer Products
>         >   Technical Team Leader
>         >   Network Administrator
>         >
>         > Phone:  607.377.8538
>         > Fax:    607.377.8539
>         > E-Mail: maurodr at ccpci.com <mailto:maurodr at ccpci.com><<File:
> bzajac.vcf>>



More information about the Orca-users mailing list