Hello!
Currently we use Zabbix 2.2
I have a really long regular expression that I need to use on log file to check for exceptions.
The regular expression (it is for IBM WebSphere App server if anyone is interrested) is:
If I split it in say two parts and use "Result is TRUE" for them then result always is FALSE because one part always does not match.
How do I define a working long regexp?
Currently we use Zabbix 2.2
I have a really long regular expression that I need to use on log file to check for exceptions.
The regular expression (it is for IBM WebSphere App server if anyone is interrested) is:
Code:
ORA-[0-9]+|SQLException|BusinessExcep E|WsServerImpl E|ORBRas E|webcontainer E|AlarmThreadMo W|webapp E|FfdcProvider W|servlet E|webapp E|WSRdbXaResour E|XARminst E|CoordinatorCo W|ExceptionUtil E|FreePool E|WebApp E|WebContainer E|WebAppTransac E|ServletWrappe E|LocalTranCoor E|TimeoutManage I|WSRdbManagedC W|ConnectionEve A|TranManagerIm I|ThreadMonitor W|SASRas W|\[FATAL\]|\[Servlet Error\]|\[Fatal Error\]|\[ERROR\]
How do I define a working long regexp?