[hobbit] Disabling of tests

Russell.Cook at synetrix.co.uk Russell.Cook at synetrix.co.uk
Mon Oct 6 16:56:44 CEST 2008


I still seem to have a problem doing a disable until OK - I have a test script that tries to run the following command:
$BBHOME/bin/bbcmd $BBHOME/bin/bb xx.xx.xx.xx 'disable device-hostname.COLUMN -1 Test disabled by script' ... but it fails to work.

If I substitute the -1 for 20 it works fine. The other rather odd thing is I do a "set -x" in the script and cut-and-paste the line from my logfile onto the command line, the line with the -1 works perfectly. Running the bb command with the --debug option gives identical results for both -1 and 20 ... any ideas?

Regards
Russell Cook

-----Original Message-----
From: Henrik Stoerner [mailto:henrik at hswn.dk]
Sent: 02 October 2008 12:16
To: hobbit at hswn.dk
Subject: Re: [hobbit] Disabling of tests

In <71D23AAE53176A4EB67247AFFADCC10C24F971266D at FMAIL-CCR.synetrixhl.local> <Russell.Cook at synetrix.co.uk> writes:

>Can someone tell me ... if I disable a test, but don't check the "disable u=
>ntil OK" tickbox does the test still run? I assume if the tickbox is checke=
>d the test will run otherwise it will never know when it is OK.

Disabled tests still run, they just don't trigger alerts.

>Another thing if I use the $BBHOME/bin/bb $BBDISP 'disable host.test time' =
>command - can I pass it a parameter to tell it to disable till OK?

Use "-1" as the "time" value.


Henrik


To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk


----------------------------------------------------------------------------------------------------------
Synetrix Holdings Limited
Tel: +44 (0)1252 405 600
www.synetrix.co.uk

Synetrix (Holdings) Limited is a limited company registered in England and Wales. Registered number: 0349 1956. VAT number: GB776 1259 07. Registered office: Synetrix House, 49-51 Victoria Road, Farnborough, Hampshire, GU14 7PA.

IMPORTANT NOTICE:
This message is intended solely for the use of the Individual or organisation to whom it is addressed. It may contain privileged or confidential information. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you should not use, copy, alter, or disclose the contents of this message. All information or opinions expressed in this message and/or any attachments are those of the author and are not necessarily those of Synetrix Holdings Limited. Synetrix Holdings Limited accepts no responsibility for loss or damage arising from its use, including damage from virus. 



More information about the Xymon mailing list