[Orca-users] Re: Orca not pick up new logs (was Re: plot ambien t and cpu temperature on E450)
Blair Zajac
blair at akamai.com
Thu Feb 22 21:27:47 PST 2001
Since Orca reads the input data files every "interval" seconds, it
can warn the sysadmin when it sees that the file has not been
updated in "late_interval" number of seconds. This warning can be
used to check if the process has died and restart it.
In your case, if your measurement is not consistent with the
"interval" of 300 seconds, say if you measure every 600 seconds, then
you need to change the "interval" parameter. If you do measure every
300 seconds with some variation, then either lower the variation or
increase the "late_interval". In your case, the "late_interval" is
330 seconds:
late_interval interval + 30
Regards,
Blair
Adam Levin wrote:
>
> On Sun, 18 Feb 2001, Blair Zajac wrote:
> > I would try running Orcallator with a configuration file that
> contains
> > just the temp group and see if you get any error messages. With
> > multiple groups and plots that work in these groups, no messages
> > will show up if there's a different group that can't find any files.
>
> Ok, I removed everything but the temp stuff. The config file now
> looks
> like this:
>
> base_dir /usr/local/orca/var/orca/rrd/orcallator
> rrd_dir .
> state_file orca.state
> html_dir /usr/local/apache/htdocs/orca
> expire_images 1
> find_times 0:10 1:00 6:00 12:00 19:00
> late_interval interval + 30
>
> group temp {
> find_files
> /usr/local/orca/var/orca/orcallator/(.*)/temp-percol-\d{4}-\d{2}-\d{2}
> column_description first_line
> date_source column_name timestamp
> date_format %s
> interval 300
> reopen 1
> }
>
> html_top_title Audible Host Status
>
> html_page_header
> <a href="http://log.audible.com/orca/">
> <img border=0 alt="Audible"
> src="/audible_logo_new.jpg"
> width=181 height=52></a>
> <spacer type=vertical size=4>
>
> html_page_footer
> <spacer type=vertical size=20>
> <font face="Arial,Helvetica">
> These plots brought to you by your local system administrator.
> </font>
>
> plot {
> title %g Ambient and CPU Temperature
> source temp
> data (ambient*(9/5))+32
> data (cpu0*(9/5))+32
> data (cpu1*(9/5))+32
> data (cpu2*(9/5))+32
> data (cpu3*(9/5))+32
> legend Ambient
> legend CPU0
> legend CPU1
> legend CPU2
> legend CPU3
> y_legend Temperature (F)
> href orcallator.html#temperature
> }
>
> I ran orca in the foreground, and I got this:
> /usr/local/orca/bin/orca: warning: file
> `/usr/local/orca/var/orca/orcallator/cdl-prod2/temp-percol-2001-02-22'
> was current and now is not.
> /usr/local/orca/bin/orca: warning: file
> `/usr/local/orca/var/orca/orcallator/cdl-prod3/temp-percol-2001-02-22'
> was current and now is not.
> /usr/local/orca/bin/orca: warning: file
> `/usr/local/orca/var/orca/orcallator/im-prod1/temp-percol-2001-02-22'
> was current and now is not.
> /usr/local/orca/bin/orca: warning: file
> `/usr/local/orca/var/orca/orcallator/im-prod2/temp-percol-2001-02-22'
> was current and now is not.
> /usr/local/orca/bin/orca: warning: file
> `/usr/local/orca/var/orca/orcallator/im-prodx/temp-percol-2001-02-22'
> was current and now is not.
> /usr/local/orca/bin/orca: warning: file
> `/usr/local/orca/var/orca/orcallator/im-test/temp-percol-2001-02-22'
> was current and now is not.
> /usr/local/orca/bin/orca: warning: file
> `/usr/local/orca/var/orca/orcallator/johnson/temp-percol-2001-02-22'
> was current and now is not.
> /usr/local/orca/bin/orca: warning: file
> `/usr/local/orca/var/orca/orcallator/lincoln/temp-percol-2001-02-22'
> was current and now is not.
> /usr/local/orca/bin/orca: warning: file
> `/usr/local/orca/var/orca/orcallator/oracle-test/temp-percol-2001-02-22'
> was current and now is not.
>
> > If you could also send the output of an 'orca -o -v -v' run, that
> would
> > help.
>
> Ok:
> # /usr/local/orca/bin/orca -o -v -v -gifs
> /usr/local/orca/lib/orcallator.cfg
> Orca version 0.25 using RRDs version 1.000131.
> Creating orca.gif.
> Creating rrdtool.gif.
> Loading state from
> `/usr/local/orca/var/orca/rrd/orcallator/orca.state'.
> Finding files and setting up data structures at Thu Feb 22 10:19:19
> 2001.
> Loading new data from bv-prod1.
> Loading new data from bv-test.
> Loading new data from cdl-prod0.
> Loading new data from cdl-prod2.
> Loading new data from cdl-prod3.
> Loading new data from im-prod1.
> Loading new data from im-prod2.
> Loading new data from im-prodx.
> Loading new data from im-test.
> Loading new data from johnson.
> Loading new data from lincoln.
> Loading new data from oracle-test.
> Saving state into
> `/usr/local/orca/var/orca/rrd/orcallator/orca.state'.
> Updating GIFs.
> Creating HTML files in `/usr/local/apache/htdocs/orca/'.
> Running time is 0:05 minutes.
>
> Adam Levin, Senior Unix Systems Administrator |
> http://www.audible.com/
> Audible, Inc. "There's a
> door."
> Wayne, NJ, 07470 "Where does it
> go?"
> 973-837-2797 "It stays where it is, I
> think."
>
> Yahoo! Groups Sponsor
> [Classmates.com]
> Click here for Classmates.com
>
>
More information about the Orca-users
mailing list