Self Monitoring: Log File Provider - Log File deleted

NiCE.Library.W.Self.Monitoring.LogFile.Deleted (Rule)

Monitors the Event log for log file deleted events from log file provider.

Knowledge Base article:

Summary

This alert shows if a monitored logfile was deleted.

The rule is disabled by default.

Causes

Log file was deleted.

Resolutions

n/a

Element properties:

TargetNiCE.Library.W.Computer
CategoryAlert
EnabledFalse
Alert GenerateTrue
Alert SeverityInformation
Alert PriorityNormal
RemotableTrue
Alert Message
NiCE Log File Provider: Logfile deleted
{0}
Event LogOperations Manager

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
Alert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="NiCE.Library.W.Self.Monitoring.LogFile.Deleted" Target="NiCE.Library.W.Computer" Enabled="false" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<LogName>Operations Manager</LogName>
<AllowProxying>true</AllowProxying>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">8135</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">EventSourceName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">NiCE Providers</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">NiCE Providers</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>0</Severity>
<AlertMessageId>$MPElement[Name="NiCE.Library.W.Self.Monitoring.LogFile.Deleted.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data[Default='']/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>&lt;AlertParameters&gt;&lt;AlertParameter1&gt;$Data[Default='']/EventDescription$&lt;/AlertParameter1&gt;&lt;/AlertParameters&gt;{0}</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>