Conformidade do Service Pack

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

Monitora o nível do service pack do mecanismo de banco de dados em relação à configuração compatível

Knowledge Base article:

Resumo

Esse monitor verifica a versão do service pack da instância do SQL. Um alerta de aviso ou de erro será gerado se ele não corresponder à configuração necessária.

O monitor é predefinido para alertar quando o nível do service pack não está definido como 0. Isso pode ser alterado através de substituições conforme necessário.

Causas

Um estado não íntegro ocorre devido ao nível do service pack não estar no nível necessário (0 é o padrão)

Resoluções

Esse problema pode ser resolvido alterando a aplicação do service pack mais recente para o SQL Server

Como alternativa, se a configuração atual for válida no seu ambiente:

Parâmetros Substituíveis

Nome

Descrição

Valor padrão

Prioridade do Alerta

Define a Prioridade do Alerta.

Normal

Severidade do Alerta

Define a Severidade do Alerta.

MatchMonitorHealth

Habilitado

Habilita ou desabilita o fluxo de trabalho.

Sim

Gerar Alertas

Define se o fluxo de trabalho gera um Alerta.

Sim

Intervalo (segundos)

O intervalo de tempo recorrente em segundos no qual executa-se o fluxo de trabalho.

43.200

Nível mínimo de Service Pack para o SQL Server 2014

O nível de Service Pack mínimo de acordo com a política da empresa. Por padrão, ele é igual a 0 (inteiro).

0

Element properties:

TargetMicrosoft.SQLServer.2014.DBEngine
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SQLServer.2014.ServicePackVersion
RemotableTrue
AccessibilityPublic
Alert Message
MSSQL 2014: Conformidade do Service Pack
O nível do service pack da instância SQL {1} no computador {0} não está atualizado
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SQLServer.2014.DBEngine.Configuration.ServicePackLevel" Accessibility="Public" Enabled="true" Target="SQL2014Core!Microsoft.SQLServer.2014.DBEngine" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Microsoft.SQLServer.2014.ServicePackVersion" ConfirmDelivery="false">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.SQLServer.2014.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="SQL2014Core!Microsoft.SQLServer.2014.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="SQL2014Core!Microsoft.SQLServer.2014.DBEngine"]/ServiceName$</SQLServiceName>
<IntervalSeconds>43200</IntervalSeconds>
<GoodValue>2</GoodValue>
</Configuration>
</UnitMonitor>