More newbie client questions
list Patrick Healy
Thanks to all who responded to my last message... New problem: I've installed the Hobbit client on my Linux systems and it works wonderfully. However I have a number of Solaris 2.X servers on x86 platforms. The client compiles fine, and appears to be running, but none of the information is being reported to the server. I checked the client names, and there aren't any exceptions listed in the hobbitd report, so I'm assuming they names are right. Any idea how I can go about debugging this further? THanks again, Pat ==================================================== Patrick Healy U.S. District Court, NYWD user-4dd876706f9f@xymon.invalid 304 U.S. Courthouse Voice: XXX-XXX-XXXX XX Court Street FAX: XXX-XXX-XXXX Buffalo, NY XXXXX
list Henrik Størner
▸
On Wed, Sep 28, 2005 at 02:28:00PM -0400, user-4dd876706f9f@xymon.invalid wrote:
I've installed the Hobbit client on my Linux systems and it works wonderfully. However I have a number of Solaris 2.X servers on x86 platforms. The client compiles fine, and appears to be running, but none of the information is being reported to the server. I checked the client names, and there aren't any exceptions listed in the hobbitd report, so I'm assuming they names are right.
You need BBGHOSTS="2" for the bogus hostnames to show up on the hobbitd report, but let's assume for now that you have that.
Any idea how I can go about debugging this further?
I don't think I've ever tested the client with a Solaris/x86 box. To begin with, go over to the client installation and see if there's a "msg.txt" file in the ~hobbit/client/tmp/ directory. If there is, please send me a copy of it. If not, then let's have a look at the logfiles in the ~hobbit/client/logs/ directory. Regards, Henrik
list Patrick Healy
I'll check the BBGHOSTS="2" option; in the meantime, here's my msg.txt file for one of the systems... Thanks for responding so quickly!
▸
Pat
====================================================
Patrick Healy U.S. District Court, NYWD
user-4dd876706f9f@xymon.invalid 304 U.S. Courthouse
Voice: XXX-XXX-XXXX XX Court Street
FAX: XXX-XXX-XXXX Buffalo, NY XXXXX
user-ce4a2c883f75@xymon.invalid (Henrik Stoerner)
09/28/2005 02:34 PM
Please respond to
user-ae9b8668bcde@xymon.invalid
To
user-ae9b8668bcde@xymon.invalid
cc
Subject
Re: [hobbit] More newbie client questions
▸
On Wed, Sep 28, 2005 at 02:28:00PM -0400, user-4dd876706f9f@xymon.invalid wrote:I've installed the Hobbit client on my Linux systems and it works wonderfully. However I have a number of Solaris 2.X servers on x86 platforms. The client compiles fine, and appears to be running, but none of the information is being reported to the server. I checked the client names, and there aren't any exceptions listed in the hobbitd report, so I'm assuming they names are right.
You need BBGHOSTS="2" for the bogus hostnames to show up on the hobbitd report, but let's assume for now that you have that.
Any idea how I can go about debugging this further?
I don't think I've ever tested the client with a Solaris/x86 box. To begin with, go over to the client installation and see if there's a "msg.txt" file in the ~hobbit/client/tmp/ directory. If there is, please send me a copy of it. If not, then let's have a look at the logfiles in the ~hobbit/client/logs/ directory. Regards, Henrik
Attachments (1)
list Werner Michels
Hi,
Some steps you can do/try
First
=========
Considering the client is running, it should produce a file called "msg.txt" in dir "client/tmp", whos updated every 5m (default) who should contain all the data collected by the tools run by hobbit client module. This info (from msg.txt file) is/should later sent to hobbit server.
Later:
=======
On ~server/etc/hobbitlaunch.cfg add "--debug" to client worker module.
[clientdata]
ENVFILE /home/hobbit/server/etc/hobbitserver.cfg
NEEDS hobbitd
CMD hobbitd_channel --channel=client --log=$BBSERVERLOGS/clientdata.log hobbitd_client --debug
After a while (or to quick reload hobbitd) look at "clientdata.log" (normally at /var/log/hobbit/) to see what's showing up.
And almost sugested (if posible) tcpdump the client<=> server connection to see if everything looks fine. Unless defaults are changed, it should be a connection on TCP/1984.
Hope this help's.
-wm
On Wed, 28 Sep 2005 14:28:00 -0400
user-4dd876706f9f@xymon.invalid wrote:
Thanks to all who responded to my lastmessage... New problem: I've installed the Hobbit client onmy Linux systems and it works wonderfully. However I have a numberof Solaris 2.X servers on x86 platforms. The client compiles fine,and appears to be running, but none of the information is being reportedto the server. I checked the client names, and there aren't any exceptionslisted in the hobbitd report, so I'm assuming they names are right. Anyidea how I can go about debugging this further?
▸
THanks again,
Pat
====================================================
Patrick Healy U.S. District Court, NYWD
user-4dd876706f9f@xymon.invalid 304 U.S. Courthouse
Voice: XXX-XXX-XXXX 68Court Street
FAX: XXX-XXX-XXXX Buffalo, NY XXXXXlist Henrik Størner
▸
On Wed, Sep 28, 2005 at 02:42:29PM -0400, user-4dd876706f9f@xymon.invalid wrote:
I'll check the BBGHOSTS="2" option; in the meantime, here's my msg.txt file for one of the systems...
The msg.txt file you sent me works fine on my system, so I think you should check the client names. The hostname that your client reports is "nywdei" - without any domain. Regards, Henrik
list Patrick Healy
The BBGHOSTS was set to '1'; I reset it to 2 and the hobbitd reported the names it was seeing. I updated my bb-hosts, restarted the clients and voila! it worked! Thanks to all!
▸
Pat
====================================================
Patrick Healy U.S. District Court, NYWD
user-4dd876706f9f@xymon.invalid 304 U.S. Courthouse
Voice: XXX-XXX-XXXX XX Court Street
FAX: XXX-XXX-XXXX Buffalo, NY XXXXX
user-ce4a2c883f75@xymon.invalid (Henrik Stoerner)
09/28/2005 03:02 PM
▸
Please respond to
user-ae9b8668bcde@xymon.invalid
To
user-ae9b8668bcde@xymon.invalid
cc
Subject
Re: [hobbit] More newbie client questions
▸
On Wed, Sep 28, 2005 at 02:42:29PM -0400, user-4dd876706f9f@xymon.invalid wrote:I'll check the BBGHOSTS="2" option; in the meantime, here's my msg.txt file for one of the systems...
The msg.txt file you sent me works fine on my system, so I think you should check the client names. The hostname that your client reports is "nywdei" - without any domain. Regards, Henrik