Este monitor comprueba el estado del servicio Agente SQL para esta instancia de SQL Server.
Este monitor comprueba el estado del servicio de Agente SQL y genera una alerta cuando el servicio se establece para iniciarse automáticamente y no se está ejecutando.
Tenga en cuenta que no se generará ninguna alerta si el servicio está deshabilitado: se mostrará un estado adecuado.
Un servicio se puede detener por diversos motivos, entre los que se incluyen:
Un administrador detuvo el servicio.
El servicio no se pudo iniciar porque la cuenta de usuario no se pudo autenticar.
El servicio detectó una excepción que provocó su detención.
El servicio no estaba configurado correctamente, lo que impidió su inicio.
Otro servicio (p. ej., SQL Server) del que depende este servicio se ha detenido.
Puede intentar reiniciar el servicio de Windows para el Agente SQL con el siguiente vínculo:
Iniciar el servicio Agente SQL
Nombre | Descripción | Valor predeterminado |
Alertar solo si el tipo de inicio del servicio es automático | Solo se puede establecer en 'true' o 'false'. Si se establece en 'false', las alertas se desencadenarán independientemente del tipo de inicio establecido. El valor predeterminado es 'true'. | 1 |
Habilitado |
| Sí |
Genera alertas |
| Sí |
Target | Microsoft.SQLServer.2014.Agent | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | AvailabilityHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.CheckNTServiceStateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.SQLServer.2014.Agent.ServiceMonitor" Accessibility="Public" Enabled="true" Target="SQL2014Core!Microsoft.SQLServer.2014.Agent" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SQLServer.2014.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="SQL2014Core!Microsoft.SQLServer.2014.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="SQL2014Core!Microsoft.SQLServer.2014.Agent"]/ServiceName$</ServiceName>
<CheckStartupType>true</CheckStartupType>
</Configuration>
</UnitMonitor>