Služba WMI (Windows Management Instrumentation)

Microsoft.SystemCenter.WMIService.ServiceMonitor (UnitMonitor)

Toto monitorování zkontroluje stav služby WMI (Windows Management Instrumentation).

Knowledge Base article:

Souhrn

Toto monitorování shrnuje stav z monitorování dostupnosti služby WMI, která u agentů zjišťuje stavy není v pořádku.

Projděte monitorování jednotky průzkumníka stavů, která jsou ve stavu upozornění nebo v kritickém stavu, abyste viděli informace o změně stavu a specifické znalosti, které vám pomohou vyřešit problémy.

Příčiny

Toto monitorování kontroluje stav služby WMI pro ujištění, že je ve stavu spuštěna. Pokud tomu tak při více kontrolách není, je vyvolána výstraha.

Řešení

Chcete-li tento problém vyřešit, musíte v systému nastavit stav služby na spuštěna. Vyřešte problém pomocí těchto kroků:

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
Služba WMI není spuštěna.
Služba WMI (Windows Management Instrumentation) není spuštěna ani po několika kontrolách. Mnoho sad Management Pack obsahuje pravidla, monitorování a zjišťování, která vyžadují přístup ke službě WMI. Pokud tedy služba není spuštěna, dané pracovní postupy nebudou moci být dokončeny.
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>