dbTalk Databases Forums  

SQL2005 - any way to reduce no of alerts?

microsoft.public.sqlserver.setup microsoft.public.sqlserver.setup


Discuss SQL2005 - any way to reduce no of alerts? in the microsoft.public.sqlserver.setup forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
abd08
 
Posts: n/a

Default SQL2005 - any way to reduce no of alerts? - 02-22-2010 , 02:42 AM






Hi all,

Very new to SQL, so forgive me if this is something obvious.

We have a single maintenance plan which has several sub-tasks. We are
trying to set things up so we get a single email alert if any of the
maintenance plan sub-tasks fail.

Right now we have done:
Management->Maintenance Plans->"maintenance plan"
Clicked on "reporting and logging" icon
Selected "send report to an email recipient"

I get emails every 2 hours when we run a transaction log backup, as
well as for each backup, shrink, re-index etc etc.

Can anyone suggest, or point me to a resource where we can learn how
to set things up in the way we want above? From searching, the only
thing we could find was doing some kind of customised scripting.

Thanks,
Raj

Reply With Quote
  #2  
Old   
Jeffrey Williams
 
Posts: n/a

Default Re: SQL2005 - any way to reduce no of alerts? - 02-22-2010 , 08:33 PM






Instead of using the reporting option to send notification, you can add a
notify operator task to the sub-plan. Connect each task to the notify
operator task and change it to execute on failure. This will show up as a
solid red arrow pointing to the notify operator task. Now, this is the
important part - right-click on one of those dependencies and select the
properties. In the properties window, at the bottom change the AND to an OR
condition. This will change the dependencies to a dashed red line.

Configure the notify operator task with the appropriate operator and
message.

When any task fails - you'll now get a notification for the failure.

Jeff

"abd08" <dejaonly (AT) hotmail (DOT) com> wrote

Quote:
Hi all,

Very new to SQL, so forgive me if this is something obvious.

We have a single maintenance plan which has several sub-tasks. We are
trying to set things up so we get a single email alert if any of the
maintenance plan sub-tasks fail.

Right now we have done:
Management->Maintenance Plans->"maintenance plan"
Clicked on "reporting and logging" icon
Selected "send report to an email recipient"

I get emails every 2 hours when we run a transaction log backup, as
well as for each backup, shrink, re-index etc etc.

Can anyone suggest, or point me to a resource where we can learn how
to set things up in the way we want above? From searching, the only
thing we could find was doing some kind of customised scripting.

Thanks,
Raj

Reply With Quote
  #3  
Old   
abd08
 
Posts: n/a

Default Re: SQL2005 - any way to reduce no of alerts? - 02-23-2010 , 07:53 AM



Hi Jeff,

Thank you for your thought out and detailed reply. After following
your instructions, everything is now setup perfectly!

Thanks again,
Rajiv


On Feb 23, 2:33*am, "Jeffrey Williams" <jeff.williams3... (AT) verizon (DOT) net>
wrote:
Quote:
Instead of using the reporting option to send notification, you can add a
notify operator task to the sub-plan. *Connect each task to the notify
operator task and change it to execute on failure. *This will show up as a
solid red arrow pointing to the notify operator task. *Now, this is the
important part - right-click on one of those dependencies and select the
properties. *In the properties window, at the bottom change the AND to an OR
condition. *This will change the dependencies to a dashed red line.

Configure the notify operator task with the appropriate operator and
message.

When any task fails - you'll now get a notification for the failure.

Jeff

"abd08" <dejao... (AT) hotmail (DOT) com> wrote in message

news:729c5c0e-ce86-434a-925c-8aaf04285de5 (AT) 15g2000yqa (DOT) googlegroups.com...

Hi all,

Very new to SQL, so forgive me if this is something obvious.

We have a single maintenance plan which has several sub-tasks. We are
trying to set things up so we get a single email alert if any of the
maintenance plan sub-tasks fail.

Right now we have done:
Management->Maintenance Plans->"maintenance plan"
Clicked on "reporting and logging" icon
Selected "send report to an email recipient"

I get emails every 2 hours when we run a transaction log backup, as
well as for each backup, shrink, re-index etc etc.

Can anyone suggest, or point me to a resource where we can learn how
to set things up in the way we want above? From searching, the only
thing we could find was doing some kind of customised scripting.

Thanks,
Raj

Reply With Quote
  #4  
Old   
Jeffrey Williams
 
Posts: n/a

Default Re: SQL2005 - any way to reduce no of alerts? - 02-23-2010 , 08:40 PM



Great - glad to hear it worked for you.

"abd08" <dejaonly (AT) hotmail (DOT) com> wrote

Quote:
Hi Jeff,

Thank you for your thought out and detailed reply. After following
your instructions, everything is now setup perfectly!

Thanks again,
Rajiv


On Feb 23, 2:33 am, "Jeffrey Williams" <jeff.williams3... (AT) verizon (DOT) net
wrote:
Instead of using the reporting option to send notification, you can add a
notify operator task to the sub-plan. Connect each task to the notify
operator task and change it to execute on failure. This will show up as
a
solid red arrow pointing to the notify operator task. Now, this is the
important part - right-click on one of those dependencies and select the
properties. In the properties window, at the bottom change the AND to an
OR
condition. This will change the dependencies to a dashed red line.

Configure the notify operator task with the appropriate operator and
message.

When any task fails - you'll now get a notification for the failure.

Jeff

"abd08" <dejao... (AT) hotmail (DOT) com> wrote in message

news:729c5c0e-ce86-434a-925c-8aaf04285de5 (AT) 15g2000yqa (DOT) googlegroups.com...

Hi all,

Very new to SQL, so forgive me if this is something obvious.

We have a single maintenance plan which has several sub-tasks. We are
trying to set things up so we get a single email alert if any of the
maintenance plan sub-tasks fail.

Right now we have done:
Management->Maintenance Plans->"maintenance plan"
Clicked on "reporting and logging" icon
Selected "send report to an email recipient"

I get emails every 2 hours when we run a transaction log backup, as
well as for each backup, shrink, re-index etc etc.

Can anyone suggest, or point me to a resource where we can learn how
to set things up in the way we want above? From searching, the only
thing we could find was doing some kind of customised scripting.

Thanks,
Raj

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.