Monitor kondycji usługi WMI

Microsoft.SystemCenter.WMIFunctionalMonitor (UnitMonitor)

Ten monitor sprawdza, czy kondycja usługi WMI jest prawidłowa, okresowo wykonując kwerendę usługi WMI

Knowledge Base article:

Podsumowanie

Podczas próby uruchomienia kwerendy WMI „select * from win32_operatingsystem” monitor kondycji WMI napotkał błąd WMI.

Przyczyny

Usługa WMI na tym komputerze ma złą kondycję i nie może zwracać danych w odpowiedzi na kwerendę.

Rozwiązania

Upewnij się, że usługa instrumentacji zarządzania Windows (WMI) jest uruchomiona na tym komputerze.

Upewnij się, że usługa zdalnego wywoływania procedur (RPC) jest uruchomiona na tym komputerze.

Upewnij się, że repozytorium WMI na tym komputerze jest spójne

Upewnij się, że model DCOM jest włączony

Jeśli żadna z powyższych czynności nie rozwiąże problemu, pobierz narzędzie diagnostyczne WMI ze strony http://go.microsoft.com/fwlink/?LinkId=158226. Narzędzie to jest skryptem VBScript opracowanym w celu ułatwienia rozwiązywania problemów z bieżącym stanem usługi WMI na komputerze.

Zewnętrzne

Więcej informacji na temat rozwiązywania problemów dotyczących WMI można znaleźć pod adresem http://go.microsoft.com/fwlink/?LinkId=158224.

Element properties:

TargetMicrosoft.SystemCenter.Agent
Parent MonitorSystem.Health.ConfigurationState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.OperationsManager.WMIFunctional.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Kondycja usługi WMI jest zła
Kondycja usługi WMI na komputerze {0} jest zła
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.WMIFunctionalMonitor" Accessibility="Public" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.Agent" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Microsoft.OperationsManager.WMIFunctional.MonitorType" ConfirmDelivery="false">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.WMIFunctionalMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="WMISuccess" MonitorTypeStateID="WMISuccess" HealthState="Success"/>
<OperationalState ID="WMIError" MonitorTypeStateID="WMIError" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>86400</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
</Configuration>
</UnitMonitor>