Collect alert data generated from backward compatibility scripts.

System.Mom.BackwardCompatibility.CollectNonStateAlerts (Rule)

Element properties:

TargetMicrosoft.Windows.Computer
CategoryAlert
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
Mom2005AlertDataSource DataSource System.Mom.BackwardCompatibility.NonStateAlert.DataProvider Default
AlertMapper ConditionDetection System.Mom.BackwardCompatibility.InternalAlertMapper Default
WA WriteAction Microsoft.SystemCenter.CollectAlert Default

Source Code:

<Rule ID="System.Mom.BackwardCompatibility.CollectNonStateAlerts" Enabled="true" Target="Windows!Microsoft.Windows.Computer">
<Category>Alert</Category>
<DataSources>
<DataSource ID="Mom2005AlertDataSource" TypeID="System.Mom.BackwardCompatibility.NonStateAlert.DataProvider">
<ManagementGroupID>$Target/ManagementGroup/Id$</ManagementGroupID>
<TargetComputerID>$Target/Id$</TargetComputerID>
</DataSource>
</DataSources>
<ConditionDetection ID="AlertMapper" TypeID="System.Mom.BackwardCompatibility.InternalAlertMapper">
<Priority>0</Priority>
<Severity>$Data/MOMV3Severity$</Severity>
<ManagedEntityId>$Target/Id$</ManagedEntityId>
<AlertName>$Data/Name$</AlertName>
<AlertDescription>$Data/Description$</AlertDescription>
<AlertOwner>$Data/Owner$</AlertOwner>
<Suppression>
<SuppressionValue>$Data/RuleID$</SuppressionValue>
</Suppression>
<WorkflowId>$Data/RuleID$</WorkflowId>
<Custom1>$Data/CustomFields/CustomField[1]$</Custom1>
<Custom2>$Data/CustomFields/CustomField[2]$</Custom2>
<Custom3>$Data/CustomFields/CustomField[3]$</Custom3>
<Custom4>$Data/CustomFields/CustomField[4]$</Custom4>
<Custom5>$Data/CustomFields/CustomField[5]$</Custom5>
<Custom6>$Data/Source$</Custom6>
<ManagementGroupName>$Target/ManagementGroup/Name$</ManagementGroupName>
</ConditionDetection>
<WriteActions>
<WriteAction TypeID="SC!Microsoft.SystemCenter.CollectAlert" ID="WA"/>
</WriteActions>
</Rule>