[Xymon] msgs not matching
Neil Simmonds
neilsimmonds1808 at gmail.com
Thu Sep 11 14:31:14 CEST 2014
Not sure why the last reply was truncated. What I intended to say was that all my other tests have double quotes around them as they all contain spaces. I don't think it's the quotes that's the issue although it may be something to do with the escaped double quote just before the word WebContainer
-----Original Message-----
From:
Sent: None
To: xymon at xymon.com
Subject: RE: [Xymon] msgs not matching
The clientlocal.cfg entry was already in place as this is a standard test log that we use for testing new log monitors.
All my other tests which all
-----Original Message-----
From: usa ims [mailto:usaims at yahoo.com]
Sent: 11 September 2014 13:04
To: xymon at xymon.com; Neil Simmonds
Subject: Re: [Xymon] msgs not matching
On my xymon 4.3.7 I also modified the client-local.cfg.
The client-local.cfg file contains settings that are used by each Xymon client when it runs on a monitored host. It provides a convenient way of configuring clients from a central location without having to setup special configuration maintenance tools on all clients.
The client-local.cfg file is currently used to configure what logfiles the client should fetch data from, to be used as the basis for the "msgs" status column; and to configure which files and directories are being monitored in the "files" status column.
Note that there is a dependency between the client-local.cfg file and the
anaysis.cfg(5) file. When monitoring e.g. a logfile, you must first enter it into the client-local.cfg file, to trigger the Xymon client into reporting any data about the logfile. Next, you must configure analysis.cfg so the Xymon server knows what to look for in the file data sent by the client. So:
client-local.cfg defines what raw data is collected by the client, and analysis.cfg defines how to analyze them.
--------------------------------------------
On Thu, 9/11/14, Neil Simmonds <neilsimmonds1808 at gmail.com> wrote:
Subject: [Xymon] msgs not matching
To: xymon at xymon.com
Date: Thursday, September 11, 2014, 7:14 AM
I’m trying to get a match on a log file string but seem to be struggling.
In my analysis.cfg I have the following, LOG /xymon/server/etc/test.log "%Thread \"WebContainer.{1,75} and may be hung*"
COLOR=yellow
On the msgs column on the relevant server I get,
No
entries in /xymon/server/etc/test.log
No
entries in /tmp/xymontest/ATPReceiptDiag.log
Full log
/xymon/server/etc/test.logThread
"WebContainer : 23" (0000006f) has been active for
686236 milliseconds and may be hung.
Full log
/tmp/xymontest/ATPReceiptDiag.log
I’ve tested my string in my usual
regular expression tester and it seems it should work ok.
Is there something obvious that I’ve
missed?
-----Inline Attachment Follows-----
_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon
More information about the Xymon
mailing list