Element modułu sondowania WMI zawiera dużą tablicę

Microsoft.SystemCenter.WmiProbeModule.LargeArray.Alert (Rule)

Ta zasada generuje alerty w razie pobrania przez moduł sondowania WMI elementu danych zawierającego bardzo dużą tablicę.

Knowledge Base article:

Podsumowanie

Moduł sondowania WMI pobrał element danych zawierający bardzo dużą tablicę.

Przyczyny

Moduł sondowania WMI pobrał element danych zawierający bardzo dużą tablicę. Może to spowodować długi czas przetwarzania i duże zużycie pamięci.

Rozwiązania

Należy rozważyć możliwość zmodyfikowania ciągu kwerendy, który powodował zwrócenie dużej tablicy. Więcej szczegółów dotyczących przyczyn tego problemu można znaleźć, sprawdzając skojarzone zdarzenie. Kliknięcie następującego łącza spowoduje wyświetlenie wszystkich zdarzeń wskazujących możliwy problem z modułem sondowania WMI:

Wyświetl zdarzenia sondowania WMI

Element properties:

TargetMicrosoft.SystemCenter.HealthService
CategoryAlert
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
Moduł sondowania WMI pobrał element zawierający bardzo dużą tablicę
{0}
Event LogOperations Manager

Member Modules:

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

Source Code:

<Rule ID="Microsoft.SystemCenter.WmiProbeModule.LargeArray.Alert" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.HealthService" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</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">Health Service Modules</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/ManagementGroup/Name$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">10410</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.SystemCenter.WmiProbeModule.LargeArray.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/Params/Param[2]$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>