VMHostImpact PRO Recovery Rule

com.apcc.ISXO.PRO.VMHostImpact.RecoveryRule (Rule)

Rule used by the VMM PRO integration to bootstrapp the recovery process

Knowledge Base article:

Summary

This rule is bootstrapping the Virtual Machine Manager integration.

Element properties:

Targetcom.apcc.ISXO.PRO.VMHostImpact
CategoryEventCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
EventLogMonitored DataSource Microsoft.Windows.EventCollector System.PrivilegedMonitoringAccount
Recovery WriteAction com.apcc.ISXO.PRO.VMHostImpact.Recovery Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectEvent System.PrivilegedMonitoringAccount

Source Code:

<Rule ID="com.apcc.ISXO.PRO.VMHostImpact.RecoveryRule" Enabled="true" Target="com.apcc.ISXO.PRO.VMHostImpact" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="EventLogMonitored" RunAs="System!System.PrivilegedMonitoringAccount" TypeID="Windows!Microsoft.Windows.EventCollector">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<AllowProxying>false</AllowProxying>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">76</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">VMMPro</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" RunAs="System!System.PrivilegedMonitoringAccount" TypeID="SC!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="Recovery" TypeID="com.apcc.ISXO.PRO.VMHostImpact.Recovery" Target="SC!Microsoft.SystemCenter.ManagementServer">
<EventDescription>$Data/EventDescription$</EventDescription>
</WriteAction>
</WriteActions>
</Rule>