서비스 팩 확인

Microsoft.SQLServer.2012.DBEngine.Configuration.ServicePackLevel (UnitMonitor)

규격 설정과 비교하여 데이터베이스 엔진의 서비스 팩 수준을 모니터링합니다.

Knowledge Base article:

요약

이 모니터는 이 SQL 인스턴스의 서비스 팩 버전을 확인합니다. 이 설정이 필요한 설정과 일치하지 않으면 경고나 오류가 발생합니다.

기본적으로 이 모니터는 서비스 팩 수준이 0이 아닐 때 경고를 발생시키도록 구성되어 있습니다. 이 설정은 필요할 때 재정의를 사용하여 변경할 수 있습니다.

원인

비정상 상태는 서비스 팩 수준이 필요한 수준(기본값 0)이 아닐 때 야기됩니다.

해결 방법

이 문제는 SQL Server에 최신 서비스 팩을 적용하여 해결할 수 있습니다.

또는 사용자 환경 내에서 현재 설정이 올바른 경우 다음을 수행합니다.

Element properties:

TargetMicrosoft.SQLServer.2012.DBEngine
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SQLServer.2012.ServicePackVersion
RemotableTrue
AccessibilityPublic
Alert Message
서비스 팩 확인
컴퓨터 {0}에 있는 SQL 인스턴스 {1}의 서비스 팩 수준이 최신 상태가 아닙니다.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SQLServer.2012.DBEngine.Configuration.ServicePackLevel" Accessibility="Public" Enabled="true" Target="SQL2012Core!Microsoft.SQLServer.2012.DBEngine" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Microsoft.SQLServer.2012.ServicePackVersion" ConfirmDelivery="false">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.SQLServer.2012.DBEngine.Configuration.ServicePackLevel.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</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="SPCompliant" MonitorTypeStateID="ValueGood" HealthState="Success"/>
<OperationalState ID="SPNotCompliant" MonitorTypeStateID="ValueBad" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<SQLServiceName>$Target/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/ServiceName$</SQLServiceName>
<IntervalSeconds>43200</IntervalSeconds>
<GoodValue>0</GoodValue>
</Configuration>
</UnitMonitor>