Xymon Mailing List Archive search

client-local.cfg not propagating

8 messages in this thread

list Ron Peters · Mon, 25 Jun 2007 14:58:14 -0700 ·
Hello all,

I have a client that isn't receiving the client-local.cfg information.  The 'files' and 'msgs' categories are reported as 'clear' since there is no data on which to base a status.

I've re-installed the client, uninstalled and copied the directory from a working client, and re-installed a working client to validate that it isn't a server issue.  What would cause a client to NOT download this configuration?

Any thoughts?

Thanks
list Dave Haertig · Mon, 25 Jun 2007 16:12:43 -0600 ·
Possibly filespace or permissions problems in the client computer's
hobbit tmp directory?
 
You don't have a typo in client-local.cfg where you mispelled the name
of the client you want to do the downloading?
quoted from Ron Peters


From: Peters, Ron [mailto:user-30d0254dcc64@xymon.invalid] 
Sent: Monday, June 25, 2007 3:58 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] client-local.cfg not propagating


Hello all,

 
I have a client that isn't receiving the client-local.cfg information.
The 'files' and 'msgs' categories are reported as 'clear' since there is
no data on which to base a status.  

 
I've re-installed the client, uninstalled and copied the directory from
a working client, and re-installed a working client to validate that it
isn't a server issue.  What would cause a client to NOT download this
configuration?

 
Any thoughts?

 
Thanks
list Ron Peters · Mon, 25 Jun 2007 15:25:35 -0700 ·
Well, the client is actually installed vi cfengine.  It pulls down the files into the hobbit directory with proper permissions and it does this on all of our clients.  This client is the same OS/config as the last one I installed but it is having the problem.  I've also noted that the client has tons of free disk.

The listing in the client-local.cfg isn't specific to client name, it is based on a group (linux in this case).

Is there any way to manually duplicate what the client is doing when downloading this info to get some debugging output?
quoted from Dave Haertig

From: Haertig, David F (Dave) [mailto:user-68874b735d77@xymon.invalid]
Sent: Monday, June 25, 2007 3:13 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] client-local.cfg not propagating

Possibly filespace or permissions problems in the client computer's hobbit tmp directory?

You don't have a typo in client-local.cfg where you mispelled the name of the client you want to do the downloading?

From: Peters, Ron [mailto:user-30d0254dcc64@xymon.invalid]
Sent: Monday, June 25, 2007 3:58 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] client-local.cfg not propagating
Hello all,

I have a client that isn't receiving the client-local.cfg information.  The 'files' and 'msgs' categories are reported as 'clear' since there is no data on which to base a status.

I've re-installed the client, uninstalled and copied the directory from a working client, and re-installed a working client to validate that it isn't a server issue.  What would cause a client to NOT download this configuration?

Any thoughts?

Thanks
list Dave Haertig · Mon, 25 Jun 2007 16:35:03 -0600 ·
You can look at hobbitclient.sh in hobbit's bin directory on your client
machine.  It's just a short shell script.  On my version of hobbit
(4.2.0 standard, no patches), the part of hobbitclient.sh of interest
starts at line 68, where it's messing with $LOGFETCHCFG.  That's your
downloaded client-local.cfg stuff.
quoted from Ron Peters


From: Peters, Ron [mailto:user-30d0254dcc64@xymon.invalid] 
Sent: Monday, June 25, 2007 4:26 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: RE: [hobbit] client-local.cfg not propagating


Well, the client is actually installed vi cfengine.  It pulls down the
files into the hobbit directory with proper permissions and it does this
on all of our clients.  This client is the same OS/config as the last
one I installed but it is having the problem.  I've also noted that the
client has tons of free disk.

 
The listing in the client-local.cfg isn't specific to client name, it is
based on a group (linux in this case).

 
Is there any way to manually duplicate what the client is doing when
downloading this info to get some debugging output?

 
From: Haertig, David F (Dave) [mailto:user-68874b735d77@xymon.invalid] 
Sent: Monday, June 25, 2007 3:13 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] client-local.cfg not propagating

 
Possibly filespace or permissions problems in the client computer's
hobbit tmp directory?

 
You don't have a typo in client-local.cfg where you mispelled the name
of the client you want to do the downloading?

 
From: Peters, Ron [mailto:user-30d0254dcc64@xymon.invalid] 
Sent: Monday, June 25, 2007 3:58 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] client-local.cfg not propagating

Hello all,

 
I have a client that isn't receiving the client-local.cfg information.
The 'files' and 'msgs' categories are reported as 'clear' since there is
no data on which to base a status.  

 
I've re-installed the client, uninstalled and copied the directory from
a working client, and re-installed a working client to validate that it
isn't a server issue.  What would cause a client to NOT download this
configuration?

 
Any thoughts?

 
Thanks
list Henrik Størner · Tue, 26 Jun 2007 07:24:27 +0200 ·
quoted from Dave Haertig
On Mon, Jun 25, 2007 at 02:58:14PM -0700, Peters, Ron wrote:
I have a client that isn't receiving the client-local.cfg information.  The 
'files' and 'msgs' categories are reported as 'clear' since there is no data 
on which to base a status.
Watch out - the client-local.cfg settings only determine which files the
client will report data for. To actually get a real (green/red/yellow)
status message, you need to configure hobbit-clients.cfg as well,
telling Hobbit how to analyze the data it gets about these files.

It sounds like you're on the right track - the client is sending data
about the files you want to watch - but you just need to configure the
analysis part of Hobbit.


Regards,
Henrik
list Ron Peters · Tue, 26 Jun 2007 09:34:25 -0700 ·
The client actually isn't sending information about these files.  As I understand the script (hobbitclient.sh) that is running (on the client), it calls the logfetch utility that gathers the information about the files/msgs I want.  What I'm seeing is that the hobbitclient.sh should create the .../hobbit/tmp/logfetch.uname.cfg that contains the list of files that should be monitored.  This part isn't happening.  Not sure how the list of files is gathered from the hobbit server.  I'd like to see some debug from that process to find out what is wrong.

More thoughts?

Thanks again...
quoted from Henrik Størner

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Monday, June 25, 2007 10:24 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] client-local.cfg not propagating

On Mon, Jun 25, 2007 at 02:58:14PM -0700, Peters, Ron wrote:
I have a client that isn't receiving the client-local.cfg information.  The
'files' and 'msgs' categories are reported as 'clear' since there is no data
on which to base a status.
Watch out - the client-local.cfg settings only determine which files the
client will report data for. To actually get a real (green/red/yellow)
status message, you need to configure hobbit-clients.cfg as well,
telling Hobbit how to analyze the data it gets about these files.

It sounds like you're on the right track - the client is sending data
about the files you want to watch - but you just need to configure the
analysis part of Hobbit.


Regards,
Henrik
list Holly Lund · Tue, 26 Jun 2007 13:29:45 -0400 ·
I have the same problem with clients not getting the information from
the hobbit-clients.cfg

My server is on Soalris 10 and the Linux and Solaris 8 clients are not
getting the info.  Solaris 10 clients are fine


Holly Lund
XXX-XXX-XXXX
XXX-XXX-XXXX
quoted from Ron Peters

-----Original Message-----
From: Peters, Ron [mailto:user-30d0254dcc64@xymon.invalid] 
Sent: Tuesday, June 26, 2007 12:34 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] client-local.cfg not propagating

The client actually isn't sending information about these files.  As I
understand the script (hobbitclient.sh) that is running (on the client),
it calls the logfetch utility that gathers the information about the
files/msgs I want.  What I'm seeing is that the hobbitclient.sh should
create the .../hobbit/tmp/logfetch.uname.cfg that contains the list of
files that should be monitored.  This part isn't happening.  Not sure
how the list of files is gathered from the hobbit server.  I'd like to
see some debug from that process to find out what is wrong.

More thoughts?

Thanks again...

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Monday, June 25, 2007 10:24 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] client-local.cfg not propagating

On Mon, Jun 25, 2007 at 02:58:14PM -0700, Peters, Ron wrote:
I have a client that isn't receiving the client-local.cfg information.
The 'files' and 'msgs' categories are reported as 'clear' since there 
is no data on which to base a status.
Watch out - the client-local.cfg settings only determine which files the
client will report data for. To actually get a real (green/red/yellow)
status message, you need to configure hobbit-clients.cfg as well,
telling Hobbit how to analyze the data it gets about these files.

It sounds like you're on the right track - the client is sending data
about the files you want to watch - but you just need to configure the
analysis part of Hobbit.


Regards,
Henrik
list Ron Peters · Mon, 2 Jul 2007 11:21:39 -0700 ·
For what it's worth, I have the answer, at least part of one.  What I didn't mention was that all my clients report to 2 hobbit servers (list of IP's defined for BBDISPLAYS).  We're in parallel for a temporary time period.  The client was only set up on one of the two servers.  I just added it to the second server and the problem went away.  The client is apparently only communicating with one of the servers (first in the BBDISPLAYS list) where it can download the files/msgs info and it wasn't the one I was working with.
quoted from Holly Lund

-----Original Message-----
From: Peters, Ron [mailto:user-30d0254dcc64@xymon.invalid]
Sent: Tuesday, June 26, 2007 9:34 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] client-local.cfg not propagating

The client actually isn't sending information about these files.  As I understand the script (hobbitclient.sh) that is running (on the client), it calls the logfetch utility that gathers the information about the files/msgs I want.  What I'm seeing is that the hobbitclient.sh should create the .../hobbit/tmp/logfetch.uname.cfg that contains the list of files that should be monitored.  This part isn't happening.  Not sure how the list of files is gathered from the hobbit server.  I'd like to see some debug from that process to find out what is wrong.

More thoughts?

Thanks again...

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Monday, June 25, 2007 10:24 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] client-local.cfg not propagating

On Mon, Jun 25, 2007 at 02:58:14PM -0700, Peters, Ron wrote:
I have a client that isn't receiving the client-local.cfg information.  The
'files' and 'msgs' categories are reported as 'clear' since there is no data
on which to base a status.
Watch out - the client-local.cfg settings only determine which files the
client will report data for. To actually get a real (green/red/yellow)
status message, you need to configure hobbit-clients.cfg as well,
telling Hobbit how to analyze the data it gets about these files.

It sounds like you're on the right track - the client is sending data
about the files you want to watch - but you just need to configure the
analysis part of Hobbit.


Regards,
Henrik