Xymon Mailing List Archive search

bbproxy

list Henrik Størner
Wed, 29 Jun 2005 16:51:27 +0200
Message-Id: <user-10f1d7df05f7@xymon.invalid>

On Wed, Jun 29, 2005 at 09:36:51AM -0400, Lee J. Imber wrote:
Hobbit rules.
Thanks :-)
We have a couple hosts behind a firewall and want to relay hobbit  data through a control server that is trusted.
Reading the docs it looks like I can use the bbproxy binary to do  what we need.
Question is, can I build just that binary and not the rest of hobbit  so it doesn't complain that rrdutil and other dependancies that are  not avail?
You can, but it's a bit hackish. The easiest is probably just to build
everything on your Hobbit server, then copy the whole build directory
across before running "make install".

At the very least, run the configure script on a box that has
everything.

If you must build only the bbproxy binary, you can do it like this:

	make lib-build
	make bbproxy-build
	cp bbproxy/bbproxy /usr/local/bin/

It won't install all of the configuration files, but bbproxy is pretty stand-alone - you can run it by itself, it doesn't require hobbitlaunch.
Start it with

     bbproxy \
     	--hobbitd \
     	--bbdisplay=YOUR.HOBBIT.SERVER.IP \
	--report=HOSTNAME,OF,PROXY,HOST.bbproxy \
	--pidfile=/var/run/bbproxy.pid

As I recall, it doesnt need any of the Hobbit environment variables...


Regards,
Henrik