[hobbit] building bbproxy

Buchan Milne bgmilne at staff.telkomsa.net
Wed Aug 30 12:44:43 CEST 2006


On Wednesday 30 August 2006 11:29, Henrik Stoerner wrote:

> On Wed, Aug 30, 2006 at 10:49:09AM +0200, Buchan Milne wrote:
> > 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).
>
> You need to tell bbgen that hobbitd is on port 1985. In
> hobbitserver.cfg, change BBPORT to 1985 and BBDISP to 127.0.0.1.

Right, that fixes that issue, but then I end up with some data which goes via 
this server ending up only on it, and some only on the main display. So, 
running on different ports is probably not an option.

The reason I was doing it is that the server running bbproxy and network tests 
is multi-homed (5 VLANs), so it can test hosts on firewalled VLANs, and it 
seems that --listen does not allow multiple IPs. It's either all (0.0.0.0) or 
1. So, it seems there is currently no way to have bbroxy and hobbitd running 
on the same port, with hobbitd listening on more than one IP.

It would be nice if this could be enhanced (so --listen could take a list of 
IPs).

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/556678bc/attachment-0001.sig>


More information about the Xymon mailing list