Log File Errors

ComTrade.EMC.Documentum.xPloreIndexServer.Windows.ContentServerProcessing.LogWatcher.Errors (Rule)

Collects log file errors of the Content Processing Service.

Element properties:

TargetComTrade.EMC.Documentum.Windows.ContentProcessingService.LogWatcher
CategoryEventCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
Errors in Content Processing Service Log File
An error has been logged for the Content Processing Service
in the log file: {0}\{1} on the computer: {2}

Event Time: {3}
Generated by: {4}
Event Message : {5}

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource ComTrade.EMC.Documentum.xPloreIndexServer.Windows.DS.ContentProcessingService.Logfile.Provider Default
GE WriteAction System.Health.GenerateAlert Default

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>