此监视器检查 SQL 数据库引擎服务的状态。
此监视器检查 SQL 数据库引擎 Windows 服务的状态。
此监视器的“未在运行”状态指示 SQL DB 数据库引擎服务配置为自动启动,但在特定的时间段中处于“已停止”状态。此时间段在“不可用时间”监视器属性中定义并且无法覆盖。该值默认为 900 秒(15 分钟)。如果 SQL 数据库引擎比该时间更快地转换回“正在运行”状态,则意味着该数据库引擎刚刚被重置。
如果此监视器在特定环境下导致过多的干扰,请增加“不可用时间”。而如果它导致过长的延迟,请减少“不可用时间”值。
通常,许多原因都可能导致 Windows 服务停止,包括:
管理员停止了服务
由于无法对用户帐户进行身份验证,服务无法启动。
服务遇到异常而停止。
服务未正确配置,导致服务无法启动。
可以使用以下链接尝试重新启动该服务:
启动 SQL 数据库引擎服务
您可以使用以下链接查看可能与此问题相关的 SQL Server™ 实例的其他警报:
查看 SQL Server 警报
Target | Microsoft.SQLServer.2005.DBEngine | ||
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.SQLServer.2005.CheckWinServiceStateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.SQLServer.2005.DBEngine.ServiceMonitor" Accessibility="Public" Enabled="true" Target="SQL2005Core!Microsoft.SQLServer.2005.DBEngine" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.SQLServer.2005.CheckWinServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SQLServer.2005.DBEngine.ServiceMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="SQL!Microsoft.SQLServer.ServerRole"]/InstanceName$</AlertParameter1>
<AlertParameter2>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Success" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="Error" MonitorTypeStateID="NotRunning" HealthState="Error"/>
</OperationalStates>
<Configuration>
<Frequency>60</Frequency>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>$Target/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/ServiceName$</ServiceName>
<CheckStartupType>true</CheckStartupType>
<UnavailableTime>900</UnavailableTime>
</Configuration>
</UnitMonitor>