Collect backup event for referenced data sources

Microsoft.SystemCenter.DataProtectionManager.2011.Discovery.CollectBackupEventForReferencedDS (Rule)

Collects backup events for referenced data sources.

Element properties:

TargetMicrosoft.SystemCenter.DataProtectionManager.2011.Library.ReferencedDatasource
CategoryEventCollection
EnabledFalse
Alert GenerateFalse
RemotableTrue
Event LogDPM Backup Events

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
WriteToDW WriteAction Microsoft.SystemCenter.DataProtectionManager.2011.Discovery.PublishEventData Default

Source Code:

<Rule ID="Microsoft.SystemCenter.DataProtectionManager.2011.Discovery.CollectBackupEventForReferencedDS" Enabled="false" Target="SCDPM!Microsoft.SystemCenter.DataProtectionManager.2011.Library.ReferencedDatasource" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Host/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>DPM Backup Events</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">DPM-BackupEvent</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[3]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="SCDPM!Microsoft.SystemCenter.DataProtectionManager.2011.Library.ReferencedDatasource"]/DPMObjectID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">33222</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">33223</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDW" TypeID="Microsoft.SystemCenter.DataProtectionManager.2011.Discovery.PublishEventData"/>
</WriteActions>
</Rule>