[hobbit] Sending Hobbit data from one server to another
Asif Iqbal
vadud3 at gmail.com
Sat Mar 8 01:18:08 CET 2008
On Fri, Mar 7, 2008 at 1:51 AM, Buchan Milne <bgmilne at staff.telkomsa.net> wrote:
> On Thursday 06 March 2008 23:27:47 Asif Iqbal wrote:
> > So I am still struggling with this idea. How would I have bbproxy
> > server do bbnet test as well?
> > To run bbrpoxy you have to disable hobbitd, but to do bbnet test
> > hobbitd needs to be running.
> >
> > What a catch 22!
> >
> > Anyone figured that out yet?
>
> Did you read my reply in the other thread?
>
> 1)Run hobbitd on a different port
> 2)Run bbproxy on the usual hobbit port (1984), and have it proxy to the local
> hobbit running on a different port, and the remote hobbitd on the usual port
> 3)Run bbnet as usual
>
> See my other mail for configuration details.
I saw your other email and followed exactly as it is. But I get clear
for connection on hobbit server.
And the hobbit web page on proxy server is empty
I see the following in the proxy server logs
hobbit at ghar:~$ tail /var/log/hobbit/bb-display.log
2008-03-07 10:57:48 Whoops ! bb failed to send message - Connection failed
2008-03-07 10:57:48 hobbitd status-board not available, code 5
2008-03-07 10:57:48 connect to bbd failed - Network is unreachable
2008-03-07 10:57:48 Whoops ! bb failed to send message - Connection failed
hobbit at ghar:~$ tail /var/log/hobbit/bb-network.log
2008-03-07 10:51:32 connect to bbd failed - Network is unreachable
2008-03-07 10:51:32 Whoops ! bb failed to send message - Connection failed
hobbit at ghar:~$ tail /var/log/hobbit/bbproxy.log
2008-03-07 18:47:04 bbproxy version 4.3.0-0.20080103 starting
2008-03-07 18:47:04 Listening on 0.0.0.0:1984
2008-03-07 18:47:04 Sending to Hobbit server(s) 8.4.0.5:1984 127.0.0.1:1985
2008-03-07 18:47:04 Sending client data to server(s) 8.4.0.5:1984
127.0.0.1:1985
8.4.0.5 is the master hobbit server (the IP is sterilized to save the innocents)
hobbit at ghar:~$ tail /var/log/hobbit/status.log
2008-03-07 18:11:00 Peer not up, flushing message queue
2008-03-07 18:12:34 Tried to down BOARDBUSY: Invalid argument
Here is an excerpt of the relevant configuration
hobbit at ghar:~/server/etc$ cat hobbitlaunch.cfg
[...]
[hobbitd]
HEARTBEAT
ENVFILE /home/hobbit/server/etc/hobbitserver.cfg
CMD hobbitd --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 --listen=0.0.0.0:1985
--store-clientlogs=!msgs
[...]
[bbproxy]
ENVFILE /home/hobbit/server/etc/hobbitserver.cfg
CMD $BBHOME/bin/bbproxy --hobbitd
--servers=8.4.0.5,127.0.0.1:1985 --report=$MACHINE.bbproxy --no-daemon
--pidfile=$BBSERVERLOGS/bbproxy.pid
LOGFILE $BBSERVERLOGS/bbproxy.log
[...]
hobbit at ghar:~/server/etc$ cat hobbitserver.cfg
[...]
BBSERVERIP="8.4.0.5"
[...]
The proxy server is on internal network. It can talk to master hobbit
server and I am getting all the reports of the clients that
are sending the data to proxy server. The master server has no
visibility to the internal network
Here is the layout
All Internal Hosts 10.13.136.0/24
<--------> PROXY 10.13.136.134 ----------> Master Hobbit server
8.4.0.5
Thanks
>
> Regards,
> Buchan
>
>
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
More information about the Xymon
mailing list