BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: {bb} bb frequency
On Mon, 2006-08-21 at 23:32, steve sayler wrote:
> I'm trying to determine how to change the frequency of tests from 5
> minutes to 1 minute.
>
> I've searched the archives to find an answer and the closest I can
> come is http://support.bb4.com/archive/200101/msg01484.html
>
> "What I think some may be looking for are the BBSLEEP values in
> runbb.sh. These control how often to perform the local tests
> (bb-local.sh), the network tests (bb-network.sh) and generate
> the web pages (bb-display.sh). You can also set the default
> interval for external tests there, too."
>
>
> I've changed 300 to 60 in both:
> BBSLEEP values in runbb.sh
> BBDEFSLEEP in $BBHOME/etc/bbdef.sh
>
> but I can't find any variables in bb-local.sh, bb-network.sh, or
> bb-display.sh to tweak, is there something I'm missing?
Nope.
> Or does runbb.sh control everything?
Yep. But, do you really want to monitor everything and recreate the
web pages once a minute? There can be unintended consequences to
this. To quote Sean, this can:
* Increase the load on the BBNET/BBDISPLAY machines by a factor of 5
* Could page you *every minute* for a problem
* Could be too short for the BBNET process to complete all the
tests on your network (especially if you're testing 100 devices,
if only 3 were down, you'd start getting "bbrun longer than bbsleep"
messages (3 down @ 20 second delay each = 60 seconds).
Often, it is possible to achieve the kind of responsiveness that you
need without resorting to this. If you let the list know why the default
cycle time is not suitable for you, someone might be able to provide
an alternative solution.
Cheers, Phil.
--
Speer's 1st Law of Proofreading: The visibility of an error is
inversely proportional to the number of times you have looked
at it.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
Home |
Main Index |
Thread Index