[hobbit] building bbproxy

Buchan Milne bgmilne at staff.telkomsa.net
Wed Aug 30 10:49:09 CEST 2006


On Wednesday 30 August 2006 10:04, Henrik Stoerner wrote:
> On Wed, Aug 30, 2006 at 09:59:55AM +0200, Buchan Milne wrote:
> > On Tuesday 29 August 2006 22:15, Henrik Stoerner wrote:
> > > 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.
> >
> > Hmm, if that's the case, why does hobbitlaunch.cfg have:
> >
> > [bbnet]
> >         ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg
> >         NEEDS hobbitd
> >         CMD bbtest-net --report --ping --checkresponse
> >         LOGFILE $BBSERVERLOGS/bb-network.log
> >         INTERVAL 5m
> >
> > Should the "NEEDS hobbitd" be removed?
>
> Yes, or replaced with "NEEDS bbproxy".
>
> > In my case, I want to use one "monitoring" server in a network as proxy
> > and network tester, and I wouldn't mind having a display on it too (eg,
> > in the DR site).
>
> Then you must setup the hobbitd process to listen on a separate IP (e.g.
> 127.0.0.1) so it doesn't conflict with bbproxy listening on the same
> port.

I was running hobbitd on a different port, with bbproxy sending to the local 
hobbitd as well as the one on the main display:

[hobbitd]
        HEARTBEAT
        ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg
        CMD 
hobbitd --pidfile=$BBSERVERLOGS/hobbitd.pid --restart=$BBTMP/hobbitd.chk --chec
kpoint-file=$BBTMP/hobbitd.chk --checkpoint-interval=600 --log=$BBSERVERLOGS/hobbitd.log --
admin-senders=127.0.0.1,$BBSERVERIP --listen=0.0.0.0:1985


[bbproxy]
        ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg
        CMD 
$BBHOME/bin/bbproxy --hobbitd --bbdisplay=127.0.0.1:1985,10.10.9.32:1984 --report=$MACHINE.bbproxy --pidfile=$BBSERVERLOGS/bbproxy.pid


But then bbgen on the proxy complains:
hobbitd status-board not available

And the display on the proxy has no hosts at all (just pages, all-green).


Regards,
Buchan

-- 
Buchan Milne
ISP Systems Specialist
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20060830/27d85ec2/attachment.sig>


More information about the Xymon mailing list