Coletar Eventos do Gerenciador de Integridade - Parâmetro de Nome

Microsoft.SystemCenter.HealthService.HealthManager.EventCollection.Param1.Name (Rule)

Coleta os nomes dos eventos relacionados à funcionalidade do Gerenciador de Integridade, que é executado como parte do serviço de integridade.

Knowledge Base article:

Resumo

Essa regra coleta eventos sobre falhas que ocorrem quando uma regra ou monitor tenta gerar um alerta, e uma ou mais ações de substituição de parâmetros apresentam falhas. Se esses eventos estiverem sendo gerados, significa que existe um problema na maneira como a regra ou o monitor foi criado. Como esses eventos também estão sendo monitorados por regras geradoras de alertas, esta regra é desabilitada por padrão, para reduzir o volume de dados coletados. Essa regra pode ser habilitada para fins de investigação, mas, em outros casos, deve ser desabilitada. Os eventos coletados por essa regra aparecerão no modo de exibição “Eventos do Gerenciador de Integridade”.

Element properties:

TargetMicrosoft.SystemCenter.HealthService
CategoryEventCollection
EnabledFalse
Alert GenerateFalse
RemotableTrue
Event LogOperations Manager

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectEvent Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishEventData Default

Source Code:

<Rule ID="Microsoft.SystemCenter.HealthService.HealthManager.EventCollection.Param1.Name" Enabled="false" Target="SCLibrary!Microsoft.SystemCenter.HealthService" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</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>
<Value Type="String">$Target/ManagementGroup/Name$</Value>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(5399|5400|5402|5404|5405|5408)$</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SCLibrary!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishEventData"/>
</WriteActions>
</Rule>