<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>www.jayntguru.com &#187; iis</title>
	<atom:link href="http://jayntguru.com/wordpress/archives/category/iis/feed" rel="self" type="application/rss+xml" />
	<link>http://jayntguru.com/wordpress</link>
	<description>jay&#039;s website</description>
	<lastBuildDate>Wed, 20 Jul 2011 20:02:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>strange .net runtime error and the fix</title>
		<link>http://jayntguru.com/wordpress/archives/328</link>
		<comments>http://jayntguru.com/wordpress/archives/328#comments</comments>
		<pubDate>Wed, 20 Jul 2011 20:02:23 +0000</pubDate>
		<dc:creator>jayntguru</dc:creator>
				<category><![CDATA[computer geek stuff]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[scom]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[cocreate]]></category>
		<category><![CDATA[profiler]]></category>

		<guid isPermaLink="false">http://jayntguru.com/wordpress/archives/328</guid>
		<description><![CDATA[We had done a POC for Foglight by Quest back in March and ended up not purchasing the product because we already had SCOM in place. After the uninstall and ever since, we have had some issues. errors logged whenever an app pool starts/restarts containing this description .NET Runtime version 2.0.50727.3603 &#8211; Failed to CoCreate [...]]]></description>
			<content:encoded><![CDATA[<p>We had done a POC for Foglight by Quest back in March and ended up not purchasing the product because we already had SCOM in place. After the uninstall and ever since, we have had some issues.</p>
<ul>
<li>errors logged whenever an app pool starts/restarts containing this description</li>
</ul>
<ul>
<li>.NET Runtime version 2.0.50727.3603 &#8211; <font style="background-color: #ffff00">Failed to CoCreate profiler.</font></li>
</ul>
<li>.net health monitoring would log an app pool start but not log an app pool stop or shutdown</li>
<li>I had the suspicion that this was related to random app pool restarts during the day on one of our webservices</li>
<li>other debuggers would not attach to an app pool and work (like avicode that comes with SCOM)</li>
<p>I looked for how to fix this since March, of course I was too stubborn to call Quest, so that’s my fault. Much googling didn’t resolve much so when I finally did figure this out, I wanted to post what I found. It turns out that debugging is set in an environment variable. Seems like it’s a session variable because it’s set in the parameters of a service, so that way it runs with the service in the user context of the service. This is something I had never run across before so it seemed kinda odd.</p>
<p>In the end we had to remove the reg key “Environment” (and the contents of the key) from the two locations. This key is what sets the debugger to enabled and tells it which debugger to use.</p>
<ul>   </ul>
<ul>
<li>[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC]</li>
<li>[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\IISADMIN]</li>
</ul>
<p>Once these have been deleted, all you have to do is IISRESET the server and the error is gone and random app pool restarts have ceased. As of this writing I have not tried to reinstall the SCOM AVIcode to the webservice, but I’m certain that it will work now.</p>
]]></content:encoded>
			<wfw:commentRss>http://jayntguru.com/wordpress/archives/328/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AV exclusions</title>
		<link>http://jayntguru.com/wordpress/archives/327</link>
		<comments>http://jayntguru.com/wordpress/archives/327#comments</comments>
		<pubDate>Wed, 25 May 2011 19:19:29 +0000</pubDate>
		<dc:creator>jayntguru</dc:creator>
				<category><![CDATA[computer geek stuff]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[scom]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[w7]]></category>
		<category><![CDATA[ad]]></category>
		<category><![CDATA[av exclusions]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[exchange]]></category>

		<guid isPermaLink="false">http://jayntguru.com/wordpress/archives/327</guid>
		<description><![CDATA[This comes up often and I can never find everything in one place. This is a good post with a bunch of info and links.]]></description>
			<content:encoded><![CDATA[<p>This comes up often and I can never find everything in one place. <a href="http://ec2-184-72-148-10.compute-1.amazonaws.com/wordpress/" target="_blank">This is a good post with a bunch of info and links.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jayntguru.com/wordpress/archives/327/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL query to tell if SQL logins are using Kerberos or NTLM</title>
		<link>http://jayntguru.com/wordpress/archives/326</link>
		<comments>http://jayntguru.com/wordpress/archives/326#comments</comments>
		<pubDate>Thu, 17 Mar 2011 20:49:15 +0000</pubDate>
		<dc:creator>jayntguru</dc:creator>
				<category><![CDATA[computer geek stuff]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[scom]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[biztalk]]></category>
		<category><![CDATA[kerberos]]></category>
		<category><![CDATA[ntlm]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://jayntguru.com/wordpress/archives/326</guid>
		<description><![CDATA[Not explanation needed here, if you know what you are looking for, this is it. SELECT&#160; s.session_id , c.connect_time , s.login_time , s.login_name , c.protocol_type , c.auth_scheme , s.HOST_NAME , s.program_name FROM sys.dm_exec_sessions s JOIN sys.dm_exec_connections c ON s.session_id = c.session_id]]></description>
			<content:encoded><![CDATA[<p>Not explanation needed here, if you know what you are looking for, this is it.   </p>
<blockquote><p><code>SELECT&#160; <br />s.session_id         <br />, c.connect_time         <br />, s.login_time         <br />, s.login_name         <br />, c.protocol_type         <br />, c.auth_scheme         <br />, s.HOST_NAME         <br />, s.program_name         <br />FROM sys.dm_exec_sessions s         <br />JOIN sys.dm_exec_connections c         <br />ON s.session_id = c.session_id</code></p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://jayntguru.com/wordpress/archives/326/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TFS 2008 to TFS 2010 Install notes</title>
		<link>http://jayntguru.com/wordpress/archives/325</link>
		<comments>http://jayntguru.com/wordpress/archives/325#comments</comments>
		<pubDate>Sun, 13 Mar 2011 17:10:43 +0000</pubDate>
		<dc:creator>jayntguru</dc:creator>
				<category><![CDATA[computer geek stuff]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[tfs 2008]]></category>
		<category><![CDATA[tfs 2010]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://jayntguru.com/wordpress/archives/325</guid>
		<description><![CDATA[Recently (about 5 minutes ago) I did an upgrade in production of our Team Foundation 2008 server to Team Foundation 2010. I had a dry run that worked well but of course on the real thing I had a couple of issues. Here are some notes. TFS requires sysadmin on the new SQL server, it [...]]]></description>
			<content:encoded><![CDATA[<p>Recently (about 5 minutes ago) I did an upgrade in production of our Team Foundation 2008 server to Team Foundation 2010. I had a dry run that worked well but of course on the real thing I had a couple of issues. Here are some notes.</p>
<ul>
<li>TFS requires sysadmin on the new SQL server, it wants to create/drop databases like crazy</li>
<li>TFS previous to 2010 required sharepoint to be installed, with 2010 it’s just an option, you can add it later.</li>
<li>To clean up from an earlier install (failed, test run, etc.) you can run this command (see the gotcha at the end!)</li>
</ul>
<ul>     </ul>
<ul>
<p>C:\Program Files\Microsoft Team Foundation Server 2010\Tools&gt;tfsconfig setup /un         <br />install:all</p>
</ul>
<li>The steps are</li>
<ol>
<li>Install TFS 2010</li>
<li>Configure TFS 2010 (this creates databases)</li>
<li>Backup your old TFS databases (all of them)</li>
<li>Restore your old TFS databases to your new sql instance</li>
<li>Run the TFS import command from command line. It should look like this:</li>
</ol>
<ol>       </ol>
<ol>
<p>C:\Program Files\Microsoft Team Foundation Server 2010\Tools&gt;Tfsconfig import /s           <br />qlinstance:server\instance /collectionName:imported /confirmed</p>
</ol>
<li>Once you do this, you should be good to go</li>
<li>We had an error when trying to install on production because it kept finding information from the previous one. Apparently the tsconfig /setup uninstall:all doesn’t really uninstall all! There were extended database properties left over that we had to delete manually. Until we did this, we received this error:</li>
<ul>     </ul>
<ul>
<li>TF30046: The instance information does not match.</li>
</ul>
<li>There are very useful logfiles located in:</li>
<ul>     </ul>
<ul>
<li>C:\ProgramData\Microsoft\Team Foundation\Server Configuration\Logs</li>
</ul>
<li>In order to get visual studio 2005 to connect to TFS 2010, you have to install in this order:</li>
<ol>
<li>Visual studio 2005</li>
<li>Tfs plugin for vs 2005</li>
<li>Vs 2005 sp1</li>
<li>Vs 2005 vista compatibility update (run windows update)</li>
<li>Vs 2005 TFS 2010 update</li>
<li>Then you enter the full URL in the server name field: <a href="http://tfs2010_server:8080/tfs">http://tfs2010_server:8080/tfs</a></li>
<li>If it tells you that you can’t put in the “/” and such, it means you installed in the wrong order.</li>
</ol>
<li>In order to get visual studio 2008 to connect to TFS 2010, you have to:</li>
<ol>
<li>Install vs 2008</li>
<li>Install vs 2008 sp1</li>
<li>Install vs 2008 TFS compatibility pack</li>
<li>Enter servername as: <a href="http://tfs2010_server:8080/tfs">http://tfs2010_server:8080/tfs</a></li>
</ol>
<li>That’s all I have for now. After all the devs come in and hit this tomorrow I may have some more updates (but I hope not!).</li>
<p>&#160;</p>
<p>&#160;</p>
<ul>
<ol>     </ol>
<ol>       </ol>
<ol>                </ol>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jayntguru.com/wordpress/archives/325/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MSMQ MP for SCOM&#8211;has issues..</title>
		<link>http://jayntguru.com/wordpress/archives/324</link>
		<comments>http://jayntguru.com/wordpress/archives/324#comments</comments>
		<pubDate>Mon, 21 Feb 2011 19:19:06 +0000</pubDate>
		<dc:creator>jayntguru</dc:creator>
				<category><![CDATA[annoyances]]></category>
		<category><![CDATA[computer geek stuff]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[scom]]></category>
		<category><![CDATA[alert]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[msmq]]></category>
		<category><![CDATA[system center operations manager]]></category>

		<guid isPermaLink="false">http://jayntguru.com/wordpress/archives/324</guid>
		<description><![CDATA[This is just an example of the kind of stuff I find in the MSMQ MP for scom. Is this alert about the SIZE of the messages or the NUMBER of messages?]]></description>
			<content:encoded><![CDATA[<p>This is just an example of the kind of stuff I find in the MSMQ MP for scom. Is this alert about the SIZE of the messages or the NUMBER of messages?</p>
<p><a href="http://jayntguru.com/wordpress/wp-content/uploads/2011/02/image.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://jayntguru.com/wordpress/wp-content/uploads/2011/02/image_thumb.png" width="880" height="369" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://jayntguru.com/wordpress/archives/324/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dashboarding using the SCCM Dashboard solution accelerator example</title>
		<link>http://jayntguru.com/wordpress/archives/319</link>
		<comments>http://jayntguru.com/wordpress/archives/319#comments</comments>
		<pubDate>Wed, 05 Jan 2011 22:07:25 +0000</pubDate>
		<dc:creator>jayntguru</dc:creator>
				<category><![CDATA[computer geek stuff]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[scom]]></category>
		<category><![CDATA[dashboards]]></category>
		<category><![CDATA[sccm]]></category>
		<category><![CDATA[sld]]></category>
		<category><![CDATA[solution accelerator]]></category>

		<guid isPermaLink="false">http://jayntguru.com/wordpress/archives/319</guid>
		<description><![CDATA[I will turn this into a more useful blog post when I have a few minutes but for now it is just a collection of links about dashboarding using the System Center Configuration Manager Solution Accelerator. The short story is that this runs on top of Sharepoint 3.0, which is free, meaning you can run [...]]]></description>
			<content:encoded><![CDATA[<p>I will turn this into a more useful blog post when I have a few minutes but for now it is just a collection of links about dashboarding using the System Center Configuration Manager Solution Accelerator. The short story is that this runs on top of Sharepoint 3.0, which is free, meaning you can run this for free. It’s not specific to SCCM so you can dashboard any sql data you want! Cool!</p>
<p><a title="http://technet.microsoft.com/en-us/library/ff369719.aspx" href="http://technet.microsoft.com/en-us/library/ff369719.aspx">http://technet.microsoft.com/en-us/library/ff369719.aspx</a></p>
<p><a title="http://systemscentre.blogspot.com/search/label/Dashboard" href="http://systemscentre.blogspot.com/search/label/Dashboard">http://systemscentre.blogspot.com/search/label/Dashboard</a></p>
<p><a title="http://garyhay.blogspot.com/2010/07/sccm-dashboard-queries-1.html" href="http://garyhay.blogspot.com/2010/07/sccm-dashboard-queries-1.html">http://garyhay.blogspot.com/2010/07/sccm-dashboard-queries-1.html</a></p>
<p><a href="http://blogs.msdn.com/b/shitanshu/archive/2010/04/08/part-1-how-microsoft-it-using-configuration-manager-dashboard.aspx">http://blogs.msdn.com/b/shitanshu/archive/2010/04/08/part-1-how-microsoft-it-using-configuration-manager-dashboard.aspx</a></p>
<p><a href="http://blogs.msdn.com/b/shitanshu/archive/2010/04/11/part-2-using-configuration-manager-dashboard-for-software-update-deployment-readiness-patch-tuesday-checklist.aspx">http://blogs.msdn.com/b/shitanshu/archive/2010/04/11/part-2-using-configuration-manager-dashboard-for-software-update-deployment-readiness-patch-tuesday-checklist.aspx</a></p>
<p><a href="http://blogs.msdn.com/b/shitanshu/archive/2010/05/02/part-3-sql-queries-used-for-creating-custom-configuration-manager-dashboard-in-microsoft-it.aspx">http://blogs.msdn.com/b/shitanshu/archive/2010/05/02/part-3-sql-queries-used-for-creating-custom-configuration-manager-dashboard-in-microsoft-it.aspx</a></p>
<p><a href="http://blogs.msdn.com/b/shitanshu/archive/2010/10/09/part-4-sql-queries-for-creating-configuration-manager-client-health-and-problem-management-dashboard.aspx">http://blogs.msdn.com/b/shitanshu/archive/2010/10/09/part-4-sql-queries-for-creating-configuration-manager-client-health-and-problem-management-dashboard.aspx</a></p>
<p><a title="http://64.4.11.252/en-us/edge/system-center-configuration-manager-2007-dashboard-part-2-configuration.aspx?query=1" href="http://64.4.11.252/en-us/edge/system-center-configuration-manager-2007-dashboard-part-2-configuration.aspx?query=1">http://64.4.11.252/en-us/edge/system-center-configuration-manager-2007-dashboard-part-2-configuration.aspx?query=1</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jayntguru.com/wordpress/archives/319/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>urlscan issue</title>
		<link>http://jayntguru.com/wordpress/archives/305</link>
		<comments>http://jayntguru.com/wordpress/archives/305#comments</comments>
		<pubDate>Fri, 05 Nov 2010 22:36:30 +0000</pubDate>
		<dc:creator>jayntguru</dc:creator>
				<category><![CDATA[computer geek stuff]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[block]]></category>
		<category><![CDATA[ddos]]></category>
		<category><![CDATA[urlscan]]></category>
		<category><![CDATA[user agent]]></category>

		<guid isPermaLink="false">http://jayntguru.com/wordpress/archives/305</guid>
		<description><![CDATA[I have the following URLscan value: &#160; RuleList=DenyUserAgent &#160; [DenyUserAgent] DenyDataSection=AgentStrings ScanHeaders=User-Agent [AgentStrings] Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1 Opera/9.02 (Windows NT 5.1; U; ru) In the logfiles I am seeing where it is blocking non russian mozillas, like this: 2010-11-05 21:49:23 76.94.140.86 896362 GET /programs/images/t8.jpg Rejected rule+&#8217;DenyUserAgent&#8217;+triggered User-Agent: mozilla/5.0+(windows;+u;+windows+nt+6.1;+en-us;+rv:1.9.2.3)+gecko/20100401+firefox/3.6.3 mozilla/5.0+(windows [...]]]></description>
			<content:encoded><![CDATA[<p>I have the following URLscan value:</p>
<p>&#160;</p>
<blockquote><p>RuleList=DenyUserAgent</p>
<p>&#160; <br />[DenyUserAgent]      <br />DenyDataSection=AgentStrings      <br />ScanHeaders=User-Agent</p>
<p>[AgentStrings]     <br />Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1      <br />Opera/9.02 (Windows NT 5.1; U; ru)</p>
</blockquote>
<p>In the logfiles I am seeing where it is blocking non russian mozillas, like this:</p>
<blockquote><p>2010-11-05 21:49:23 76.94.140.86 896362 GET /programs/images/t8.jpg Rejected rule+&#8217;DenyUserAgent&#8217;+triggered User-Agent: mozilla/5.0+(windows;+u;+windows+nt+6.1;+en-us;+rv:1.9.2.3)+gecko/20100401+firefox/3.6.3 mozilla/5.0+(windows</p>
</blockquote>
<p>(The logfile truncates after a certain length.) I do not understand why it is blocking this mozilla version with a totally different user agent. ???</p>
<p>Looking for an answer on this one….</p>
]]></content:encoded>
			<wfw:commentRss>http://jayntguru.com/wordpress/archives/305/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.net apps using SQL connections that aren&#8217;t closed properly</title>
		<link>http://jayntguru.com/wordpress/archives/304</link>
		<comments>http://jayntguru.com/wordpress/archives/304#comments</comments>
		<pubDate>Fri, 15 Oct 2010 15:39:30 +0000</pubDate>
		<dc:creator>jayntguru</dc:creator>
				<category><![CDATA[computer geek stuff]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[closing connections]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[connections]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://jayntguru.com/wordpress/archives/304</guid>
		<description><![CDATA[I already blogged about this partially here, and of course having debug disabled comes into play as well.&#160;Anyway, we figured out a problem here at work that is well documented here. It’s a good read and was really helpful for us to figure out how to recode the app.]]></description>
			<content:encoded><![CDATA[<p><a href="http://jayntguru.com/wordpress/archives/127" target="_blank">I already blogged about this partially here</a>, <a href="http://jayntguru.com/wordpress/archives/209" target="_blank">and of course having debug disabled comes into play as well.</a>&#160;<a href="http://chrisfulstow.com/dispose-try-catch-and-using/" target="_blank">Anyway, we figured out a problem here at work that is well documented here.</a> It’s a good read and was really helpful for us to figure out how to recode the app.</p>
]]></content:encoded>
			<wfw:commentRss>http://jayntguru.com/wordpress/archives/304/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>scom web application monitoring part 2 &#8211; presenting the data &#8211; service levels and the dashboard</title>
		<link>http://jayntguru.com/wordpress/archives/300</link>
		<comments>http://jayntguru.com/wordpress/archives/300#comments</comments>
		<pubDate>Mon, 30 Aug 2010 20:53:01 +0000</pubDate>
		<dc:creator>jayntguru</dc:creator>
				<category><![CDATA[computer geek stuff]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[scom]]></category>
		<category><![CDATA[service level dashboard]]></category>
		<category><![CDATA[sld]]></category>
		<category><![CDATA[web application monitor]]></category>

		<guid isPermaLink="false">http://jayntguru.com/wordpress/archives/300</guid>
		<description><![CDATA[This is the 2nd post in a short series on monitoring web applications with SCOM. Part 1 is here. One of the biggest issues I have with SCOM is the sheer amount of data… it is so easy to grab a parameter here, a value here, and you throw that in with all of the [...]]]></description>
			<content:encoded><![CDATA[<p>This is the 2nd post in a short series on monitoring web applications with SCOM. <a href="http://jayntguru.com/wordpress/archives/299" target="_blank">Part 1 is here.</a></p>
<p>One of the biggest issues I have with SCOM is the sheer amount of data… it is so easy to grab a parameter here, a value here, and you throw that in with all of the stuff the management packs will give you already and suddenly you have a lot to choose from and picking and presenting that data becomes the difficult thing. Do yourself a favor and don’t show management the SCOM console, it looks more complicated than it is and I don’t think it presents that well except to technical folks.</p>
<p>Creating dashboards is limited, there needs to be some more work here from Microsoft. For example, <a href="http://jayntguru.com/wordpress/archives/299" target="_blank">like I mentioned in my previous post</a>, you cannot save what a performance view is supposed to look like, meaning which (or all) counters are checked. I understand why Microsoft did this for the default performance view per user, but IMO once you create a dashboard view, that becomes impractical and there should be a way to make the selections a part of the view.</p>
<p>The dashboard also has the problem of not looking too great via the web console. It’s limited and looks kinda fugly. As a result we have tried using the actual SCOM client that we installed as a citrix app so that we can display it on the flat screen via the wyse terminal. This has the problem of not being able to default a view without a lot of work, and we keep running into issues where you need the detail pane here but not here, and you need to be able to select your views on the left hand side sometimes, but you don’t want the “action” pane visible, and you end up with something that looks like a hack.</p>
<p><a href="http://technet.microsoft.com/en-us/library/dd630604.aspx" target="_blank">Microsoft seems to have realized this and has since created a “solution accelerator” called the service level dashboard.</a> I’m not going to go into what it takes to install this because there are already a ton of sites out there already that have the info. It isn’t the easiest thing to get installed because it requires a sharepoint installation which it customizes and bastardizes quite a bit, and it also needs access to the operations manager database, data warehouse, pretty much everything involving SCOM. In my case it was easier to put the actual sharepoint install on my SCOM server, which I did, and ended up having to figure out why sharepoint stepped all over my SCOM website. This wasn’t rocket science but it took some effort. If I was doing it over again, I would go ahead and install sharepoint before I installed SCOM, or find a home somewhere else that isn’t on the SCOM RMS.</p>
<p>Once you go through the motions of getting sharepoint and the service level dashboard installed, we can get to work.</p>
<p>I ran out of time today so it looks like this will be a 3 part post.</p>
]]></content:encoded>
			<wfw:commentRss>http://jayntguru.com/wordpress/archives/300/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>scom web application monitoring &#8211; making it useful &#8211; part 1</title>
		<link>http://jayntguru.com/wordpress/archives/299</link>
		<comments>http://jayntguru.com/wordpress/archives/299#comments</comments>
		<pubDate>Mon, 30 Aug 2010 16:39:52 +0000</pubDate>
		<dc:creator>jayntguru</dc:creator>
				<category><![CDATA[annoyances]]></category>
		<category><![CDATA[computer geek stuff]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[scom]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[web application monitor]]></category>

		<guid isPermaLink="false">http://jayntguru.com/wordpress/archives/299</guid>
		<description><![CDATA[I could go on for days about SCOM and the URL monitoring and how it needs to be improved. Honestly.. it kinda sucks. So here I will attempt to describe what I think is wrong with it and how I work around it. The items in bold below are what I feel like are failures [...]]]></description>
			<content:encoded><![CDATA[<p>I could go on for days about SCOM and the URL monitoring and how it needs to be improved. Honestly.. it kinda sucks. So here I will attempt to describe what I think is wrong with it and how I work around it. The <strong>items in bold below</strong> are what I feel like are failures in the way this was designed.</p>
<p>Also I am not writing this as strictly a “how to monitor a web app” post, there are already plenty of those. This is just about the changes required to make this useful. <a href="http://scug.be/blogs/scom/archive/2008/10/19/create-a-web-application-monitor-in-opsmgr.aspx" target="_blank">Here is a good article with the basics on setting up a web application monitor in SCOM.</a></p>
<ul>
<li>Requirements</li>
</ul>
<p>To begin with, you will need to figure out what you need to monitor. In many cases it is simple enough to pull up the main page of a website and as long as it comes up, is in a reasonable timeframe, and is giving an HTTP status code of 200, you’re OK. This sort of monitoring is useful, but you can do so much more in order to get a lot more out of it. What I like to do is get the devs to code you up something special through some sort of bribery or blackmail. In our case what they did was define 5 business processes, for example “make a payment” and create a page that does the back end work of making that transaction but also the other end of the work which is cleaning up after itself. What you will get in the end isn’t exactly user experience, but it’s a good way to track the ongoing performance of a process relative to itself, and it’s a very good up/down indicator. Since we have dev environments as well, I have those on a development scom server, and I have the below web monitoring in place there as well in the first production like environment. This allows our QA folks to compare state and response time and see if the environment is working before they release code or start a test, but also they can see the impact of the new code by comparing response times from before and after the code release.</p>
<ul>
<li>Once you have your URL’s, it’s time to get to work.</li>
</ul>
<p>Create a web application monitor and give it your URL. The problem with those default settings is that <strong>by default you are only logging the transaction response time and not alerting on it.</strong> From an alert standpoint, there is no timeout for your web request, matter of fact, the only thing SCOM will tell you out of the box is just if it was eventually able to pull up a URL as long as it doesn’t have an HTTP response code &gt; 400. This default setting is not useful!</p>
<p>To fix this, what you want to do is add response time criteria like this.</p>
<p><a href="http://jayntguru.com/wordpress/wp-content/uploads/2010/08/image2.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jayntguru.com/wordpress/wp-content/uploads/2010/08/image_thumb2.png" width="544" height="425" /></a> </p>
<p><strong>Because of a problem with the service level dashboard that I will explain later, I only put one HTTP request in each web application monitor. </strong>This brings me to a little UI weirdness here because you can also set response times in the “configure settings” for the specific URL pull like this.</p>
<p>&#160;<a href="http://jayntguru.com/wordpress/wp-content/uploads/2010/08/image3.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jayntguru.com/wordpress/wp-content/uploads/2010/08/image_thumb3.png" width="497" height="390" /></a></p>
<p><strong>I always leave this performance criteria blank because I can see the other one easier and get more out of it.</strong> This one here just seems redundant.</p>
<ul>
<li>Seeing the data</li>
</ul>
<p>Now once you gather some data you will want to, well, see what’s going on. In order to do this, create a new performance view in the monitoring console and scope it to “collected by specific rules”, and then you get to go manually pick your rules. <strong>This is where Microsoft fails again, because the list of rules is not searchable and they all have arbitrary names.</strong> For web requests I figured out they are called “Performance Collection: Transaction response time total for Name of web app monitor”. like this screenshot.</p>
<p><a href="http://jayntguru.com/wordpress/wp-content/uploads/2010/08/image4.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jayntguru.com/wordpress/wp-content/uploads/2010/08/image_thumb4.png" width="565" height="457" /></a> </p>
<p>Now that you have done that, you will be able to see a nice blank performance chart with some stuff to check.</p>
<p><a href="http://jayntguru.com/wordpress/wp-content/uploads/2010/08/image5.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jayntguru.com/wordpress/wp-content/uploads/2010/08/image_thumb5.png" width="642" height="522" /></a> </p>
<p>Now when we pick one, we get a pretty graph like this.</p>
<p><a href="http://jayntguru.com/wordpress/wp-content/uploads/2010/08/image6.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jayntguru.com/wordpress/wp-content/uploads/2010/08/image_thumb6.png" width="644" height="460" /></a> </p>
<p><strong>This brings me to my next issue with all of this.. it’s that the performance chart settings are user specific.. meaning I cannot create a view of any sort that contains performance information and have the counters checked already</strong>. No matter which ones I put in, and it doesn’t matter if you are using a performance view or even a dashboard view that contains a performance view, those have to be selected every time. This is a pain!</p>
<p><strong>This also means that if you wanted to say, <a href="http://jayntguru.com/wordpress/archives/276" target="_blank">get fancy with a URL to a specific view</a>, you cannot just create one of these and have folks click the link and end up at a pretty performance chart with the counters already checked.</strong> The fact that you cannot do this is a serious limitation with SCOM, IMO.</p>
<ul>
<li>setting up alert parameters (what you cannot change)</li>
</ul>
<p>You will likely have to play with the values a bit in order to get them not to false alert. And this brings me to my next problem with SCOM web monitoring, it’s that <strong>you cannot change anything about how it samples other than where it is from (what host) and how often it samples. </strong>What I would love to do is be able to say “only alert when two consecutive thresholds are exceeded”, but that’s not an option. We get a lot of failures at night during our backup window that cause a single transaction to go out of SLA, and we get alerts based on that. As a result, we have to set our thresholds for response time to the highest level it could possibly be so that we aren’t false alerted every night, but this makes it so high that the alerting becomes less useful during the daytime. As of now I do not have a workaround for this.</p>
<ul>
<li>stopping duplicate alerts</li>
</ul>
<p><strong>When you do get your first alert you will see that two are sent.. one for the URL pull and one for the aggregate monitor on the web application monitor. This doesn’t really make sense to me why this would be set up this way at all, so let’s fix it.</strong></p>
<p>Start by right clicking on one of the alerts and open the health explorer for it. Expand it out and you will see something like this.</p>
<p><a href="http://jayntguru.com/wordpress/wp-content/uploads/2010/08/image7.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jayntguru.com/wordpress/wp-content/uploads/2010/08/image_thumb7.png" width="581" height="239" /></a> </p>
<p>Each of the red lines has an alert set up for it, and the lower one for the actual request rolls up into the web application one. In my mind the web application one is redundant, so I am going to disable it. Right click, choose “monitor properties”, go to alerting, and uncheck it.</p>
<p><a href="http://jayntguru.com/wordpress/wp-content/uploads/2010/08/image8.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jayntguru.com/wordpress/wp-content/uploads/2010/08/image_thumb8.png" width="378" height="410" /></a> </p>
<p>Now you will receive one alert instead of two.</p>
<ul>
<li>useful alert details</li>
</ul>
<p>Of course the text of the alerts isn’t useful at all out of the box (it doesn’t tell you if the URL failed for time, SSL, http response, or anything). <a href="http://blogs.technet.com/b/momteam/archive/2008/09/04/actionable-alerts-for-web-applications-in-operations-manager-2007.aspx" target="_blank">I am using this article as a basis for fixing this</a>, but I don’t have it totally worked out yet. This will continue to require some further tweaking.</p>
<p>This post ended up being longer than I intended (there’s a lot to fix) so I am going to break it up into two parts and get the service level dashboard stuff into a 2nd post.</p>
]]></content:encoded>
			<wfw:commentRss>http://jayntguru.com/wordpress/archives/299/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

