[Orca-users] Re: What is the best way to create classes of servers?

Blair Zajac blair at orcaware.com
Sat Oct 6 11:12:42 PDT 2001


That's correct, if no files are found, then no plots will be created for
the custom group.

Blair

> Erik Melander wrote:
> 
> Ahh.  I understand now.  On a related topic ...
> 
> Now I see a section in the orcallator.cfg called "group group_name {}" where I
> can apparently define files other
> than those generated by orcallator to be examined by orca for graphing.  Am I
> correct to assume that if I create
> custom groups and if the files do not exist for a particular machine then
> empty plots will not be created in the
> daily, weekly, monthly, etc subsections for that machine?  If not, is there a
> method necessary to create excludes
> based on machines or will I have to have a separate orca process to handle the
> custom files?
> 
> Thanks again for your patience and time!  I am starting to generate some
> really nice graphs!
> 
>      -----Original Message-----
>      From: Blair Zajac [mailto:blair at orcaware.com]
>      Sent: Saturday, October 06, 2001 12:44 PM
>      To: orca-users at yahoogroups.com
>      Subject: Re: [orca-users] What is the best way to create classes of
>      servers?
> 
>      No, all of the tests are for defined, not for 0 versus 1.
> 
>      In your case, you'll need to modify start_orcallator and remove the
>      -DWATCH_OS from the line
> 
>          nohup $SE $SE_PATCHES -DWATCH_OS $WATCH_WEB
>      $libdir/orcallator.se &
> 
>      because orcallator.se defines WATCH_NFS_CLIENT and WATCH_NFS_SERVER
>      when
>      WATCH_OS is defined.
> 
>      Then you'll need to add all of the other -DWATCH_**** that you want
>      to watch
>      to start_orcallator.se.
> 
>      Blair
> 
>      > Erik Melander wrote:
>      >
>      > Would I follow my previous strategy with NFS to set the define for
>      NFS in
>      > orcallator.se to 0?  Or
>      > is there some way I can pass this through the orcallator.cfg file?
>      >
>      >      -----Original Message-----
>      >      From: Blair Zajac [mailto:blair at orcaware.com]
>      >      Sent: Saturday, October 06, 2001 12:35 PM
>      >      To: orca-users at yahoogroups.com
>      >      Subject: Re: [orca-users] What is the best way to create
>      classes of
>      >      servers?
>      >
>      >      orcallator.se checks if WATCH_WEB is defined, not the value
>      of it.
>      >      You need
>      >      to make sure start_orcallator has all of the WATCH_WEB lines
>      >      commented out.
>      >
>      >      # WATCH_WEB contains the command line options to SE to tell
>      >      # orcallator.se the format of the web server logs.
>      >      WATCH_WEB="-DWATCH_WEB"               # For NCSA style access
>      log
>      >      WATCH_WEB="-DWATCH_WEB -DWATCH_PROXY" # For proxy NCSA style
>      access
>      >      log
>      >      WATCH_WEB="-DWATCH_WEB -DWATCH_SQUID" # For Squid style
>      access log
>      >      WATCH_WEB="@WATCH_WEB@"
>      >
>      >      just put #'s in front of all these lines.
>      >
>      >      Blair
>      >
>      >      > Erik Melander wrote:
>      >      >
>      >      > Before asking the question, I initially modified my
>      orcallator.se
>      >      section with
>      >      > the define '#define
>      >      > WATCH_WEB' and instead of 1 I set it to 0 in hopes of
>      preventing
>      >      the web
>      >      > graphs.  Unfortunately,
>      >      > it seems as though I am still graphing 0's for the web
>      server
>      >      information.
>      >      > Sorry to be so slow, but can
>      >      > you give an example of how I would properly set these
>      attributes?
>      >      Thanks for
>      >      > all your help!
>      >      >
>      >      >      -----Original Message-----
>      >      >      From: Blair Zajac [mailto:blair at orcaware.com]
>      >      >      Sent: Saturday, October 06, 2001 1:26 AM
>      >      >      To: orca-users at yahoogroups.com
>      >      >      Subject: Re: [orca-users] What is the best way to
>      create
>      >      classes of
>      >      >      servers?
>      >      >
>      >      >      Orca is designed where if measurements for a
>      particular plot
>      >      are
>      >      >      missing
>      >      >      then it won't plot the data.  However, if you are
>      measuring
>      >      even
>      >      >      0's, then
>      >      >      Orca will plot them.
>      >      >
>      >      >      What you want to do is edit start_orcallator and put
>      some
>      >      smarts
>      >      >      there on
>      >      >      what defines to pass to orcallator.se so it know what
>      to
>      >      measure.
>      >      >      If you
>      >      >      don't have a web server, then make sure WATCH_WEB or
>      >      WATCH_HTTPD is
>      >      >      not
>      >      >      defined.  You can do this for the other WATCH_ defines
>      in
>      >      >      orcallator.se.
>      >      >      Be careful that WATCH_OS turns on almost everything
>      except
>      >      for
>      >      >      WATCH_WEB,
>      >      >      so if you want to turn off, say, WATCH_NFS_SERVER,
>      then
>      >      you'll need
>      >      >      to
>      >      >      not set WATCH_OS and define the rest.
>      >      >
>      >      >      This way you can use the same orcallator.cfg file for
>      all
>      >      your
>      >      >      systems.
>      >      >
>      >      >      Blair
>      >      >
>      >      >      EMelander at wyndham.com wrote:
>      >      >      >
>      >      >      > I have several different classes of machines in our
>      >      environment
>      >      >      that
>      >      >      > require different attributes to be profiled.  Some
>      machines
>      >      are
>      >      >      web
>      >      >      > servers, while others are database servers, and yet
>      others
>      >      are
>      >      >      mail
>      >      >      > servers.  This leads to an issue with my current
>      >      configuration of
>      >      >      > orca as I generate empty graphs for services that
>      are not
>      >      running
>      >      >      on
>      >      >      > the box.  For example, the database boxes do not
>      have web
>      >      or mail
>      >      >      > servers making the web and mail graphs meaningless
>      and tend
>      >      to
>      >      >      > clutter the page.
>      >      >      >
>      >      >      > Is there anyway to create classes of machines that
>      each
>      >      have a
>      >      >      > different configured set of graphs?  Do I have to
>      run
>      >      multiple
>      >      >      > instances of orca with each reading a different
>      >      orcallator.cfg
>      >      >      file
>      >      >      > to achieve this desired result?
>      >      >      >
>      >      >      > Thanks!
>      >
>      Service.
>      >
>      >                    Yahoo! Groups Sponsor
>      >                           [Image]
>      >
>      >
>      Service.
> 
> 
>                    Yahoo! Groups Sponsor
>                           [Image]
> 
> 



More information about the Orca-users mailing list