Fail-safe operator for SQL Server agent

Category: Reliability

Item:  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.

 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

I love making performance tuning SQL Servers fast and making them more stable. And I channel that obsession into our SQL Managed Services and new content here. When I'm not writing about SQL, I spend time outside hiking, skiing, mountain biking, or trying a new recipe.

Leave a Reply

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