Xymon Mailing List Archive search

clients in localmode cannot check files

5 messages in this thread

list Christoph Zechner · Tue, 19 Apr 2022 06:21:44 +0200 ·
Hi,

I've been running my clients in localmode for a while now and one thing that's not working at all, is checking for files.

In a default configuration, there must be an entry in client-local.cfg and in analysis.cfg, but this does not apply to localmode.

My file checks are configured in localclient.cfg on the clients (like the rest of the checks, which are working fine and as expected).

I found an old question regarding this [1], but I was not able to solve my problems with this approach unfortunately. My file checks are just being ignored when clients are using localmode.

Is there some trick to it respectively what am I doing wrong here?

Thanks in advance!

Cheers
Christoph


[1] https://lists.xymon.com/archive/2014-March/039417.html
list Jeremy Laidman · Tue, 19 Apr 2022 15:47:49 +1000 ·
I don't use local mode, but I'll see if I can help.

I believe you still need to configure analysis.cfg on the server.

Check your client data report and see if there is a section for the dinner
you're monitoring.

J
quoted from Christoph Zechner


On Tue, 19 Apr 2022, 14:22 Christoph Zechner, <user-249716582ccc@xymon.invalid> wrote:
Hi,

I've been running my clients in localmode for a while now and one thing
that's not working at all, is checking for files.

In a default configuration, there must be an entry in client-local.cfg
and in analysis.cfg, but this does not apply to localmode.

My file checks are configured in localclient.cfg on the clients (like
the rest of the checks, which are working fine and as expected).

I found an old question regarding this [1], but I was not able to solve
my problems with this approach unfortunately. My file checks are just
being ignored when clients are using localmode.

Is there some trick to it respectively what am I doing wrong here?

Thanks in advance!

Cheers
Christoph


[1] https://lists.xymon.com/archive/2014-March/039417.html

list Christoph Zechner · Tue, 19 Apr 2022 07:57:21 +0200 ·
quoted from Jeremy Laidman
On 19/04/2022 07:47, Jeremy Laidman wrote:
I don't use local mode, but I'll see if I can help.

I believe you still need to configure analysis.cfg on the server.
I tried that prior to sending my message to the mailing list, sorry, I should have included that information. It did not change anything.
Check your client data report and see if there is a section for the dinner you're monitoring.
Which data report do you mean?

Christoph
quoted from Jeremy Laidman

J


On Tue, 19 Apr 2022, 14:22 Christoph Zechner, <user-249716582ccc@xymon.invalid <mailto:user-249716582ccc@xymon.invalid>> wrote:


    Hi,

    I've been running my clients in localmode for a while now and one thing
    that's not working at all, is checking for files.

    In a default configuration, there must be an entry in client-local.cfg
    and in analysis.cfg, but this does not apply to localmode.

    My file checks are configured in localclient.cfg on the clients (like
    the rest of the checks, which are working fine and as expected).

    I found an old question regarding this [1], but I was not able to solve
    my problems with this approach unfortunately. My file checks are just
    being ignored when clients are using localmode.

    Is there some trick to it respectively what am I doing wrong here?

    Thanks in advance!

    Cheers
    Christoph


    [1] https://lists.xymon.com/archive/2014-March/039417.html

    <https://lists.xymon.com/archive/2014-March/039417.html>;
    <
list Jeremy Laidman · Tue, 19 Apr 2022 18:20:35 +1000 ·
If you go to the CPU status page (or disk or ports, etc) there's a link at
the bottom that says "client data available".

Maybe there's no client data when in local mode?

Did you create the file $XYMONHOME/etc/logfetch.cfg?
quoted from Christoph Zechner


On Tue, 19 Apr 2022, 15:57 Christoph Zechner, <user-249716582ccc@xymon.invalid> wrote:
On 19/04/2022 07:47, Jeremy Laidman wrote:
I don't use local mode, but I'll see if I can help.

I believe you still need to configure analysis.cfg on the server.
I tried that prior to sending my message to the mailing list, sorry, I
should have included that information. It did not change anything.
Check your client data report and see if there is a section for the
dinner you're monitoring.
Which data report do you mean?

Christoph

J


On Tue, 19 Apr 2022, 14:22 Christoph Zechner, <user-249716582ccc@xymon.invalid
<mailto:user-249716582ccc@xymon.invalid>> wrote:


    Hi,

    I've been running my clients in localmode for a while now and one
thing
    that's not working at all, is checking for files.

    In a default configuration, there must be an entry in
client-local.cfg
    and in analysis.cfg, but this does not apply to localmode.

    My file checks are configured in localclient.cfg on the clients (like
    the rest of the checks, which are working fine and as expected).

    I found an old question regarding this [1], but I was not able to
solve
    my problems with this approach unfortunately. My file checks are just
    being ignored when clients are using localmode.

    Is there some trick to it respectively what am I doing wrong here?

    Thanks in advance!

    Cheers
    Christoph


    [1] https://lists.xymon.com/archive/2014-March/039417.html
    <https://lists.xymon.com/archive/2014-March/039417.html>;
    
    <
list Christoph Zechner · Tue, 19 Apr 2022 10:26:27 +0200 ·
quoted from Jeremy Laidman
On 19/04/2022 10:20, Jeremy Laidman wrote:
If you go to the CPU status page (or disk or ports, etc) there's a link 
at the bottom that says "client data available".

Maybe there's no client data when in local mode?
I see, thanks! There's data, yes.
Did you create the file $XYMONHOME/etc/logfetch.cfg?
Oh, the file has to be named logfetch.cfg, not "logfetch.<client>.cfg" 
as per the old mailinglist entry! Now it works, thank you so much!

Cheers
Christoph
quoted from Jeremy Laidman

On Tue, 19 Apr 2022, 15:57 Christoph Zechner, <user-249716582ccc@xymon.invalid 
<mailto:user-249716582ccc@xymon.invalid>> wrote:

    On 19/04/2022 07:47, Jeremy Laidman wrote:
I don't use local mode, but I'll see if I can help.

I believe you still need to configure analysis.cfg on the server.
    I tried that prior to sending my message to the mailing list, sorry, I
    should have included that information. It did not change anything.
Check your client data report and see if there is a section for the
dinner you're monitoring.
    Which data report do you mean?

    Christoph

J


On Tue, 19 Apr 2022, 14:22 Christoph Zechner, <user-249716582ccc@xymon.invalid
<mailto:user-249716582ccc@xymon.invalid <mailto:user-249716582ccc@xymon.invalid>>> wrote:


? ? ?Hi,

? ? ?I've been running my clients in localmode for a while now and
    one thing
? ? ?that's not working at all, is checking for files.

? ? ?In a default configuration, there must be an entry in
    client-local.cfg
? ? ?and in analysis.cfg, but this does not apply to localmode.

? ? ?My file checks are configured in localclient.cfg on the
    clients (like
? ? ?the rest of the checks, which are working fine and as expected).

? ? ?I found an old question regarding this [1], but I was not
    able to solve
? ? ?my problems with this approach unfortunately. My file checks
    are just
? ? ?being ignored when clients are using localmode.

? ? ?Is there some trick to it respectively what am I doing wrong
    here?

? ? ?Thanks in advance!

? ? ?Cheers
? ? ?Christoph


? ? ?[1] https://lists.xymon.com/archive/2014-March/039417.html
    <https://lists.xymon.com/archive/2014-March/039417.html>;
? ? ?<https://lists.xymon.com/archive/2014-March/039417.html
    <https://lists.xymon.com/archive/2014-March/039417.html>>;
? ? ?_______________________________________________
? ? ?Xymon mailing list
    <
? ? ?<
    <