[hobbit] Debugging a client
Trent Melcher
trent.melcher at sitel.com
Thu Jul 12 17:10:31 CEST 2007
On Thu, 2007-07-12 at 16:42 +0200, Henrik Stoerner wrote:
> 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"
Here is my output.....looks like I cant ping the hobbit server.
sh-3.00# $BB $BBDISP --debug "ping"
2007-07-12 10:05:57 Transport setup is:
2007-07-12 10:05:57 bbdportnumber = 1984
2007-07-12 10:05:57 bbdispproxyhost = NONE
2007-07-12 10:05:57 bbdispproxyport = 0
2007-07-12 10:05:57 Recipient listed as '5601-hobbit.sitel.net'
2007-07-12 10:05:57 Standard BB protocol on port 1984
2007-07-12 10:05:57 Will connect to address 5601-hobbit.sitel.net port
1984
2007-07-12 10:05:57 Connect status is 0
2007-07-12 10:05:57 Sent 4 bytes
2007-07-12 10:06:12 Whoops ! bb failed to send message - timeout
DNS and IP of the hobbit server are correct from the client....the
firewall blocks ping from our DMZ to internal.
> 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
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
More information about the Xymon
mailing list