Xymon Mailing List Archive search

Issue with bbproxy

list Aaron Kincaid
Fri, 2 Nov 2007 14:48:37 -0500
Message-Id: <user-a1d3c031b984@xymon.invalid>

Henrick, the bbproxy.log was last updated on the 10/30/07, and hobbit
itself does not appear to even be working anymore.  Below are the
portions for hobbitlaunch.cfg and hobbitserver.cfg for both servers.

The only way I can get anything to work is to enable hobbitd and disable
bbproxy on .4's hobbitlaunch.cfg.  If I do anything else no data is
collected.


.4 server

---------bbproxy.log has not worked in days.  The last entries are:

2007-10-30 13:21:06 Caught TERM signal, terminating 

2007-10-30 13:21:08 bbproxy version 4.2.0 starting 

2007-10-30 13:21:08 Listening on 192.168.213.4:1984 

2007-10-30 13:21:08 Sending to BBDISPLAY(s) 127.0.0.1:1984
192.168.213.5:1984 

2007-10-30 13:21:08 Sending to BBPAGER(s) 127.0.0.1:1984
192.168.213.5:1984 2007-10-30 13:35:04 Caught TERM signal, terminating

 
---------hobbitlaunch.cfg

 [hobbitd]

DISABLED

      ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg

      CMD hobbitd --pidfile=$BBSERVERLOGS/hobbitd.pid
--restart=$BBTMP/hobbitd.chk --checkpoint-file=$BBTMP/hobbitd.chk
--checkpoint-interval=600 --log=$BBSERVERLOGS/hobbitd.log
--admin-senders=$BBSERVERIP --store-clientlogs=!msgs

 
[bbproxy]

      ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg

      CMD $BBHOME/bin/bbproxy --hobbitd  --bbdisplay=192.168.213.5
--report=$MACHINE.bbproxy --pidfile=$BBSERVERLOGS/bbproxy.pid LOGFILE
$BBSERVERLOGS/bbproxy.log

 
---------hobbitserver.cfg

BBSERVERHOSTNAME="apollo.tfc.com"         # The hostname of your server

BBSERVERIP="127.0.0.1"  

 
# General settings

BBPORT="1984"                 # Portnumber where hobbitd/bbd listens

BBDISP="192.168.213.4"        # IP of a single hobbit/bbd server

BBDISPLAYS=""                 # IP of multiple hobbit/bbd servers. If
used, BBDISP must be 0.0.0.0

FQDN="TRUE" 

 
---------hobbitlaunch.log

2007-11-02 14:24:07 Cannot bind to listen socket (Address already in
use)

2007-11-02 14:24:07 Task bbproxy terminated, status 1

2007-11-02 14:24:12 Cannot bind to listen socket (Address already in
use)

2007-11-02 14:24:12 Task bbproxy terminated, status 1

2007-11-02 14:24:17 Cannot bind to listen socket (Address already in
use)

2007-11-02 14:24:17 Task bbproxy terminated, status 1

2007-11-02 14:24:22 Cannot bind to listen socket (Address already in
use)

2007-11-02 14:24:22 Task bbproxy terminated, status 1

2007-11-02 14:24:27 Cannot bind to listen socket (Address already in
use)

2007-11-02 14:24:27 Task bbproxy terminated, status 1

 
.5 server:

---------hobbitlaunch.cfg

[hobbitd]

      HEARTBEAT

      ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg

      CMD hobbitd --pidfile=$BBSERVERLOGS/hobbitd.pid
--restart=$BBTMP/hobbitd.chk --checkpoint-file=$BBTMP/hobbitd.chk
--checkpoint-interval=600 --log=$BBSERVERLOGS/hobbitd.log
--admin-senders=127.0.0.1,$BBSERVERIP

 
[bbproxy]

      DISABLED

      ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg

      CMD $BBHOME/bin/bbproxy --hobbitd
--bbdisplay=YOUR.HOBBIT.SERVER.IP --report=$MACHINE.bbproxy --no-daemon
--pidfile=$BBSERVERLOGS/bbproxy.pid

      LOGFILE $BBSERVERLOGS/bbproxy.log

 
---------hobbitserver.cfg

BBSERVERHOSTNAME="zeus.tfc.com"           # The hostname of your server

# BBSERVERIP="192.168.213.5"              # The IP-address of your
server. Use the real one, not 127.0.0.1 .

BBSERVERIP="127.0.0.1"

 
# General settings

BBPORT="1984"                 # Portnumber where hobbitd/bbd listens

BBDISP="$BBSERVERIP"          # IP of a single hobbit/bbd server

BBDISPLAYS=""                 # IP of multiple hobbit/bbd servers. If
used, BBDISP must be 0.0.0.0

BBPAGE="$BBSERVERIP"          # IP of a single bbd BBPAGE server. Not
used by Hobbit.

BBPAGERS="" 

 
Again, I want .4 to relay all its data to .5, but .4 does not need to
display anything locally.

 
Thanks for your patience with this.