Xymon Mailing List Archive search

One client alerts and a (seemingly) identical client doesn't.

3 messages in this thread

list Nick Pettefar · Fri, 25 May 2012 16:02:50 +0100 ·
I have two servers being monitored, a specific log file is monitored
on each and the alerts, client-local and analysis file entries are
identical for each.  And yet one works (shows a reg MSGS dot and sends
an e-mail) and one doesn't.  It did for a while and then stopped.  I
have restarted xymon client on the server to no avail.

What tools ara available and what should I be looking for in order to
solve this peculiar problem?

Regards,

Nick Pettefar
list Jeremy Laidman · Mon, 28 May 2012 14:43:38 +1000 ·
Check out the "msgs" column and make sure that its showing recent log
entries from the logfile.

Have a look at /tmp/logfetch.*.cfg on each client.  This should be a single
file named after the client's hostname.  The contents will show the client
what it needs to send back (which file and how much).  This file is
retrieved from the Xymon server, and so will change (after 10-15 minutes)
if you modify the relevant LOG entries on the Xymon server's analysis.cfg
file.

Also have a look at /tmp/logfetch.*.status.  Look at the timestamp to see
if it's being updated.  Check the permissions to ensure it can be updated
by Xymon.  Look at the contents of this (text) file to see if it's looking
at the correct file.
quoted from Nick Pettefar

On Sat, May 26, 2012 at 1:02 AM, Nick Pettefar <user-2027539dd102@xymon.invalid> wrote:
I have two servers being monitored, a specific log file is monitored
on each and the alerts, client-local and analysis file entries are
identical for each.  And yet one works (shows a reg MSGS dot and sends
an e-mail) and one doesn't.  It did for a while and then stopped.  I
have restarted xymon client on the server to no avail.

What tools ara available and what should I be looking for in order to
solve this peculiar problem?

Regards,

Nick Pettefar

list Nick Pettefar · Mon, 28 May 2012 10:07:33 +0100 ·
Thanks, that is useful!

Regards,

Nick Pettefar
quoted from Jeremy Laidman


On 28 May 2012 05:43, Jeremy Laidman <user-71895fb2e44c@xymon.invalid> wrote:
Check out the "msgs" column and make sure that its showing recent log
entries from the logfile.

Have a look at /tmp/logfetch.*.cfg on each client.  This should be a single
file named after the client's hostname.  The contents will show the client
what it needs to send back (which file and how much).  This file is
retrieved from the Xymon server, and so will change (after 10-15 minutes) if
you modify the relevant LOG entries on the Xymon server's analysis.cfg file.

Also have a look at /tmp/logfetch.*.status.  Look at the timestamp to see if
it's being updated.  Check the permissions to ensure it can be updated by
Xymon.  Look at the contents of this (text) file to see if it's looking at
the correct file.

On Sat, May 26, 2012 at 1:02 AM, Nick Pettefar <user-2027539dd102@xymon.invalid> wrote:
I have two servers being monitored, a specific log file is monitored
on each and the alerts, client-local and analysis file entries are
identical for each.  And yet one works (shows a reg MSGS dot and sends
an e-mail) and one doesn't.  It did for a while and then stopped.  I
have restarted xymon client on the server to no avail.

What tools ara available and what should I be looking for in order to
solve this peculiar problem?

Regards,

Nick Pettefar