Collects exception events from network monitoring modules

Microsoft.IntelligencePacks.NetworkMonitoring.CollectModuleExceptions (Rule)

Element properties:

TargetMicrosoft.Windows.Computer
CategoryCustom
EnabledFalse
Alert GenerateFalse
RemotableFalse
Event LogOperations Manager

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
CD ConditionDetection Microsoft.EnterpriseManagement.Advisor.DiagnosticsMapper Default
WA WriteAction Microsoft.SystemCenter.DiagnosticsInformationDataWriteAction Default

Source Code:

<Rule ID="Microsoft.IntelligencePacks.NetworkMonitoring.CollectModuleExceptions" Target="Windows!Microsoft.Windows.Computer" Enabled="false" ConfirmDelivery="false" Remotable="false" Priority="Normal" DiscardLevel="100">
<Category>Custom</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<LogName>Operations Manager</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">HealthService</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">4502</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[5]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft.EnterpriseManagement.Mom.Modules.NetmonDataSource.NetmonDataSource</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[5]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft.EnterpriseManagement.Mom.Modules.NetmonDataSource.NetmonAgentConfigDataSource</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[5]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft.EnterpriseManagement.Mom.Modules.NetmonDataSource.NetmonAgentConfigDataSourceV3</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<ConditionDetection ID="CD" TypeID="Mon!Microsoft.EnterpriseManagement.Advisor.DiagnosticsMapper">
<PropertyMappings>
<PropertyMapping>
<PropertyName>LoggingComputer</PropertyName>
<XPath>LoggingComputer</XPath>
<HashValue>true</HashValue>
</PropertyMapping>
<PropertyMapping>
<PropertyName>EventDisplayNumber</PropertyName>
<XPath>EventDisplayNumber</XPath>
<HashValue>false</HashValue>
</PropertyMapping>
<PropertyMapping>
<PropertyName>ManagementGroupName</PropertyName>
<XPath>Params/Param[1]</XPath>
<HashValue>true</HashValue>
</PropertyMapping>
<PropertyMapping>
<PropertyName>RuleName</PropertyName>
<XPath>Params/Param[2]</XPath>
<HashValue>false</HashValue>
</PropertyMapping>
<PropertyMapping>
<PropertyName>ModuleTypeName</PropertyName>
<XPath>Params/Param[5]</XPath>
<HashValue>false</HashValue>
</PropertyMapping>
<PropertyMapping>
<PropertyName>StackTrace</PropertyName>
<XPath>Params/Param[6]</XPath>
<HashValue>false</HashValue>
</PropertyMapping>
</PropertyMappings>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WA" TypeID="Types!Microsoft.SystemCenter.DiagnosticsInformationDataWriteAction"/>
</WriteActions>
</Rule>