Xymon Mailing List Archive search

Todays snapshot (24/5) error in clientdata.log

list David Gore
Fri, 26 May 2006 12:29:54 +0000
Message-Id: <user-5df7d4878779@xymon.invalid>


Marco Avvisano wrote:
On Wed, May 24, 2006 at 10:19:34AM +0200, Marco Avvisano wrote:
find this error in clientdata.log (Red Hat Enterprise Linux ES release 3)

more clientdata.log
2006-05-24 10:17:02 Unknown token 'e' ignored at line 1
2006-05-24 10:17:02 pcre compile '*.log' failed (offset 0): nothing to repeat
This comes from your hobbit-clients.cfg configuration. You have
something listed as "*.log" which is not a valid regular expression.
It's correct this entry in hobbit-clients?

FILE "%.log" yellow SIZE<1024 MTIME<600 TRACK

Not unless you are looking  for a file that is 4 characters long, any character '.' followed by the string log?  You probably meant:

FILE "%.*log" yellow SIZE<1024 MTIME<600 TRACK # notice the '.*' after %

You want any number of characters or filename that ends with the string 'log'?

Assuming you have setup entries in client-local.cfg on the server to extract filenames that will end in 'log'?

   
M.