SQL Server Windows 서비스

Microsoft.SQLServer.2008.DBEngine.ServiceMonitor (UnitMonitor)

이 모니터는 SQL 데이터베이스 엔진 서비스의 상태를 확인합니다.

Knowledge Base article:

요약

이 모니터는 SQL 데이터베이스 엔진 Windows 서비스의 상태를 확인합니다.

원인

이 모니터의 상태가 "실행 중이 아님"인 경우 SQL DB 엔진 서비스가 자동으로 시작되도록 구성되어 있지만 특정 기간 동안 "중지됨" 상태였음을 나타냅니다. 이 기간은 "사용할 수 없는 시간" 모니터 속성에 정의되어 있으며 재정의할 수 있습니다. 기본적으로 이 값은 900초(15분)입니다. SQL DB 엔진이 이 시간보다 빠른 "실행 중" 상태로 다시 전환되는 경우, 이 값이 다시 설정된 것입니다.

특정 환경에서 이 모니터에 지나치게 노이즈가 많을 경우 "사용할 수 없는 시간"을 늘리십시오. 시간이 많이 지연될 경우에는 "사용할 수 없는 시간" 값을 줄이십시오.

Windows 서비스는 일반적으로 다음과 같은 여러 가지 이유로 중지될 수 있습니다.

해결 방법

다음 링크를 통해 서비스를 다시 시작할 수 있습니다.

SQL DB 엔진 서비스 시작

다음 링크를 통해 이 문제와 관련될 수 있는 이 SQL Server™ 인스턴스에 대한 다른 경고를 검토할 수 있습니다.

SQL Server 경고 보기

Element properties:

TargetMicrosoft.SQLServer.2008.DBEngine
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SQLServer.2008.CheckWinServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
SQL Server 서비스 중지됨
컴퓨터 {0}에서 DB 엔진 인스턴스 {1}에 대한 Windows 서비스가 중지되었습니다.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SQLServer.2008.DBEngine.ServiceMonitor" Accessibility="Public" Enabled="true" Target="SQL2008Core!Microsoft.SQLServer.2008.DBEngine" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.SQLServer.2008.CheckWinServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SQLServer.2008.DBEngine.ServiceMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="SQL!Microsoft.SQLServer.ServerRole"]/InstanceName$</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>