Usługa Windows Management Instrumentation

Microsoft.SystemCenter.WMIService.ServiceMonitor (UnitMonitor)

Ten monitor służy do sprawdzania stanu usługi Windows Management Instrumentation.

Knowledge Base article:

Podsumowanie

Ten monitor przedstawia zbiorcze informacje o kondycji z monitorów dostępności usługi WMI, które wykrywają nieprawidłową kondycję agentów.

Sprawdź poszczególne monitory jednostkowe Eksploratora kondycji, które są w stanie ostrzegawczym lub krytycznym, aby uzyskać informacje o zmianie stanu i szczegółowe dane ułatwiające rozwiązanie problemów.

Przyczyny

Ten monitor sprawdza stan usługi WMI, aby upewnić się, że jest ona uruchomiona. Jeśli przy wielu kontrolach usługa nie jest uruchomiona, następuje zgłoszenie alertu.

Rozwiązania

W celu rozwiązania tego problemu należy uruchomić usługę WMI w tym systemie. Aby rozwiązać ten problem, wykonaj następujące kroki:

Element properties:

TargetMicrosoft.SystemCenter.HealthService
Parent MonitorMicrosoft.SystemCenter.AgentManagement.WMIServiceAvailabilityRollup
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.2007.WindowsServiceNotRunningState.ConsecutiveSamplesThreshold.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Usługa WMI nie jest uruchomiona
Podczas kilkukrotnego sprawdzania usługa Windows Management Instrumentation (WMI) nie była uruchomiona. Wiele pakietów administracyjnych zawiera zasady, monitory i odnajdywania wymagające dostępu do usługi WMI, więc jeśli nie jest ona uruchomiona, te przepływy pracy nie będą prawidłowo wykonywane.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.WMIService.ServiceMonitor" Accessibility="Public" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.HealthService" ParentMonitorID="Microsoft.SystemCenter.AgentManagement.WMIServiceAvailabilityRollup" Remotable="true" Priority="Normal" TypeID="Microsoft.SystemCenter.2007.WindowsServiceNotRunningState.ConsecutiveSamplesThreshold.MonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.WMIService.ServiceMonitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/@time$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Warning"/>
<OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<ServiceName>Winmgmt</ServiceName>
<IntervalSeconds>125</IntervalSeconds>
<Threshold>3</Threshold>
</Configuration>
</UnitMonitor>