Hello!
I'm using FX adapter on my Novell Operations Center
I've written a parser based on RegularExpressionParser. It parses all
data correctly, but severity always sets to OK.
I've checked the code and compared it with DemoParser based on
DelimitedFileParser. The severity tags are absolutely similar there.
What am I doing wrong?
The code is below


Code:
--------------------
<parser>
<name>RegExp snmpgate Parser</name>
<class>com.mosol.integration.fx.parsers.RegExpPars er</class>
<settings>
<expressions>
<expression name="MyExp1" columns="Time,Thread,Stat,Msg">([0123456789.:/-]{23}) (\[\w+-\d+\]) (ERROR|WARN|INFO) (.*)</expression>
</expressions>
<severities>
<severity column="Stat" condition="MINOR">WARN</severity>
<severity column="Stat" condition="CRITICAL">ERROR</severity>
<severity column="Stat" condition="OK">INFO</severity>
</severities>

</settings>
</parser>
--------------------


--
SmiLena
------------------------------------------------------------------------
SmiLena's Profile: http://forums.novell.com/member.php?userid=109527
View this thread: http://forums.novell.com/showthread.php?t=448410