서비스 팩 확인

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

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

Knowledge Base article:

요약

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

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

원인

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

해결 방법

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

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

재정의 가능한 매개 변수

이름

설명

기본값

알림 우선 순위

알림 우선 순위를 정의합니다.

보통

알림 심각도

알림 심각도를 정의합니다.

MatchMonitorHealth

사용

워크플로를 사용하거나 사용하지 않도록 설정합니다.

알림 생성

워크플로가 알림을 생성하는지를 정의합니다.

간격(초)

워크플로를 실행하는 반복 시간 간격(초)입니다.

43200

SQL Server 2008용 최소 서비스 팩 수준

회사 정책에 따른 최소 서비스 팩 수준입니다. 기본값은 0(정수)입니다.

1

SQL Server 2008 R2용 최소 서비스 팩 수준

회사 정책에 따른 최소 서비스 팩 수준입니다. 기본값은 0(정수)입니다.

0

Element properties:

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

Source Code:

<UnitMonitor ID="Microsoft.SQLServer.2008.DBEngine.Configuration.ServicePackLevel" Accessibility="Public" Enabled="true" Target="SQL2008Core!Microsoft.SQLServer.2008.DBEngine" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Microsoft.SQLServer.2008.ServicePackVersion" ConfirmDelivery="false">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.SQLServer.2008.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>4</GoodValue>
<GoodValueR2>3</GoodValueR2>
</Configuration>
</UnitMonitor>