Xymon Mailing List Archive search

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

4 messages in this thread

list Marco Avvisano · Wed, 24 May 2006 10:19:34 +0200 ·
Hi all,

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

Marco
list Henrik Størner · Wed, 24 May 2006 11:35:21 +0200 ·
quoted from Marco Avvisano
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.


Regards,
Henrik
list Marco Avvisano · Fri, 26 May 2006 12:32:50 +0200 ·
quoted from Marco Avvisano
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


M.
list David Gore · Fri, 26 May 2006 12:29:54 +0000 ·
quoted from Marco Avvisano

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.