BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: {bb} External Script and blue color



On Tue, 2006-06-27 at 09:09, Olivier MOULIN wrote:
> Hi,
> 
> Me too, I am not shure and I dont't want to ask stupid question but..
> 
> In fact, I would like to be sure that if I disable a test realized
> with a script, the script is disable too or not ?

Normally, any script will still run when the test is disabled.
BB just overrides any status that it receives for the duration
of the specified disable period.

If you want to provide a mechanism to stop the script from
running when disabled, there are a couple of issues that
need to be considered. There is no way to determine where
a particular script is running. It is possible (and sometimes
desirable) to have a script running on host X which will provide
status for host Y. There is also no linkage between the filename
of a script and the name of the test, other than the script
itself.

As a result, when you disable a particular test you do not need
to know anything about how that status is generated. Also, if
you want to change the running of a script in response to the
test status, you will either need to make something to link the
script name (plus location) and the test name together, or put the
logic in the script itself.

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