Active Directory Web Services 服务运行状况

Microsoft.Windows.Server.2016.AD.AvailabilityEssentialService.ADWS.ServiceCheck (UnitMonitor)

监视 Windows 服务:Active Directory Web Services 的运行状况

Knowledge Base article:

摘要

监视 Active Directory Web Services 服务是否正在此域控制器上运行。此服务为此服务器上本地运行的目录服务实例提供 Web 服务接口。

如果该服务已停止,则客户端应用程序(例如 Active Directory PowerShell)将无法访问或管理此服务器上本地运行的任何目录服务实例。

原因

Active Directory Web Services 服务未运行。

解决方案

验证 Active Directory Web Services 服务是否已设置为自动启动并且正在运行。

检查 Active Directory Web Services 事件日志,以确保该服务在正常运行。

Element properties:

TargetMicrosoft.Windows.Server.2016.AD.DomainControllerRole
Parent MonitorMicrosoft.Windows.Server.2016.AD.AvailabilityEssentialServices.AggregateMonitor
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableFalse
AccessibilityPublic
Alert Message
Active Directory Web Services 未运行
Active Directory Web Services 服务未运行。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.2016.AD.AvailabilityEssentialService.ADWS.ServiceCheck" Accessibility="Public" Enabled="true" Target="AD2016Core!Microsoft.Windows.Server.2016.AD.DomainControllerRole" ParentMonitorID="Microsoft.Windows.Server.2016.AD.AvailabilityEssentialServices.AggregateMonitor" Remotable="false" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>Custom</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.2016.AD.AvailabilityEssentialService.ADWS.ServiceCheck.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Warning" MonitorTypeStateID="NotRunning" HealthState="Warning"/>
<OperationalState ID="Success" MonitorTypeStateID="Running" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>.</ComputerName>
<ServiceName>adws</ServiceName>
<CheckStartupType>true</CheckStartupType>
</Configuration>
</UnitMonitor>