[hobbit] Multiple Displays

Iain Conochie iain at uk.colt.net
Fri Jun 2 11:26:13 CEST 2006


Paul Moore wrote:
> I'm trying to setup a redundant set of servers to be the BBDISPLAYS and a
> redundant set of servers to be the BBNET pollers.  I've managed to setup
> everything and get it working the way I like except one problem I am having.
> I've created several scripts to check various items and send status messages
> to the BBDISPLAY using the $BB cmd.  
> 
> BB="$BBHOME/bin/bb"
> BBHOME="/usr/local/hobbit/server"
> BBDISP="0.0.0.0"
> BBDISPLAYS="172.16.1.50 172.16.2.50"
> 
> The cmd I'm running looks like this.
> $BB $BBDISP "status $MACHINE.$COLUMN $COLOR $DATE\t$MSG\n\n"`

One way I got it to work is

for i in $BBDISPLAYS

    do $BB $i "status $MACHINE.$COLUMN $COLOR $DATE\t$MSG\n\n"`

done

Cheers

Iain

> 
> The result appears that the /bin/bb command will fire off a status but only
> to the first BBDISPLAY in the list.  Is there some other way to make it fire
> off status to both servers?
> 
> Paul 
> -=-=-=
> Pinky, Are You Pondering What I'm Pondering?
> Well, I think so Brain but if Jimmy cracks corn and no one cares, why does
> he keep doing it? 
> 
> 
> 
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 
> 


-- 
Iain Conochie UNIX System Administrator UK
COLT Telecom
Units 9-13 Powergate Business Centre, Volt Avenue, London NW10 6PW
Tel: +44 (0) 20 7947 1286
Tel: +44 (0) 78 1514 5493
Email: iain.conochie at colt.net
www.colt.net



More information about the Xymon mailing list