Xymon Mailing List Archive search

Client debugging?

3 messages in this thread

list Pnixon · Thu, 20 Jul 2006 15:57:01 -0400 ·
Hey all,
 I'm trying to add a client to hobbit using the hobbit client.

 I ran the configure client, make, and I started the client, but I'm not
receiving the messages on the hobbit server.

 It appears all the processes are running correctly.

 How do I turn on debugging for the client so I can see if it's generating
any goofy errors?

 Uname -a for the system:
Linux bigfoot.somerville.ma.us 2.6.11-13mdk #1 Tue Nov 29 01:32:41 MST 2005
x86_64 AMD Athlon(tm) 64 Processor 3500+ unknown GNU/Linux

Thanks,
Pat
list Kent Brodie · Thu, 20 Jul 2006 16:03:34 -0500 ·
Check out the output of "uname -n", which is what the client claims it
is against the server.  I had that issue until I dug into the code and
figured out that the node "Kramer" (client) was not matching the server
entry of "Kramer.hmgc.mcw.edu".   

You can fix this by adding a CLIENT:hostname alias in your bb-hosts
file.

Kent C. Brodie - user-da7f7d5174c0@xymon.invalid
Department of Physiology
Medical College of Wisconsin
(XXX) XXX-XXXX
quoted from Pnixon
-----Original Message-----
From: user-c102b8958c7a@xymon.invalid [mailto:user-c102b8958c7a@xymon.invalid] 
Sent: Thursday, July 20, 2006 2:57 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Client debugging?

Hey all,
 I'm trying to add a client to hobbit using the hobbit client.

 I ran the configure client, make, and I started the client, but I'm not
receiving the messages on the hobbit server.

 It appears all the processes are running correctly.

 How do I turn on debugging for the client so I can see if it's
generating
any goofy errors?

 Uname -a for the system:
Linux bigfoot.somerville.ma.us 2.6.11-13mdk #1 Tue Nov 29 01:32:41 MST
2005
x86_64 AMD Athlon(tm) 64 Processor 3500+ unknown GNU/Linux

Thanks,
Pat
list Henrik Størner · Thu, 20 Jul 2006 23:09:14 +0200 ·
quoted from Kent Brodie
On Thu, Jul 20, 2006 at 03:57:01PM -0400, user-c102b8958c7a@xymon.invalid wrote:
Hey all,
 I'm trying to add a client to hobbit using the hobbit client.

 I ran the configure client, make, and I started the client, but I'm not
receiving the messages on the hobbit server.
Assuming you're using the 4.2 release candidate, try the "Ghost report"
and see if your client is on the list. If it is, then it is using a
different hostname for its reporting than what you have in the bb-hosts
file.
quoted from Kent Brodie
 How do I turn on debugging for the client so I can see if it's generating
any goofy errors?
Just look in the files in the ~hobbit/client/logs/ directory. And check
if there's a ~hobbit/client/tmp/msg.<hostname>.txt file with lots of
info collected by your client script.


Regards,
Henrik