Serviço Windows do SQL Server Agent

Microsoft.SQLServer.2005.Agent.ServiceMonitor (UnitMonitor)

Este monitor verifica o status do serviço SQL Agent desta instância do SQL Server.

Knowledge Base article:

Resumo

Este monitor verifica o status do serviço SQL Agent, e gera um alerta quando o serviço está definido para ser iniciado automaticamente e não está em execução.

Observe que um alerta não é gerado quando o serviço está desabilitado, e um estado de integridade será exibido.

Causas

Um serviço pode ser interrompido por muitos motivos:

Resoluções

Você pode tentar reiniciar o serviço Windows do SQL Agent usando o seguinte link:

Iniciar o serviço SQL Agent

Element properties:

TargetMicrosoft.SQLServer.2005.Agent
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Windows do SQL Server Agent Interrompido
O serviço Windows do SQL Server Agent para a instância {1} foi interrompido no computador {0}
RunAsDefault

Source Code:

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