[hobbit] building bbproxy

Henrik Stoerner henrik at hswn.dk
Tue Aug 29 22:15:24 CEST 2006


On Tue, Aug 29, 2006 at 12:25:28PM -0300, mario andre wrote:
> I would like to set up a bbproxy. To do this I've copied the compiled hobbit
> running on Fedora to another machine running fedora too. I've changed
> hobbitlaunch.cfg only with
> 
> [hobbitd]
>        HEARTBEAT
>        ENVFILE /home/bbmon/server/etc/hobbitserver.cfg
>        CMD hobbitd --listen=127.0.0.1 --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

If you're running bbproxy, you should not be running the hobbitd task.
The [hobbitd] task runs ONLY on the real Hobbit server - not on proxy
servers, network testers, clients or any other box.

> [bbproxy]
>        ENVFILE /home/bbmon/server/etc/hobbitserver.cfg
>        CMD $BBHOME/bin/bbproxy --hobbitd
> --bbdisplay=127.0.0.1,172.20.19.13--report=$MACHINE.bbproxy
> --no-daemon --pidfile =$BBSERVERLOGS/bbproxy.pid
>        LOGFILE $BBSERVERLOGS/bbproxy.log

WHAT ? You're telling bbproxy to feed messages to itself ??
Oh dear ... don't do that. Remove that 127.0.0.1 from the --bbdisplay
option.

> I've changed in hobbitserver.cfg --> BBSERVERIP="127.0.0.1"

That's ok.

> If i want to use the bbtest-net , I will need to define in a bb-hosts file
> as the same in the hobbit server?

bbtest-net needs a bb-hosts file, yes - that's where it gets the network
tests it should run.

> when I start hobbit.sh , my server starts listening on 1984 but some core
> files appears.

Do get rid of that 127.0.0.1 address.


Henrik




More information about the Xymon mailing list