Server 服务:Server 服务状态

Microsoft.Windows.FileServices.Service.SMB.6.3.Service (UnitMonitor)

此对象可监视 Server 服务的状态,并在该服务不运行时生成警报。

Knowledge Base article:

摘要

此对象可监视 Server 服务的状态,并在该服务不运行时生成警报。

原因

Server 服务不处于“正在运行”状态的原因可能有:

如果运行状况状态未知,则说明对此对象的监视尚未开始。

解决方案

通过以下其中一个过程重新启动 Server 服务。

在 Operations Console 中重新启动服务

在 Operations Console 中,选择对应的服务器,然后单击“启动 Server 服务”任务。

在受影响的服务器上重新启动服务

1. 在受影响的服务器上的提升命令提示符处,键入 net stop server,然后按 ENTER。如果系统提示您确认操作,键入 y

2. 键入 net start server,然后按 ENTER。

注意 您可能必须重新启动随 Server 服务一起停止的其他依赖服务。

验证

要确认 Server 服务是否正在运行,请在 Operations Console 中使用以下过程:

单击“查询服务器服务状态”任务。

该服务启动之后,此监视器将自动重置为正常状态。

Element properties:

TargetMicrosoft.Windows.FileServices.Service.SMB.6.3
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Server 服务:Server 服务未运行
Server 服务未运行。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.FileServices.Service.SMB.6.3.Service" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.FileServices.Service.SMB.6.3" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.FileServices.Service.SMB.6.3.Service.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>LanmanServer</ServiceName>
<CheckStartupType>false</CheckStartupType>
</Configuration>
</UnitMonitor>