Fail-safe operator for SQL Server agent

No failsafe operator

What is a fail-safe operator in SQL Server?

A fail-safe operator is a backup user who receives the alert if the designated operator cannot be reached.

It will be used when SQL Server Agent cannot communicate with the system tables in the MSDB database. The fail-safe operator will also receive notifications if you have scheduled operators to only receive notifications during certain periods and notification occurs outside of that range.

For example, if no operators are set to receive notifications on Sunday, the notification will automatically go to the fail-safe operator.

By the way, this check is a part of our SQL Server Health Check service.

How to identify the issue? How to fix it?

Microsoft’s best practices recommend designating a fail-safe operator. You can do using SQL Server Management Studio by fallow the steps below:

  1. In Object Explorer, click the plus sign to expand the server that contains the SQL Server Agent operator that you want to designate as a fail-safe.
  2. Right-click SQL Server Agent and select Properties.
  3. In the SQL Server Agent Properties, under Select a page, select Alert System.
  4. Under Fail-safe operator, select Enable fail-safe operator.
  5. In the Operator list, select the operator that you want to make a fail-safe.
  6. Select either any or all of the following checkboxes to specify how the operator will be notified: E-mail, Pager, or Net send.
  7. When finished, click OK.

Figure 1 – Fail-safe operator in SQL Server.

Notes:

1- You need to have Database Mail configured first;
2- You also need to have an operator configured.

More information

Microsoft – Configure a Fail-Safe Operator for Notifications

Mark Varnas

Mark Varnas

Hey I'm Mark, one of the guys behind Red9. I make a living performance tuning SQL Servers and making them more stable. I channel my SQL into our SQL Managed Services, SQL Consulting and our internal database products.

Leave a Reply

Your email address will not be published. Required fields are marked *