Xymon Mailing List Archive search

client-local.cfg and shared nfs homedirs

3 messages in this thread

list Charles Jones · Tue, 19 Sep 2006 04:27:38 -0700 ·
Lets say I have a setup where I have 12 web servers:
web1
web2
web3...

And they all have a common homedir (SAN).

Hobbit is very good about naming most of its logfiles etc with the hostname in them, so thusfar I have not had a problem where a file or setting for one host caused problems on another host.

Now, what I am wondering is, if I use client-local.cfg on the hobbit server, and define some logfile checks. These checks get propagated to the clients. I know that I can specify hostnames in client-local.cfg, but what happens to the data when it is propagated to the clients? If it ends up in a generic named file on the client, then it will take effect for ALL of my clients, which would be bad (assuming I want to monitor different files on each of them).

I guess I should just stop speculating and try it :) But I figured I would ask to see if anyone else, or Henrik already knows how this works.

-Charles
list Charles Jones · Tue, 19 Sep 2006 04:53:53 -0700 ·
Yet again I make the mistake of asking a question and *then* taking a hard look at it. From what I can tell the logging options are passed to the client and they go into ~/hobbit/client/tmp/logfetch.$HOSTNAME.cfg, so this should not cause any conflicts with my shared homedirs. Thanks Henrik for making Hobbit handle this so gracefully!

-Charles
quoted from Charles Jones

Charles Jones wrote:
Lets say I have a setup where I have 12 web servers:
web1
web2
web3...

And they all have a common homedir (SAN).

Hobbit is very good about naming most of its logfiles etc with the hostname in them, so thusfar I have not had a problem where a file or setting for one host caused problems on another host.

Now, what I am wondering is, if I use client-local.cfg on the hobbit server, and define some logfile checks. These checks get propagated to the clients. I know that I can specify hostnames in client-local.cfg, but what happens to the data when it is propagated to the clients? If it ends up in a generic named file on the client, then it will take effect for ALL of my clients, which would be bad (assuming I want to monitor different files on each of them).

I guess I should just stop speculating and try it :) But I figured I would ask to see if anyone else, or Henrik already knows how this works.

-Charles
list Henrik Størner · Wed, 20 Sep 2006 23:00:34 +0200 ·
quoted from Charles Jones
On Tue, Sep 19, 2006 at 04:53:53AM -0700, Charles Jones wrote:
Yet again I make the mistake of asking a question and *then* taking a hard look at it. From what I can tell the logging options are passed to the client and they go into ~/hobbit/client/tmp/logfetch.$HOSTNAME.cfg, so this should not cause any conflicts with my shared homedirs. Thanks Henrik for making Hobbit handle this so gracefully!
Actually, credit goes to one of the 4.2.0 beta-testers who reported
this.


Regards,
Henrik