Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Alerts

Author  Topic 

Wrangler
Starting Member

35 Posts

Posted - 2012-10-11 : 10:43:01
We have an alert set for Severity 17 to page the on call. There are some error numbers for Severity 17 we do not want to page the on call. Is there a way to check the error number first before the Notify operators is triggereed? I see you can select the error number in the Alert dialog box but we really want all errors to page except a couple. Or is there an easier way to handle this scenario?

Thank you
Darcy

robvolk
Most Valuable Yak

15732 Posts

Posted - 2012-10-11 : 10:57:19
The only option using SQL Agent I can think of is to have the alert start a job and the job code checks the error and determines whether to forward it. I don't know if the job can access that error though.

This sounds like something that event notifications would be better suited for.
Go to Top of Page
   

- Advertisement -