bb hostname.testname "until OK"?
list Kolbjørn Barmen
The man bb page says: disable HOSTNAME.TESTNAME DURATION <additional text> Disables a specific test for DURATION minutes. This will cause the status of this test to be listed as "blue" on the BBDISPLAY server, and no alerts for this host/test will be generated. If DURATION is given as a number followed by s/m/h/d, it is inter- preted as being in seconds/minutes/hours/days respectively. To disable all tests for a host, use an asterisk "*" for TESTNAME. So how do I disable "until OK" from the bb command? PS: congrats with the release.. cheers, cheers! :) -- Kolbjørn Barmen UNINETT Driftsenter
list Henrik Størner
▸
On Mon, Aug 14, 2006 at 08:54:07PM +0200, Kolbjørn Barmen wrote:
The man bb page says: disable HOSTNAME.TESTNAME DURATION <additional text> Disables a specific test for DURATION minutes. This will cause the status of this test to be listed as "blue" on the BBDISPLAY server, and no alerts for this host/test will be generated. If DURATION is given as a number followed by s/m/h/d, it is inter- preted as being in seconds/minutes/hours/days respectively. To disable all tests for a host, use an asterisk "*" for TESTNAME. So how do I disable "until OK" from the bb command?
Send that command with DURATION set to "-1".
PS: congrats with the release.. cheers, cheers! :)
Thanks, Henrik
list Charles Jones
▸
Kolbjørn Barmen wrote:
So how do I disable "until OK" from the bb command? PS: congrats with the release.. cheers, cheers! :)
From looking at the source code:
==============================================
else if (strcmp(pwalk->name, "untilok") == 0) {
if (strcasecmp(pwalk->value, "on") == 0) {
duration = -1;
scale = 1;
}
=============================================
I would wager that setting the duration to -1 will do it.
-Charles