Xymon Mailing List Archive search

Sending Hobbit data from one server to another

list Buchan Milne
Mon, 10 Mar 2008 17:33:08 +0200
Message-Id: <user-26f4c7032562@xymon.invalid>

On Monday 10 March 2008 14:24:37 Whilding, Craig wrote:
BBSERVERIP="127.0.0.1"
If this is in hobbitserver.cfg on the proxy, IMHO, this should be the IP of the real display server.
# "bbnet" runs the bbtest-net tool to perform the network based tests -
i.e. http, smtp, ssh, dns and
# all of the various network protocols we need to test.

[bbnet]
        ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
        CMD $BBHOME/bin/net-test.sh --dns=ip
        LOGFILE $BBSERVERLOGS/bb-network.log
        INTERVAL 5m


[root at gba-bb server]# vi bin/net-test.sh
export BBDISP=10.13.136.134
If you have set BBSERVERIP to the main display server, then this is unnecessary.
Main points are that the hobbit server runs on the local ip and the
proxy runs on the external ip.
Well, each should be on a dedicated IP+port combination. If you don't have a dedicated IP, then using an alternative port is sufficient. Or, if you need the proxy to listen on more than one IP (thus 0.0.0.0), then you have to use a different port.

Regards,
Buchan