<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.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>No Alert from SQL MP when clustered services go down</title><link>http://blogs.technet.com/jimmyharper/archive/2009/02/21/no-alert-from-sql-mp-when-clustered-services-go-down.aspx</link><description>I recently ran into the following issue: The SQL Server Management Pack has several monitors to monitor various SQL Services: However, on a SQL Cluster, if one of these services is taken offline: We don't get an alert from SQL (we do get a cluster alert</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: No Alert from SQL MP when clustered services go down</title><link>http://blogs.technet.com/jimmyharper/archive/2009/02/21/no-alert-from-sql-mp-when-clustered-services-go-down.aspx#3205707</link><pubDate>Mon, 23 Feb 2009 16:09:21 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3205707</guid><dc:creator>MVerbaas</dc:creator><description>&lt;p&gt;Jimmy,&lt;/p&gt;
&lt;p&gt;I tried this, as mentioned in the MP guide. It resulted in alerts from all systems where the SQL instance wasn't active.&lt;/p&gt;
&lt;p&gt;How did you mention to work around this?&lt;/p&gt;</description></item><item><title>re: No Alert from SQL MP when clustered services go down</title><link>http://blogs.technet.com/jimmyharper/archive/2009/02/21/no-alert-from-sql-mp-when-clustered-services-go-down.aspx#3205970</link><pubDate>Tue, 24 Feb 2009 10:09:58 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3205970</guid><dc:creator>jimmyharper</dc:creator><description>&lt;p&gt;Can you verify how the override is set? &amp;nbsp;Are you targeting the override at &amp;quot;SQL 2005 DB Engine&amp;quot; and selecting ONLY the SQL Clusters, and not the physical cluster nodes?&lt;/p&gt;
</description></item><item><title>re: No Alert from SQL MP when clustered services go down</title><link>http://blogs.technet.com/jimmyharper/archive/2009/02/21/no-alert-from-sql-mp-when-clustered-services-go-down.aspx#3228917</link><pubDate>Wed, 22 Apr 2009 02:41:43 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3228917</guid><dc:creator>Layne</dc:creator><description>&lt;p&gt;I also set this per the MP guide in our Dev environment, and got a lot of alerts where the service(s) are set to manual. &amp;nbsp;On page 15 of the MP Guide it says &amp;quot;If you are monitoring a SQL Server cluster, change the parameter, “Alert only if service startup type is automatic”, to false for the following monitors&amp;quot; (and it lists the same monitors Jimmy does). &amp;nbsp;It's not clear if you are supposed to override these ONLY for &amp;nbsp;SQL Clusters, physical cluster nodes, or all SQL servers. &amp;nbsp;&lt;/p&gt;
</description></item><item><title>re: No Alert from SQL MP when clustered services go down</title><link>http://blogs.technet.com/jimmyharper/archive/2009/02/21/no-alert-from-sql-mp-when-clustered-services-go-down.aspx#3229001</link><pubDate>Wed, 22 Apr 2009 07:11:54 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3229001</guid><dc:creator>jimmyharper</dc:creator><description>&lt;p&gt;You'll only want to target the SQL Cluster with this override....so it will only apply to the current active node of the cluster. &amp;nbsp;When setting the override, select &amp;quot;for a specific object of type: SQL 2005 DB Engine&amp;quot; and select your SQL cluster...or, create a group of the clustered DB Engines and target that group. &amp;nbsp;Again, the key is to target only the clustered DB Engines.&lt;/p&gt;
</description></item><item><title>No Alert from Manual Service get stopped</title><link>http://blogs.technet.com/jimmyharper/archive/2009/02/21/no-alert-from-sql-mp-when-clustered-services-go-down.aspx#3253395</link><pubDate>Thu, 11 Jun 2009 11:12:29 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3253395</guid><dc:creator>ravigupta1</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I tried your workaround and it worked fine. But i tried this on my own Custom Monitors it didn't worked. So i did some research and found the below soultion to raise an alert for a Manual service with custom monitrs:&lt;/p&gt;
&lt;p&gt;1.	Create your own service monitor.&lt;/p&gt;
&lt;p&gt;2.	Export the MP in XML from.&lt;/p&gt;
&lt;p&gt;3.	Open the MP in authoring Console.&lt;/p&gt;
&lt;p&gt;4.	Go to the properties of that monitor.&lt;/p&gt;
&lt;p&gt;5.	Go to the Configuration Tab.&lt;/p&gt;
&lt;p&gt;6.	Click Edit (if asked for editor select the c:\Windows\System32\Notepad.exe)&lt;/p&gt;
&lt;p&gt;7.	Add the line in Notepad before the last line (&amp;lt;/Configuration&amp;gt;) as below:&lt;/p&gt;
&lt;p&gt; &amp;lt;CheckStartupType&amp;gt;True&amp;lt;/CheckStartupType&amp;gt;&lt;/p&gt;
&lt;p&gt;8.	Save the settings and re-import the MP on RMS&lt;/p&gt;
&lt;p&gt;9.	Create an override for Manual Service Monitoring.&lt;/p&gt;
&lt;p&gt;10.	It starts working now :)&lt;/p&gt;
</description></item><item><title>re: No Alert from SQL MP when clustered services go down</title><link>http://blogs.technet.com/jimmyharper/archive/2009/02/21/no-alert-from-sql-mp-when-clustered-services-go-down.aspx#3279972</link><pubDate>Wed, 09 Sep 2009 10:27:25 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3279972</guid><dc:creator>Kenxl</dc:creator><description>&lt;p&gt;I have the same problem with SQL 2000 cluster.&lt;/p&gt;
&lt;p&gt;I override the value from blank to &amp;quot;false&amp;quot;, but the monitor still not work as excepted. Any suggestion?&lt;/p&gt;
</description></item><item><title>re: No Alert from SQL MP when clustered services go down</title><link>http://blogs.technet.com/jimmyharper/archive/2009/02/21/no-alert-from-sql-mp-when-clustered-services-go-down.aspx#3279974</link><pubDate>Wed, 09 Sep 2009 10:49:23 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3279974</guid><dc:creator>kenxl</dc:creator><description>&lt;p&gt;I have checked SQL 2000 MP and found: there is no such state &amp;quot;&amp;lt;CheckStartupType&amp;gt;true&amp;lt;/CheckStartupType&amp;gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;then how to fix this problem on SQL 2000 cluster?&lt;/p&gt;
</description></item><item><title>re: No Alert from SQL MP when clustered services go down</title><link>http://blogs.technet.com/jimmyharper/archive/2009/02/21/no-alert-from-sql-mp-when-clustered-services-go-down.aspx#3280096</link><pubDate>Wed, 09 Sep 2009 19:28:11 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3280096</guid><dc:creator>jimmyharper</dc:creator><description>&lt;p&gt;Interesting....just checked the SQL 2000 MP myself and CheckStartupType is not there. &amp;nbsp;So, for SQL 2000, you would need to do the following:&lt;/p&gt;
&lt;p&gt;1. Disable the current service monitor in the SQL 2000 MP&lt;/p&gt;
&lt;p&gt;2. Create a new service monitor in your custom MP.&lt;/p&gt;
&lt;p&gt;3. Modify the XML to include &amp;quot;&amp;lt;CheckStartupType&amp;gt;true&amp;lt;/CheckStartupType&amp;gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;I haven't verified this yet, but I believe that if you are using R2, the &amp;quot;&amp;lt;CheckStartupType&amp;gt;true&amp;lt;/CheckStartupType&amp;gt;&amp;quot; will already be in the XML when you create a service monitor (of course, that doesn't fix the current SQL 2000 MP).&lt;/p&gt;
</description></item><item><title>re: No Alert from SQL MP when clustered services go down</title><link>http://blogs.technet.com/jimmyharper/archive/2009/02/21/no-alert-from-sql-mp-when-clustered-services-go-down.aspx#3281036</link><pubDate>Tue, 15 Sep 2009 03:20:13 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3281036</guid><dc:creator>kenxl</dc:creator><description>&lt;p&gt;I will try it and let you know the result. Thanks!&lt;/p&gt;
</description></item><item><title>re: No Alert from SQL MP when clustered services go down</title><link>http://blogs.technet.com/jimmyharper/archive/2009/02/21/no-alert-from-sql-mp-when-clustered-services-go-down.aspx#3281064</link><pubDate>Tue, 15 Sep 2009 08:26:53 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3281064</guid><dc:creator>kenxl</dc:creator><description>&lt;p&gt;Jimmy, I am facing a new problem.&lt;/p&gt;
&lt;p&gt;I have created service monitor in my custom MP, but I am not sure which service name to input in the monitor. Since we have many SQL named instances on our server. &lt;/p&gt;
&lt;p&gt;I tried input &amp;quot;MSSQL$SQL2&amp;quot; into the service name field. On other SQL clusters, the service name is not &amp;quot;MSSQL$SQL2&amp;quot;, this will make the monitor turn to critical state. Since no &amp;quot;MSSQL$SQL2&amp;quot; service is found on the server. The State value is &amp;quot;8&amp;quot; which means &amp;quot;MOM_SERVICE_NOT_FOUND&amp;quot;.&lt;/p&gt;
&lt;p&gt;This is not acceptable to me. Any suggestion to resolve this problem?&lt;/p&gt;
</description></item><item><title>re: No Alert from SQL MP when clustered services go down</title><link>http://blogs.technet.com/jimmyharper/archive/2009/02/21/no-alert-from-sql-mp-when-clustered-services-go-down.aspx#3281065</link><pubDate>Tue, 15 Sep 2009 08:29:30 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3281065</guid><dc:creator>kenxl</dc:creator><description>&lt;p&gt;I have tried input &amp;quot;$Target/Property[Type=&amp;quot;SQL!Microsoft.SQLServer.DBEngine&amp;quot;]/ServiceName$&amp;quot; into the service name field as the SQL MP does. But got an error said &amp;quot;Unknown alias [SQL]&amp;quot;&lt;/p&gt;
&lt;p&gt;How to define such alias in my custom MP?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
</description></item><item><title>re: No Alert from SQL MP when clustered services go down</title><link>http://blogs.technet.com/jimmyharper/archive/2009/02/21/no-alert-from-sql-mp-when-clustered-services-go-down.aspx#3281069</link><pubDate>Tue, 15 Sep 2009 08:39:24 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3281069</guid><dc:creator>kenxl</dc:creator><description>&lt;p&gt;seems I need to define those alias in my custom MP.&lt;/p&gt;
&lt;p&gt;How to do it? &lt;/p&gt;
</description></item><item><title>re: No Alert from SQL MP when clustered services go down</title><link>http://blogs.technet.com/jimmyharper/archive/2009/02/21/no-alert-from-sql-mp-when-clustered-services-go-down.aspx#3281084</link><pubDate>Tue, 15 Sep 2009 10:36:15 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3281084</guid><dc:creator>jimmyharper</dc:creator><description>&lt;p&gt;Here's a quick way to do this:&lt;/p&gt;
&lt;p&gt;1. &amp;nbsp;When creating the service monitor, enter a bogus name for the service name and skip ahead to the &amp;quot;Configure Alerts&amp;quot; page. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. &amp;nbsp;Select the &amp;quot;Generate alerts&amp;quot; check box.&lt;/p&gt;
&lt;p&gt;3. &amp;nbsp;Click on the &amp;quot;...&amp;quot; button next to &amp;quot;Alert description&amp;quot;.&lt;/p&gt;
&lt;p&gt;4. &amp;nbsp;Select &amp;quot;Target - SQL Server Windows Service Name&amp;quot;.&lt;/p&gt;
&lt;p&gt;5. &amp;nbsp;This should enter the XPath for the Service name into the Alert Description field. &amp;nbsp;Copy this value and paste it into the Service Name field on the Service Details page.&lt;/p&gt;
</description></item><item><title>re: No Alert from SQL MP when clustered services go down</title><link>http://blogs.technet.com/jimmyharper/archive/2009/02/21/no-alert-from-sql-mp-when-clustered-services-go-down.aspx#3281300</link><pubDate>Wed, 16 Sep 2009 03:26:34 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3281300</guid><dc:creator>kenxl</dc:creator><description>&lt;p&gt;oh! really a good way!!&lt;/p&gt;
&lt;p&gt;Another small question:&lt;/p&gt;
&lt;p&gt;what is the difference between &amp;quot;SQL Server Windows Service Name&amp;quot; and &amp;quot;SQL Server Windows Service Name If Clustered Resource&amp;quot;?&lt;/p&gt;
&lt;p&gt;Thanks Again!!&lt;/p&gt;
</description></item></channel></rss>