[hobbit] purple clients problem

Henrik Stoerner henrik at hswn.dk
Thu Dec 29 15:14:11 CET 2005


On Thu, Dec 29, 2005 at 03:01:28PM +0100, Longina Przybyszewska wrote:
> 
> I started bb on the PURPLE client in debugging mode.
> It seems that on the client is everything OK:
> 
> fra hobbitclient.log
> ----
> 2005-12-29 14:55:23 Transport setup is:
> 2005-12-29 14:55:23 bbdportnumber = 1984
> 2005-12-29 14:55:23 bbdispproxyhost = NONE
> 2005-12-29 14:55:23 bbdispproxyport = 0
> 2005-12-29 14:55:23 Recipient listed as '130.225.128.14'
> 2005-12-29 14:55:23 Standard BB protocol on port 1984
> 2005-12-29 14:55:23 Will connect to address 130.225.128.14 port 1984
> 2005-12-29 14:55:23 Connect status is 0
> 2005-12-29 14:55:23 Sent 12003 bytes
> 2005-12-29 14:55:23 Closing connection
> ----
> 
> How kan I debug server side to see where is the black whole for all the 
> client information?

On the server, login as the hobbit user and run 
    bbcmd hobbitd_channel --channel=client cat

When the client sends a message, you should see it dumped to the screen.
If it does, then at least the client message arrives OK on the Hobbit
server, and the server recognizes the client hostname OK.

If you don't see any such message, then the hostname that the client 
reports is not listed in bb-hosts - you can see the "ghost" hostname
in the status for the hobbit servers' "hobbitd" column.

The first line you see when dumping the client message should look like
this:
   @@client#24|1135865239.108541|127.0.0.1|localhost|linux
where "localhost" is the hostname, and "linux" is the operating system
that the client reports. The OS must be one of the recognized OS'es:
solaris, sunos, linux, aix, hp-ux, freebsd etc.

If you get that far and still haven't found the problem, add the "--debug" 
option to the hobbitd_client command in hobbitlaunch.cfg, and check the
clientdata.log logfile for any errors.


Regards,
Henrik




More information about the Xymon mailing list