Multiple Displays
list Paul Moore
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?
list Henrik Størner
▸
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
list Jeff Stuart
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
list Iain Conochie
▸
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?
--
Iain Conochie UNIX System Administrator UK
COLT Telecom
Units 9-13 Powergate Business Centre, Volt Avenue, London NW10 6PW
Tel: +XX (X) XX XXXX XXXX
Tel: +XX (X) XX XXXX XXXX
Email: user-f2dca9636936@xymon.invalid
www.colt.net