Log File Errors
ComTrade.EMC.Documentum.xPloreIndexServer.Windows.ContentServerProcessing.LogWatcher.Errors (Rule)
Collects log file errors of the Content Processing Service.
Element properties:
Member Modules:
Source Code:
<Rule ID="ComTrade.EMC.Documentum.xPloreIndexServer.Windows.ContentServerProcessing.LogWatcher.Errors" Enabled="true" Target="CTDmWinDisc!ComTrade.EMC.Documentum.Windows.ContentProcessingService.LogWatcher" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="ComTrade.EMC.Documentum.xPloreIndexServer.Windows.DS.ContentProcessingService.Logfile.Provider">
<LogfilePath>$Target/Property[Type="CTDmLib!ComTrade.EMC.Documentum.LogWatcher"]/LogfilePath$</LogfilePath>
<LogfilePattern>$Target/Property[Type="CTDmLib!ComTrade.EMC.Documentum.LogWatcher"]/Logfile$*</LogfilePattern>
<LogIsUTF8>false</LogIsUTF8>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">LogFileName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="CTDmLib!ComTrade.EMC.Documentum.LogWatcher"]/LogfilePath$\$Target/Property[Type="CTDmLib!ComTrade.EMC.Documentum.LogWatcher"]/Logfile$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>( ERROR )|( FATAL )</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GE" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="AlertMessageID0ecccac3056f4909bb9aae3f2709be02"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="CTDmLib!ComTrade.EMC.Documentum.LogWatcher"]/LogfilePath$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="CTDmLib!ComTrade.EMC.Documentum.LogWatcher"]/Logfile$</AlertParameter2>
<AlertParameter3>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter3>
<AlertParameter4>$Data/Params/Param[2]$</AlertParameter4>
<AlertParameter5>$Data/Params/Param[3]$</AlertParameter5>
<AlertParameter6>$Data/Params/Param[5]$</AlertParameter6>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/Params/Param[3]$</SuppressionValue>
<SuppressionValue>$Data/Params/Param[5]$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>