<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Agent Alerts Management Pack updated</title><link>http://sqlblog.com/blogs/tibor_karaszi/archive/2011/09/15/agent-alerts-management-pack-updated.aspx</link><description>I have updated the Agent Alerts Management Pack, cleaned up the T-SQL code which creates the alerts. You can now just copy, paste and execute that code. Earlier, for some of the some of the alert definitions it just generated the calls to the query result</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>re: Agent Alerts Management Pack updated</title><link>http://sqlblog.com/blogs/tibor_karaszi/archive/2011/09/15/agent-alerts-management-pack-updated.aspx#38731</link><pubDate>Mon, 26 Sep 2011 12:50:03 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:38731</guid><dc:creator>Dirk Hondong</dc:creator><description>&lt;p&gt;Hello Tibor,&lt;/p&gt;
&lt;p&gt;first of all: thank you for sharing the script. It helped me a lot to set up SQL Agent Alerting in the past.&lt;/p&gt;
&lt;p&gt;I just noticed that you&amp;#180;ve updated the script.&lt;/p&gt;
&lt;p&gt;There&amp;#180;s one little typo in line 98 (double P at message_id int PRIMARY KEY ...)&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Dirk&lt;/p&gt;
</description></item><item><title>re: Agent Alerts Management Pack updated</title><link>http://sqlblog.com/blogs/tibor_karaszi/archive/2011/09/15/agent-alerts-management-pack-updated.aspx#38732</link><pubDate>Mon, 26 Sep 2011 13:10:22 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:38732</guid><dc:creator>TiborKaraszi</dc:creator><description>&lt;p&gt;Thanks Dirk! The tool I use make it HTML (with colors and stuff) sometimes add this extra P, for longer scripts. I've fixed it, thanks for catching it! :-)&lt;/p&gt;
</description></item><item><title>re: Agent Alerts Management Pack updated</title><link>http://sqlblog.com/blogs/tibor_karaszi/archive/2011/09/15/agent-alerts-management-pack-updated.aspx#39368</link><pubDate>Tue, 25 Oct 2011 13:00:35 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:39368</guid><dc:creator>Rob Pellicaan</dc:creator><description>&lt;p&gt;Hi Tibor,&lt;/p&gt;
&lt;p&gt;2 parts of your article are a bit confusing&lt;/p&gt;
&lt;p&gt;1) You say &amp;quot;...We used to be able to enter such &amp;quot;Non Alertable Errors&amp;quot; in the registry key NonAlertableErrors.... This functionality seems to have been removed, I'm afraid.&amp;quot; &lt;/p&gt;
&lt;p&gt;and later &lt;/p&gt;
&lt;p&gt;&amp;quot;I wish we could block out some, but NonAlertableError doesn't seem to work anymore...&amp;quot; &lt;/p&gt;
&lt;p&gt;I believe your blogged about the new solution to this issue: &lt;a rel="nofollow" target="_new" href="http://sqlblog.com/blogs/tibor_karaszi/archive/2009/05/14/sp-altermessage-is-back-in-business.aspx"&gt;http://sqlblog.com/blogs/tibor_karaszi/archive/2009/05/14/sp-altermessage-is-back-in-business.aspx&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;2) In your article it is not clearly stated that, although your specify alerts on severity 16, 17 and 18, not all messages of that severity are logged and therefore alerted. Is it an explicit choice on your behalf not to enable alerting on ALL messages of severity 17 and 18? (as MS recommends in &lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/library/ms164086.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms164086.aspx&lt;/a&gt;)&lt;/p&gt;
</description></item><item><title>re: Agent Alerts Management Pack updated</title><link>http://sqlblog.com/blogs/tibor_karaszi/archive/2011/09/15/agent-alerts-management-pack-updated.aspx#39378</link><pubDate>Tue, 25 Oct 2011 18:19:28 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:39378</guid><dc:creator>TiborKaraszi</dc:creator><description>&lt;p&gt;Rob,&lt;/p&gt;
&lt;p&gt;Consiguring whether an error is written to eventlog is one thing - this is what you can control using sp_altermessage. NonAlertableErrors is a different thing - it allow you to block *agent* from triggering on an alert already written to eventlog. Very handy if you capture all alerts with a specific severity level, but want Agent to *not* trigger from some selected in that severity level (but still have them in the EventLog).&lt;/p&gt;
&lt;p&gt;2) You mean reconfigure all alerts with 17 and 18 to go to eventlog? I never thought of it from that perspective. Instead I went through sys.messages, error by error and gave each error message some thoughts (notonly 17 and 18)...&lt;/p&gt;
</description></item><item><title>re: Agent Alerts Management Pack updated</title><link>http://sqlblog.com/blogs/tibor_karaszi/archive/2011/09/15/agent-alerts-management-pack-updated.aspx#39393</link><pubDate>Wed, 26 Oct 2011 11:12:12 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:39393</guid><dc:creator>Rob Pellicaan</dc:creator><description>&lt;p&gt;Hi Tibor,&lt;/p&gt;
&lt;p&gt;I see what you mean now; They are indeed two different things. It is indeed a pity that there is no distinction to be made between raising alerts and writing to the event log. I can even imagine situations where you want certain alerts to be raised without having to write them to the eventlog.&lt;/p&gt;
&lt;p&gt;Thank you for sharing the script!&lt;/p&gt;
</description></item><item><title>re: Agent Alerts Management Pack updated</title><link>http://sqlblog.com/blogs/tibor_karaszi/archive/2011/09/15/agent-alerts-management-pack-updated.aspx#44165</link><pubDate>Mon, 02 Jul 2012 07:39:37 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:44165</guid><dc:creator>Stefan K.</dc:creator><description>&lt;p&gt;Hi Tibor,&lt;/p&gt;
&lt;p&gt;please add Error 833. &lt;/p&gt;
&lt;p&gt;SQL Server has encountered %d occurrence(s) of I/O requests taking longer than %d seconds to complete on file [%ls] in database [%ls] (%d). &amp;nbsp;The OS file handle is 0x%p. &amp;nbsp;The offset of the latest long I/O is: %#016I64x&lt;/p&gt;
</description></item><item><title>re: Agent Alerts Management Pack updated</title><link>http://sqlblog.com/blogs/tibor_karaszi/archive/2011/09/15/agent-alerts-management-pack-updated.aspx#44186</link><pubDate>Tue, 03 Jul 2012 11:40:24 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:44186</guid><dc:creator>TiborKaraszi</dc:creator><description>&lt;p&gt;Done, 833 added. Thanks Stefan!&lt;/p&gt;
</description></item></channel></rss>