Monitors the status of the Key Management Service and generates an alert when the service is not running.
A service can stop for many reasons, including:
The service was stopped by an administrator
The service was prevented from starting because the user account could not be authenticated.
The service encountered an exception that stopped the service.
The service was improperly configured, which prevented it from starting
You can attempt to restart the service
Target | Microsoft.KMS.ServerRole | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | AvailabilityHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.KMS.ServerRole.Service.MonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.KMS.ServerRole.Service.Monitor" Accessibility="Public" Enabled="true" Target="Microsoft.KMS.ServerRole" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.KMS.ServerRole.Service.MonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.KMS.ServerRole.Service.Monitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name='Name']$</AlertParameter1>
<AlertParameter2>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<ComputerName/>
<ServiceName>$Target/Property[Type="Microsoft.KMS.ServerRole"]/ImageName$</ServiceName>
<IntervalSeconds>60</IntervalSeconds>
<CheckStartupType>true</CheckStartupType>
<Samples>5</Samples>
</Configuration>
</UnitMonitor>