Script to help migration from BB to Hobbit

Frédéric Mangeant frederic.mangeant at steria.com
Tue Nov 15 18:38:35 CET 2005


Hi all

here's a quick & very dirty script which eases BB to Hobbit migration, 
by re-disable in Hobbit all the tests which were disabled in BB.
It requires GNU date and GNU ls.

You just have to change the following inside the script :

OLD_DISABLED=/home/bbuser/bbvar/disabled
BB=/home/hobbituser/server/bin/bb
BBDISP=10.20.30.40
TESTMODE=N

By default "test mode" is on, so no disable is actually un.

Here's the output :

$ ./redo_disable.sh
Disable hades.disk for 9 minutes (until 2005-11-15 18:26:00)

Hope it will help someone...

Regards,

-- 

Frédéric Mangeant

Steria EDC Sophia-Antipolis


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: redo_disable.sh
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20051115/ff7f911e/attachment.ksh>


More information about the Xymon mailing list