-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi Henrik,
I got this stuff working. But it raises another question. If I want to enable/disable a whole host on Hobbit from the command line what do I have to do? Is there something like $BBHOME/bin/bb $BBDISP "disable $HOST.all 5d Maintenance" or do I have to do this for each test separately, like
for TEST in $($BBHOME/bin/bb $BBDISP "hobbitdboard host=$HOST"|awk -F\| '{print $2}') do $BBHOME/bin/bb $BBDISP "disable $HOST $TEST 5d Maintenance";done ??
Regards Torsten
Henrik Stoerner wrote:
On Sun, Jun 18, 2006 at 06:33:41PM +0200, Torsten Richter wrote:
at the moment we use BB as our primary server and we use Hobbit too but only as a display server for our customer.
So if we disable a service or machine on BB the customer still sees the red,yellow or purple dots.
Just make sure you send the "disable" message to both the BB and the Hobbit server. How you do that depends on the tool you use for disable and enable, but if they use the normal "bb" tool to send a message to the server, then setting BBDISP=0.0.0.0 and BBDISPLAYS="10.0.0.1 10.0.0.2" should do it (adjust your ip's as necessary).
Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
+---------------------------------------------------------+ | Richter IT-Consulting | | E-mail : bb4 [at] richter-it.net | | | | Homepage: http://www.richter-it.net/ | +---------------------------------------------------------+ Download my public key from: http://www.keyserver.net:11371/pks/lookup?op=get&search=0x899093AC -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3-nr1 (Windows XP) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEpWtV7DlmxomQk6wRAvRnAJ9uTA5pyA7gUG6lyYurGcokDSZAAACfXa6v e2HyL5ee8ty5dwpFJzy6je4= =P33B -----END PGP SIGNATURE-----