The SQL Server Agent service and the SQL Server service monitor each other. After both services have started, if one service fails, the other service restarts the failed service.
Auto-restart should not be enabled for the SQL Server service or the SQL Server Agent service on failover cluster instances.
SQL Server Agent can restart the local instance of SQL Server if SQL Server has terminated for reasons other than a typical shutdown. Automatic restart is enabled by default. Because SQL Server Agent restarts the local instance of SQL Server when SQL Server Agent detects an abnormal shutdown, an alert can be set on this event.
By default, the SQL Server Agent service logs in to SQL Server every 20 seconds to fetch performance counters. This login creates an entry in the Microsoft Windows event log. To change this behavior, stop the SQL Server Agent service, or change the server login auditing configuration to write only failed logins to the event log.
To modify the login auditing configuration
To set job execution shutdown
To automatically start SQL Server Agent
To send SQL Server Agent error messages
To view the SQL Server Agent error log
To rename the SQL Server Agent error log
To list information about the run-time state of SQL Server Agent jobs