Need help configuring Long Running Query alert...

SQL Server performance monitoring and alerting

Moderators: eddie davis, priyasinha, Adam, chriskelly, Chris Lambrou, Chris Spencer

Need help configuring Long Running Query alert...

Postby kmonroe@psecu.com » Thu Dec 06, 2012 8:28 pm

Hey All...

I'm working through some alert configurations in SM and I have a SQL Server maintenance plan that is generating a lot of alerts for processor utilization, physical memory and long running queries on one of my servers.

This is a third party maintenance plan and we have accepted the run times of this process.

Right now I'm trying to configure SQL Monitor to ignore anything from this process but I'm unable to see the SQL process in the current alerts to add to the alert configuration to exclude.

Does anyone know how to exclude a SQL Server maintenance plan for at least the long running query alert?

Any help will be greatly appreciated.

Happy Holidays!!

Kevin
Kevin Monroe
SQL Server DBA
kmonroe@psecu.com
 
Posts: 5
Joined: Thu Dec 06, 2012 7:34 pm
Location: Pennsylvania, US

Postby chriskelly » Tue Dec 11, 2012 2:46 pm

In the Long-Running query alert you have the option to add Regular Expressions.

For example, to exclude any sql backup job, you can add the RegEx of "sqlbackup". This means that any job which uses the sqlbackup extended stored procedure in the script will not be alerted on.
Chris Kelly
Technical Support Engineer
chriskelly
 
Posts: 330
Joined: Mon Apr 19, 2010 1:44 pm
Location: Cambridge, UK

Postby kmonroe@psecu.com » Wed Dec 12, 2012 1:30 pm

Chris - Thank you for the reply. I've used regular expression exclusions for other alert configurations. My issue is that the process that is displayed when the maintenance plan runs is "SQL Server Management Studio". If I excluded this process any long running query that a user runs from SSMS would be excluded.

I think I'm going to have to use Regular Expression to exclude the TSQL that the plan executes.

Any other ideas?

Regards!

Kevin
Kevin Monroe
SQL Server DBA
kmonroe@psecu.com
 
Posts: 5
Joined: Thu Dec 06, 2012 7:34 pm
Location: Pennsylvania, US


Return to SQL Monitor 3

Who is online

Users browsing this forum: No registered users and 0 guests