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"`
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?
On Fri, Jun 02, 2006 at 12:34:24AM -0400, 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"`
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?
I believe you need to export the BBDISP and BBDISPLAYS variable.
Regards, Henrik
Hey Paul, how did you setup multiple BBNET servers?
On Thursday 01 June 2006 9:34 pm, 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"`
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
-- Jeff Stuart Network Admin MyInternetServices.com 1-800-300-HOST
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
participants (4)
-
henrik@hswn.dk
-
iain@uk.colt.net
-
jeff@myinternetservices.com
-
paul.moore@verizonbusiness.com