Zasada dostępności modułu źródła danych subskrypcji alertów modułów usługi kondycji

Microsoft.SystemCenter.HealthServiceModules.AlertSubscriptionDataSourceModule.AvailabilityRule (Rule)

Ta zasada służy do sprawdzania dostępności źródła danych subskrypcji alertów modułów usługi kondycji

Knowledge Base article:

Podsumowanie

Co najmniej jedna subskrypcja powiadomień o alertach napotkała błąd podczas próby uruchomienia. Niektóre lub wszystkie powiadomienia mogą nie być prawidłowo dostarczane.

Przyczyny

Kryteria alertu wybrane w subskrypcji mogą zwracać błąd przy zastosowaniu do filtrowania alertów w operacyjnej bazie danych. W operacyjnej bazie danych występują błędy, co może powodować przesyłanie nieprawdziwych informacji do serwera raportowania. Możliwe, że stan podsystemu powiadomień jest uszkodzony i podsystem ten nie może odczytać lub zapisać stanu tego powiadomienia. Podsystem powiadomień nie może wygenerować komunikatu powiadomienia z powodu błędów w czasie wykonywania powiadomienia.

Rozwiązania

Podsystem powiadomień nie może generować komunikatów powiadomień z powodu problemów z dostępnością. Istnieje wiele możliwych przyczyn.

Element properties:

TargetMicrosoft.SystemCenter.AllManagementServersPool
CategoryOperations
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
Moduł źródła danych subskrypcji alertów napotkał błędy podczas pracy
Moduł źródła danych subskrypcji alertów napotkał błędy podczas pracy: {0}
Event LogOperations Manager

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
Alert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.SystemCenter.HealthServiceModules.AlertSubscriptionDataSourceModule.AvailabilityRule" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.AllManagementServersPool" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Operations</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>.</ComputerName>
<LogName>Operations Manager</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Health Service Modules</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>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">11402</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">11403</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">11405</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">11406</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertName/>
<AlertDescription/>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.SystemCenter.HealthServiceModules.AlertSubscriptionDataSourceModule.AvailabilityRule.ErrorMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
</WriteAction>
</WriteActions>
</Rule>