仮想マシン管理サービスの状態の監視。
このモニターは、Hyper-V を実行しているサーバー上の仮想マシン管理サービスのヘルス状態を追跡します。サービスが起動し、実行中の場合、モニターの状態は "正常" です。サービスが実行されていない場合、モニターの状態は "重大" です。
"重大" 状態は、仮想マシン管理サービスが実行されていないときに発生します。このモニターが異常状態になると、アラートが発生します。
モニターが異常状態になると、自動復元が実行されます。復元処理では、仮想マシン管理サービスの再起動が試行されます。サービスが再起動されると、モニターは "正常" 状態に戻り、アラートは自動解決されます。復元でサービスを再起動できない場合、モニターは "重大" 状態、アラートも未解決のままです。
Target | Microsoft.Windows.HyperV.2016.ServerRole | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | StateCollection | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.CheckNTServiceStateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.Windows.HyperV.2016.Services.VirtualMachineManagementServiceMonitor" Accessibility="Public" Enabled="onEssentialMonitoring" Target="HVDisc!Microsoft.Windows.HyperV.2016.ServerRole" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.HyperV.2016.Services.VirtualMachineManagementServiceMonitor.Alert">
<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="ServiceHealthy" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="ServiceNotHealthy" MonitorTypeStateID="NotRunning" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>vmms</ServiceName>
<CheckStartupType>false</CheckStartupType>
</Configuration>
</UnitMonitor>