Xymon Mailing List Archive search

enhancement request?

2 messages in this thread

list David Gore · Mon, 12 Jun 2006 02:10:48 +0000 ·
Hello,

It looks to us like this fails, or at least we cannot get it to work in regards to log file monitoring:

trigger %INFO.*shot|ERROR.*OutOfMemoryError

We do see the whole string get sent to the client from the server.  I was thinking the reason it doesn't work is because it is a server dependent client and has no PCRE libraries (client), so perhaps regular expressions in client-local.cfg although allowed will not work unless you have the PCRE libraries on the client host.

So my enhancement request would be to include the PCRE calls in the client?  Is that possible, statically link to the PCRE libraries and remove the need to install PCRE on hosts you would like to use it?  I am sure I am not the only one who cannot install PCRE on the some or all the client hosts.  Or perhaps my trigger command should work and I have done something wrong?


-- 
David
list Henrik Størner · Mon, 12 Jun 2006 07:45:11 +0200 ·
On Mon, Jun 12, 2006 at 02:10:48AM +0000, David Gore wrote:
trigger %INFO.*shot|ERROR.*OutOfMemoryError

So my enhancement request would be to include the PCRE calls in the client?  Is that possible, statically link to the PCRE libraries and remove the need to install PCRE on hosts you would like to use it?  I am sure I am not the only one who cannot install PCRE on the some or all the client hosts.  Or perhaps my trigger command should work and I have done something wrong?
Your trigger command should work - but do remove the '%' sign first.

The "trigger" and "ignore" strings are always processed as regular expressions, using whatever regex library your system has installed.
I haven't made it depend on the PCRE library, because - as you said -
it is not possible to install the PCRE libs on all hosts.


Regards,
Henrik