[hobbit] Debugging a client
Henrik Stoerner
henrik at hswn.dk
Thu Jul 12 16:42:01 CEST 2007
On Thu, Jul 12, 2007 at 08:47:57AM -0500, Trent Melcher wrote:
>
>
> On Thu, 2007-07-12 at 08:33 -0500, Trent Melcher wrote:
> > Ok, our firewall team just opened up port 1984 so a client could connect
> > to our hobbit server. Well I can telnet to the server from the client
> > on port 1984, but Im still getting timeout messages in the
> > hobbitclient.log, below is a bb connect with debug on, what am I
> > missing?
> > [root at maila logs]# /home/hobbit/client/bin/bb --debug XXXXXXXXXXX
> > "status xxxxx,xxxxx,net.test green `date`
> > This is a test"
> > 2007-07-12 08:26:41 Transport setup is:
> > 2007-07-12 08:26:41 bbdportnumber = 1984
> > 2007-07-12 08:26:41 bbdispproxyhost = NONE
> > 2007-07-12 08:26:41 bbdispproxyport = 0
> > 2007-07-12 08:26:41 Recipient listed as 'xxxxx.xxxxx.net'
> > 2007-07-12 08:26:41 Standard BB protocol on port 1984
> > 2007-07-12 08:26:41 Will connect to address xxxxx.xxxxx.net port 1984
> > 2007-07-12 08:26:41 Connect status is 0
This looks OK. If you get "timeout" messages in your client log, then
check that the Hobbit server IP is configured correctly in
hobbitclient.cfg (the "BBDISP" setting).
Try this:
cd ~hobbit/client
HOBBITCLIENTHOME=`pwd` ./bin/bbcmd --env=etc/hobbitclient.cfg
$BB $BBDISP --debug "ping"
This makes the same test you just did, but with the settings that
the Hobbit client uses.
> Ok, I might have figured it out, does the Hobbit server need to talk
> back to the client on port 1984?
No, the connection is only opened from the client to the Hobbit server.
Regards,
Henrik
More information about the Xymon
mailing list