<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="www.w3.org/2005/Atom" xmlns:sy="purl.org/rss/1.0/modules/syndication/" xmlns:dc="purl.org/dc/elements/1.1/" xmlns:content="purl.org/rss/1.0/modules/content/" xmlns:wfw="wellformedweb.org/CommentAPI/" xmlns:slash="purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Daniel's OpsMgr Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/daniels_opsmgr_blog/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/daniels_opsmgr_blog/feed.xml</link>
    <description>Posts in this blog are provided &amp;quot;AS IS&amp;quot; with no warranties, and confers no rights. Usage of provided scripts or samples is on your risk. Please test in your test environment before implementation in production environments.</description>
    <lastBuildDate>Tue, 16 Apr 2019 06:01:32 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Unable to approve Gateways in SCOM 2012</title>
      <link>https://docs.microsoft.com/archive/blogs/daniels_opsmgr_blog/unable-to-approve-gateways-in-scom-2012</link>
      <pubDate>Wed, 05 Nov 2014 10:22:00 GMT</pubDate>
      <dc:creator><![CDATA[Daniel Mueller]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/daniels_opsmgr_blog/2014/11/05/unable-to-approve-gateways-in-scom-2012/</guid>
      <description><![CDATA[Recently I run into an issue that I can&#39;t approve a new Gateway to a SCOM Environment.
As soon...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family:Calibri;">Recently I run into an issue that I can&#39;t approve a new Gateway to a SCOM Environment.</span></p>
<p><span style="font-family:Calibri;">As soon as I started the Microsoft.EnterpriseManagement.GatewayApprovalTool.exe I received to following error.&nbsp;</span></p>
<p style="margin-left:30px;"><b><span style="font-family:Calibri;">Microsoft.EnterpriseManagement.gatewayApprovalTool.exe /ManagementServerName=&lt;managementserverFQDN&gt; /GatewayName=&lt;GatewayFQDN&gt; /Action=Create</span></b></p>
<p style="margin-left:30px;"><b><span style="font-family:Calibri;">Microsoft.EnterpriseManagement.GatewayApprovalTool<br /> Copyright (c) Microsoft Corporation. All rights reserved.</span></b></p>
<p style="margin-left:30px;"><b><span style="font-family:Calibri;">The request failed with the following error:<br /> <span style="background-color:#ffff00;">Index was out of range. Must be non-negative and less than the size of the collection.</span></span></b></p>
<p style="margin-left:30px;"><b><span style="font-family:Calibri;">Parameter name: index</span></b></p>
<p><span style="font-family:Calibri;">It took me a while to figure out what &quot;index&quot; could be meant, because there was no additional information in Event Log or somewhere else.</span></p>
<p><span style="font-family:Calibri;">Then I figured out that the customer removed the old RMSEmulator role from there SCOM environment, which is fine if no workflow from any third party or custom MPs are targeted to the RMSe instance.<br /> <br /> Remember in SCOM 2012 we introduced resource pools and the old Root Management Server has been retired. So there is a possibility now to remove the legacy Root Management emulator instance from SCOM by using PowerShell. <br /> <a href="/b/momteam/archive/2011/08/22/topology-changes-in-system-center-2012-operations-manager-overview.aspx">blogs.technet.com/b/momteam/archive/2011/08/22/topology-changes-in-system-center-2012-operations-manager-overview.aspx</a></span></p>
<p><span style="font-family:Calibri;">If you run into that situation that the geateway approval tool returns an &quot;Index was out of range&quot; error, you can fix it&nbsp;as following:</span></p>
<ol>
<li><span style="font-family:Calibri;">Test if an RMSe instance exists<br />&nbsp;<br /> <b>Get-SCOMRMSemulator </b>(If one RMSe exists powershell report the corresponding Management Server.) In this case you can stop here and need to search for another reason) ;-)<br /><br /></span></li>
<li><span style="font-family:Calibri;">Start <b>Operations Manager Powershell<br /><br /></b></span></li>
<li><span style="font-family:Calibri;">Create a new RMSe&nbsp;instance on any existent management server in your environment.<br /> <br /> <b>Get-SCOMManagementServer &ndash;Name &lt;FQDN of Management Server&gt; | Set-SCOMRMSEmulator<br /><br /></b></span></li>
<li><span style="font-family:Calibri;">Test if the RMSe instance has been created successfully<br /> <br /> <b>Get-SCOMRMSemulator </b>(now you should see your management server)<br /><br /></span></li>
<li><span style="font-family:Calibri;">Run the GatewayApprovalTool to prepare your environment for the new gateway. (Remember that<br /> needs to be done before you install the gateway itself.)<br /> <br /> <b>Microsoft.EnterpriseManagement.GatewayApprovalTool.exe /ManagementServerName=&lt;managementserverFQDN&gt; /GatewayName=&lt;GatewayFQDN&gt; /Action=Create<br /><br /></b></span></li>
<li><span style="font-family:Calibri;">If you want to remove the RMSe instance afterwards again, you can do it by running<br /><br /></span><b><span style="font-family:Calibri;">Remove-SCOMRMSEmulator</span></b></li>
</ol>
<p><span style="font-family:Calibri;">&nbsp;</span></p>
<p><span style="font-family:Calibri;">Good luck and have fun!</span></p>
<p><span style="font-family:Calibri;">&nbsp;</span></p>
<p><span style="font-family:Calibri;">&nbsp;</span></p>
<p><span style="font-family:Calibri;">&nbsp;</span></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>Print Server Management Pack (Version 6.0.7004.0) can cause OpsMgr Database grow</title>
      <link>https://docs.microsoft.com/archive/blogs/daniels_opsmgr_blog/print-server-management-pack-version-6-0-7004-0-can-cause-opsmgr-database-grow</link>
      <pubDate>Wed, 10 Apr 2013 19:35:00 GMT</pubDate>
      <dc:creator><![CDATA[Daniel Mueller]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/daniels_opsmgr_blog/2013/04/10/print-server-management-pack-version-6-0-7004-0-can-cause-opsmgr-database-grow/</guid>
      <description><![CDATA[When you import the new Print Server Management Pack&nbsp; (Version 6.0.7004.0)...]]></description>
      <content:encoded><![CDATA[<p>When you import the new Print Server Management Pack&nbsp; (Version 6.0.7004.0) <a href="https://www.microsoft.com/en-us/download/details.aspx?id=3290">www.microsoft.com/en-us/download/details.aspx?id=3290</a> you might notice that your OpsMgr database grows unexpected.</p>
<p>While troubleshooting an unexpected&nbsp;database growing issue at customer we found out that the main reason for&nbsp;increased&nbsp;data volume&nbsp;in operational&nbsp;database was the MP "Windows Server Print Server 2008 Management Pack".</p>
<p>Drilling down I saw there are a few rules that collect a very high amount of performance values.</p>
<p>Finally the reason were&nbsp;wrong configured collection rule collecting data from the wrong target.</p>
<p>This issue applies to Windows Server 2008 / R2 Print serer only. Windows Server 2012 and Windows Server 2003 are fine.</p>
<p>Looking into the specific collection rule "Performance Measuring: Print Queue\Jobs" we see on Windows Server 2012 as Target "Windows Server 2012 Print Services Role"</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/2465.PrintMP.2012.1.JPG" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/2465.PrintMP.2012.1.JPG"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/2465.PrintMP.2012.1.JPG" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/2465.PrintMP.2012.1.JPG" alt="" border="0" /></a></p>
<p>.... and this Rule is collecting all instances of performance counter Print Queue / Jobs.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/1581.PrintMP.2012.2.JPG" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/1581.PrintMP.2012.2.JPG"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/1581.PrintMP.2012.2.JPG" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/1581.PrintMP.2012.2.JPG" alt="" border="0" /></a></p>
<p>The same thing we see on Windows Server 2008 Print Server with a small difference. Here we see as Target "Windows 2008 Print Service Printer Queue" instead of "Windows Server 2008 Print Service Role"</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/3771.PrintMP.2008.1.JPG" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/3771.PrintMP.2008.1.JPG"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/3771.PrintMP.2008.1.JPG" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/3771.PrintMP.2008.1.JPG" alt="" border="0" /></a></p>
<p>But the data source is configured&nbsp;in the same way as in 2012 MP.&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/2577.PrintMP.2012.2.JPG" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/2577.PrintMP.2012.2.JPG"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/2577.PrintMP.2012.2.JPG" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/2577.PrintMP.2012.2.JPG" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>What does this mean?</p>
<p>In case you have 250 print queues on your Windows 2008 Print Server installed the MP will discover all 250 print queues. Each of them will start collecting performance values for ALL instances of this counter which are 250 in total.</p>
<p>This means that rule is collecting 62500 performance values (250 x 250) every 15 minutes&nbsp;instead of 250 values only.&nbsp;</p>
<p>Finally I found that there are 7 collection rules (4 enabled / 3 disabled by default) configured in this way.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/5531.PrintMP.2008.3.JPG" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/5531.PrintMP.2008.3.JPG"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/5531.PrintMP.2008.3.JPG" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/5531.PrintMP.2008.3.JPG" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p><span style="color: black; font-family: 'Arial','sans-serif'; font-size: 9pt; mso-ansi-language: EN-US;" lang="EN-US">Depends on how many printer queues you are monitoring this might cause a large data increment on your OpsMgr Database.</span></p>
<p><span style="color: black; font-family: 'Arial','sans-serif'; font-size: 9pt; mso-ansi-language: EN-US;" lang="EN-US">If you are affected by this issue you might temporarily disable these rules until the MP has been fixed.</span></p>
<p><span style="color: black; font-family: 'Arial','sans-serif'; font-size: 9pt; mso-ansi-language: EN-US;" lang="EN-US">Alternatively you can create your own collection rule using the right target "Windows Server 2008 Print Service Role".</span></p>
<p><span style="color: black; line-height: 107%; font-family: 'Arial','sans-serif'; font-size: 9pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;" lang="EN-US">Hope we get the MP fixed very soon</span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Forcing OpsMgr Console to start in English</title>
      <link>https://docs.microsoft.com/archive/blogs/daniels_opsmgr_blog/forcing-opsmgr-console-to-start-in-english</link>
      <pubDate>Fri, 07 Dec 2012 04:53:00 GMT</pubDate>
      <dc:creator><![CDATA[Daniel Mueller]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/daniels_opsmgr_blog/2012/12/07/forcing-opsmgr-console-to-start-in-english/</guid>
      <description><![CDATA[Typically when you start the OpsMgr console it will show you Display Strings according to your user...]]></description>
      <content:encoded><![CDATA[<p>Typically when you start the OpsMgr console it will show you Display Strings according to your user setting.<br /><br />E.g.&nbsp;if you&nbsp;set your user specific regional settings to German all Display strings available in OpsMgr will be provided in your language.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/2425.LangGer.JPG" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/2425.LangGer.JPG"><img style="border: 0px currentColor;" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/2425.LangGer.JPG" original-url="blogs.technet.com/resized-image.ashx/__size/350x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/2425.LangGer.JPG" alt="" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/8306.LanguageDEU.JPG" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/8306.LanguageDEU.JPG"><img style="border: 0px currentColor;" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/8306.LanguageDEU.JPG" original-url="blogs.technet.com/resized-image.ashx/__size/350x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/8306.LanguageDEU.JPG" alt="" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/7823.LangENU.JPG" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/7823.LangENU.JPG"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/7823.LangENU.JPG" original-url="blogs.technet.com/resized-image.ashx/__size/350x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/7823.LangENU.JPG" alt="" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/8360.LanguageENU.JPG" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/8360.LanguageENU.JPG"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/8360.LanguageENU.JPG" original-url="blogs.technet.com/resized-image.ashx/__size/350x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/8360.LanguageENU.JPG" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>So you can easily change your regional settings and restart the OpsMgr console to switch display strings.</p>
<p>Sometimes&nbsp;it might be required to start the console to show only English Display Strings in OpsMgr console but let regional settings for other applications set to your language (e.g. Excel).</p>
<p>In this case you can use the following Powershell command to&nbsp;force OpsMgr console to start in English independent from you regional setting.&nbsp;&nbsp;&nbsp;</p>
<p style="padding-left: 30px;"><span style="color: #3366ff;">$key = get-item -path 'hkcu:\Control Panel\International'</span><br /><span style="color: #3366ff;">$curLocale = $key.GetValue('Locale')</span><br /><span style="color: #3366ff;">$curLocaleName = $key.GetValue('LocaleName')</span><br /><span style="color: #3366ff;">$curShortDate = $key.GetValue('sShortDate')</span></p>
<p style="padding-left: 30px;"><span style="color: #3366ff;">If (test-path -path 'hklm:\Software\Microsoft\System Center Operations Manager\12\Setup')</span><br /><span style="color: #3366ff;">{</span><br /><span style="color: #3366ff;">$opsMgrConsole = ((get-item -path 'hklm:\SOFTWARE\Microsoft\System Center Operations Manager\12\Setup').GetValue('InstallDirectory') + '\Console\Microsoft.EnterpriseManagement.Monitoring.Console.exe')</span><br /><span style="color: #3366ff;">}</span><br /><span style="color: #3366ff;">elseif (test-path -path 'hklm:\Software\Microsoft\Microsoft Operations Manager\3.0\Setup')</span><br /><span style="color: #3366ff;">{</span><br /><span style="color: #3366ff;">$opsMgrConsole = ((get-item -path 'hklm:\Software\Microsoft\Microsoft Operations Manager\3.0\Setup').GetValue('InstallDirectory') + '\Microsoft.MOM.UI.Console.exe')</span><br /><span style="color: #3366ff;">}</span></p>
<p style="padding-left: 30px;"><span style="color: #3366ff;">set-itemproperty -path $key.PSPath -name 'LocaleName' -value 'en-US'</span><br /><span style="color: #3366ff;">set-itemproperty -path $key.PSPath -name 'Locale' -value '00000409'</span><br /><span style="color: #3366ff;">set-itemproperty -path $key.PSPath -name 'sShortDate' -value 'M/d/yyyy'</span></p>
<p style="padding-left: 30px;"><span style="color: #3366ff;">start-process $opsMgrConsole -wait</span><br /><span style="color: #3366ff;">start-sleep -Seconds 10</span></p>
<p style="padding-left: 30px;"><span style="color: #3366ff;">set-itemproperty -path $key.PSPath -name 'LocaleName' -value $curLocaleName</span><br /><span style="color: #3366ff;">set-itemproperty -path $key.PSPath -name 'Locale' -value $curLocale</span><br /><span style="color: #3366ff;">set-itemproperty -path $key.PSPath -name 'sShortDate' -value $curShortDate</span></p>
<p>&nbsp;</p>
<p>This script works for OpsMgr 2007 R2 and OpsMgr 2012.</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Get-SCOMAgent failed to run: Object reference not set to an instance of an object.</title>
      <link>https://docs.microsoft.com/archive/blogs/daniels_opsmgr_blog/get-scomagent-failed-to-run-object-reference-not-set-to-an-instance-of-an-object</link>
      <pubDate>Tue, 06 Nov 2012 14:45:00 GMT</pubDate>
      <dc:creator><![CDATA[Daniel Mueller]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/daniels_opsmgr_blog/2012/11/06/get-scomagent-failed-to-run-object-reference-not-set-to-an-instance-of-an-object/</guid>
      <description><![CDATA[When&nbsp;you try to run SCOM 2012 PowerShell command let Get-SCOMAgent it might run into the...]]></description>
      <content:encoded><![CDATA[<p><span style="color: black; font-family: 'Arial','sans-serif'; font-size: 9pt; mso-ansi-language: EN-US;" lang="EN-US">When&nbsp;you try to run SCOM 2012 PowerShell command let Get-SCOMAgent it might run into the following error.</span></p>
<p style="padding-left: 30px;"><span style="color: black; font-family: 'Arial','sans-serif'; font-size: 9pt; mso-ansi-language: EN-US;" lang="EN-US">PS D:\&gt;<strong><span style="font-family: 'Arial','sans-serif';">Get-ScomAgent</span></strong><br /><span style="background: white;">Get-SCOMAgent:<strong></strong></span></span><strong><span style="background: white; color: red; font-family: 'Arial','sans-serif'; font-size: 9pt; mso-ansi-language: EN-US;" lang="EN-US">Object reference not set to an instance of an object. </span></strong></p>
<p><span><span><span style="background: white; color: black; font-family: 'Arial','sans-serif'; font-size: 9pt; mso-ansi-language: EN-US;" lang="EN-US">I figured out that this error was related to one specific SCOM Agent.<br /><br /></span>The error did not report any details what's wrong.</span></span></p>
<p><span><span style="background: white; color: black; font-family: 'Arial','sans-serif'; font-size: 9pt; mso-ansi-language: EN-US;" lang="EN-US">I resolved the problem by removing the affected agents from SCOM. <br />After new approving the agent the command let&nbsp;Get-SCOMAgent worked fine again.&nbsp;</span></span></p>
<p><span><span style="background: white; color: black; font-family: 'Arial','sans-serif'; font-size: 9pt; mso-ansi-language: EN-US;" lang="EN-US">To identify the affected Agent I used the following PowerShell command:</span></span></p>
<p style="padding-left: 30px;"><strong><span style="color: black; font-family: 'Arial','sans-serif'; font-size: 9pt; mso-ansi-language: EN-US;" lang="EN-US">get-scomclass -name "Microsoft.SystemCenter.Agent" | get-scomclassinstance | sort displayname | foreach {Get-SCOMAgent $_}</span></strong></p>
<p><span><span style="background: white; color: black; font-family: 'Arial','sans-serif'; font-size: 9pt; mso-ansi-language: EN-US;" lang="EN-US">This command determines all instances based on agents class. It walks through all agent instances separately and will run into the same issue. But you easily identify what agents is the problematic one.</span></span></p>
<p><span><span style="background: white; color: black; font-family: 'Arial','sans-serif'; font-size: 9pt; mso-ansi-language: EN-US;" lang="EN-US">Now you can remove the agent from&nbsp;SCOM&nbsp;Console. After some minutes it will appear under "Pending Management" again. </span></span></p>
<p><span><span style="background: white; color: black; font-family: 'Arial','sans-serif'; font-size: 9pt; mso-ansi-language: EN-US;" lang="EN-US">After approving the command let should work fine again.&nbsp;&nbsp;</span></span></p>]]></content:encoded>
    </item>
    <item>
      <title>Multiple Counters for Performance Counter OpsMgr SDK Service/Client Connections on OpsMgr 2012 Console</title>
      <link>https://docs.microsoft.com/archive/blogs/daniels_opsmgr_blog/multiple-counters-for-performance-counter-opsmgr-sdk-serviceclient-connections-on-opsmgr-2012-console</link>
      <pubDate>Thu, 09 Aug 2012 04:53:00 GMT</pubDate>
      <dc:creator><![CDATA[Daniel Mueller]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/daniels_opsmgr_blog/2012/08/09/multiple-counters-for-performance-counter-opsmgr-sdk-serviceclient-connections-on-opsmgr-2012-console/</guid>
      <description><![CDATA[You are wondering why you see multiple Performance Counter form SDK Service/Client Connections on...]]></description>
      <content:encoded><![CDATA[<p>You are wondering why you see multiple Performance Counter form SDK Service/Client Connections on OpsMgr 2012 Console?</p>
<p>In my test environment with just one single MS I would expect to see only one single entry in the performance view Client Connections, because there is only one SDK Service running in my environment.</p>
<p>But checking the performance view I see more than 20 entries, but only one graph. Why?</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/2112.ClientConnections1.JPG" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/2112.ClientConnections1.JPG"><img alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/2112.ClientConnections1.JPG" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/2112.ClientConnections1.JPG" border="0" /></a></p>
<p>&nbsp;</p>
<p>Looking into the collection rule data source points me to the right direction.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/5657.ClientConnections2.JPG" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/5657.ClientConnections2.JPG"><img width="338" height="397" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/5657.ClientConnections2.JPG" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/5657.ClientConnections2.JPG" border="0" /></a></p>
<p>&nbsp;</p>
<p>Looking into Performance Monitor I saw that the performance counter name contains a process ID</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/8228.ClientConnections3.JPG" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/8228.ClientConnections3.JPG"><img alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/8228.ClientConnections3.JPG" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/8228.ClientConnections3.JPG" border="0" /></a></p>
<p>That means each time if the SDK restarts, it get a new process ID and the Performance Counter Instance name is different. So this will result in multiple graphs in OpsMgr console.</p>
<p>Over time you will get more and more entries there.</p>
<p>Hmm, ok but.... how can I fix this?&nbsp;And primarily how can I get rid of the multiple empty entries?</p>
<p>Let's start with the second question first.</p>
<ul>
<li>Remove the multiple old empty entries form this view by removing&nbsp;the MP "System Center Operations Manager Data Access Service Monitoring" manually or by using Powershell</li>
</ul>
<p style="padding-left: 90px;"><span style="color: #0000ff;"><strong><span style="background-color: #ffffff;">get-SCOMManagementpack -name "Microsoft.SystemCenter.OperationsManager.DataAccessService" | Remove-SCOMManagementpack</span></strong></span></p>
<p style="padding-left: 30px;"><span style="background-color: #ffffff;">&nbsp;&nbsp; After removing the original MP your multiple performance counter entries&nbsp;are gone.</span></p>
<p><span style="background-color: #ffffff;">To fix this behavior until this might be fixed in a future MP update, you can create your own performance collection rule.</span></p>
<ul>
<li>You can create your own rule, based on a PowerShell script.&nbsp;The following script provides you the actual value of SDK Client Connections and returns it as an OpsMgr PropertyBag.</li>
</ul>
<p style="padding-left: 30px;"><strong><span style="color: #0000ff;">$ID = (get-process -name Microsoft.Mom.Sdk.ServiceHost).ID</span></strong><br /><strong><span style="color: #0000ff;">$CookedValue = (Get-Counter -Counter "\OpsMgr SDK Service(microsoft.mom.sdk.servicehost-pid$ID)\Client Connections").CounterSamples | Select -ExpandProperty Cookedvalue</span></strong><br /><strong><span style="color: #0000ff;">$Value = ([math]::Round($CookedValue, 2))</span></strong><br /><strong><span style="color: #0000ff;">$Value</span></strong></p>
<p style="padding-left: 30px;"><strong><span style="color: #0000ff;">$oAPI = new-object -comObject "MOM.ScriptAPI"</span></strong><br /><strong><span style="color: #0000ff;"># Create the property bag</span></strong><br /><strong><span style="color: #0000ff;">$pb = $oAPI.CreatePropertyBag()</span></strong><br /><strong><span style="color: #0000ff;"># Populate the property bag with data from the registy</span></strong><br /><strong><span style="color: #0000ff;">$pb.AddValue("Value", $Value)&nbsp; </span></strong><br /><strong><span style="color: #0000ff;">$pb</span></strong></p>
<ul>
<li>Here is a MP Example how you can create a powershell performance collection rule:</li>
</ul>
<p style="padding-left: 30px;"><strong><span style="color: #0000ff;">&lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;ManagementPack ContentReadable="true" SchemaVersion="2.0" OriginalSchemaVersion="1.0" xmlns:xsd="<a href="www.w3.org/2001/XMLSchema"><span style="color: #0000ff;">www.w3.org/2001/XMLSchema</span></a>" xmlns:xsl="<a href="www.w3.org/1999/XSL/Transform"><span style="color: #0000ff;">www.w3.org/1999/XSL/Transform</span></a>"&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp; &lt;Manifest&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp; &lt;Identity&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ID&gt;SDKConnectionCount.FixMP&lt;/ID&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Version&gt;1.0.0.0&lt;/Version&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp; &lt;/Identity&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp; &lt;Name&gt;SDKConnectionCount.FixMP&lt;/Name&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp; &lt;References&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Reference Alias="MicrosoftSystemCenterInternal"&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ID&gt;Microsoft.SystemCenter.Internal&lt;/ID&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Version&gt;7.0.8427.0&lt;/Version&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;PublicKeyToken&gt;31bf3856ad364e35&lt;/PublicKeyToken&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Reference&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Reference Alias="MicrosoftSystemCenterDataWarehouseLibrary"&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ID&gt;Microsoft.SystemCenter.DataWarehouse.Library&lt;/ID&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Version&gt;7.0.8427.1&lt;/Version&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;PublicKeyToken&gt;31bf3856ad364e35&lt;/PublicKeyToken&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Reference&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Reference Alias="SystemCenter"&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ID&gt;Microsoft.SystemCenter.OperationsManager.DataAccessService&lt;/ID&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Version&gt;7.0.8560.0&lt;/Version&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;PublicKeyToken&gt;31bf3856ad364e35&lt;/PublicKeyToken&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Reference&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Reference Alias="Windows"&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ID&gt;Microsoft.Windows.Library&lt;/ID&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Version&gt;7.5.8501.0&lt;/Version&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;PublicKeyToken&gt;31bf3856ad364e35&lt;/PublicKeyToken&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Reference&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Reference Alias="SystemCenter1"&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ID&gt;Microsoft.SystemCenter.NTService.Library&lt;/ID&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Version&gt;7.0.8560.0&lt;/Version&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;PublicKeyToken&gt;31bf3856ad364e35&lt;/PublicKeyToken&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Reference&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Reference Alias="Performance"&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ID&gt;System.Performance.Library&lt;/ID&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Version&gt;7.0.8427.0&lt;/Version&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;PublicKeyToken&gt;31bf3856ad364e35&lt;/PublicKeyToken&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Reference&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Reference Alias="System"&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ID&gt;System.Library&lt;/ID&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Version&gt;7.5.8501.0&lt;/Version&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;PublicKeyToken&gt;31bf3856ad364e35&lt;/PublicKeyToken&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Reference&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Reference Alias="SC"&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ID&gt;Microsoft.SystemCenter.Library&lt;/ID&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Version&gt;7.0.8427.0&lt;/Version&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;PublicKeyToken&gt;31bf3856ad364e35&lt;/PublicKeyToken&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Reference&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Reference Alias="Health"&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ID&gt;System.Health.Library&lt;/ID&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Version&gt;7.0.8427.0&lt;/Version&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;PublicKeyToken&gt;31bf3856ad364e35&lt;/PublicKeyToken&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Reference&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp; &lt;/References&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp; &lt;/Manifest&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp; &lt;TypeDefinitions&gt;</span></strong><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp; &lt;ModuleTypes&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;DataSourceModuleType ID="SDKConnectionCount.FixMP.TimedPowershellScript" Accessibility="Internal" Batching="false"&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Configuration&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;IncludeSchemaTypes&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;SchemaType&gt;Windows!Microsoft.Windows.PowerShellSchema&lt;/SchemaType&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/IncludeSchemaTypes&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xsd:element minOccurs="1" name="Interval" type="xsd:integer" xmlns:xsd="<a href="www.w3.org/2001/XMLSchema"><span style="color: #ff9900;">www.w3.org/2001/XMLSchema</span></a>" /&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xsd:element minOccurs="1" name="ScriptName" type="xsd:string" xmlns:xsd="<a href="www.w3.org/2001/XMLSchema"><span style="color: #ff9900;">www.w3.org/2001/XMLSchema</span></a>" /&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xsd:element minOccurs="1" name="ScriptBody" type="xsd:string" xmlns:xsd="<a href="www.w3.org/2001/XMLSchema"><span style="color: #ff9900;">www.w3.org/2001/XMLSchema</span></a>" /&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xsd:element minOccurs="1" name="TimeoutSeconds" type="xsd:integer" xmlns:xsd="<a href="www.w3.org/2001/XMLSchema"><span style="color: #ff9900;">www.w3.org/2001/XMLSchema</span></a>" /&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Configuration&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OverrideableParameters&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OverrideableParameter ID="Interval" Selector="$Config/Interval$" ParameterType="int" /&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OverrideableParameter ID="Timeout" Selector="$Config/TimeoutSeconds$" ParameterType="int" /&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/OverrideableParameters&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ModuleImplementation Isolation="Any"&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Composite&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;MemberModules&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;DataSource ID="Scheduler" TypeID="System!System.Scheduler"&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Scheduler&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;SimpleReccuringSchedule&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Interval&gt;$Config/Interval$&lt;/Interval&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/SimpleReccuringSchedule&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ExcludeDates /&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Scheduler&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/DataSource&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ProbeAction ID="PS" TypeID="Windows!Microsoft.Windows.PowerShellPropertyBagProbe"&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ScriptName&gt;$Config/ScriptName$&lt;/ScriptName&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ScriptBody&gt;$Config/ScriptBody$&lt;/ScriptBody&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;TimeoutSeconds&gt;$Config/TimeoutSeconds$&lt;/TimeoutSeconds&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/ProbeAction&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/MemberModules&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Composition&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Node ID="PS"&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Node ID="Scheduler" /&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Node&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Composition&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Composite&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/ModuleImplementation&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OutputType&gt;System!System.PropertyBagData&lt;/OutputType&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/DataSourceModuleType&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp; &lt;/ModuleTypes&gt;</strong></span><br /><strong><span style="color: #0000ff;">&nbsp; &lt;/TypeDefinitions&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp; &lt;Monitoring&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp; &lt;Rules&gt;</span></strong><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Rule ID="SDKConnectionCount.FixMP.OM2012.CollectionRule.SDKClientConnections" Enabled="true" Target="SystemCenter!Microsoft.SystemCenter.ManagementDataAccessService" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100"&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Category&gt;Custom&lt;/Category&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;DataSources&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;DataSource ID="DS" TypeID="SDKConnectionCount.FixMP.TimedPowershellScript"&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Interval&gt;300&lt;/Interval&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ScriptName&gt;getSDKConnections.ps1&lt;/ScriptName&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ScriptBody&gt;</strong></span><br /><span style="color: #ff9900;"><strong>$ID = (get-process -name Microsoft.Mom.Sdk.ServiceHost).ID</strong></span><br /><span style="color: #ff9900;"><strong>$CookedValue = (Get-Counter -Counter "\OpsMgr SDK Service(microsoft.mom.sdk.servicehost-pid$ID)\Client Connections").CounterSamples | Select -ExpandProperty Cookedvalue</strong></span><br /><span style="color: #ff9900;"><strong>$Value = ([math]::Round($CookedValue, 2))</strong></span><br /><span style="color: #ff9900;"><strong>$Value</strong></span></p>
<p style="padding-left: 30px;"><span style="color: #ff9900;"><strong>$oAPI = new-object -comObject "MOM.ScriptAPI"</strong></span><br /><span style="color: #ff9900;"><strong># Create the property bag</strong></span><br /><span style="color: #ff9900;"><strong>$pb = $oAPI.CreatePropertyBag()</strong></span><br /><span style="color: #ff9900;"><strong># Populate the property bag with data from the registy</strong></span><br /><span style="color: #ff9900;"><strong>$pb.AddValue("Value", $Value)&nbsp; </strong></span><br /><span style="color: #ff9900;"><strong>$pb</strong></span><br /><span style="color: #ff9900;"><strong>&lt;/ScriptBody&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;TimeoutSeconds&gt;60&lt;/TimeoutSeconds&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/DataSource&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/DataSources&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ConditionDetection ID="cd" TypeID="Performance!System.Performance.DataGenericMapper"&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ObjectName&gt;OpsMgr SDK Service&lt;/ObjectName&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;CounterName&gt;Client Connections&lt;/CounterName&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;InstanceName&gt;microsoft.mom.sdk.servicehost&lt;/InstanceName&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Value&gt;$Data/Property[@Name='Value']$&lt;/Value&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/ConditionDetection&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;WriteActions&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;WriteAction ID="DB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" /&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;WriteAction ID="DW" TypeID="MicrosoftSystemCenterDataWarehouseLibrary!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" /&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/WriteActions&gt;</strong></span><br /><span style="color: #ff9900;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Rule&gt;</strong></span><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp; &lt;/Rules&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp; &lt;Overrides&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RulePropertyOverride ID="OverrideForRuleMicrosoftSystemCenterDataAccessServiceCollectClientConnectionsForContextMicrosoftSystemCenterManagementDataAccessServiceaaad7b22a79b41f88df37499e1882aae" Context="SystemCenter!Microsoft.SystemCenter.ManagementDataAccessService" Enforced="false" Rule="SystemCenter!Microsoft.SystemCenter.DataAccessService.CollectClientConnections" Property="Enabled"&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Value&gt;false&lt;/Value&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/RulePropertyOverride&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp; &lt;/Overrides&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp; &lt;/Monitoring&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp; &lt;LanguagePacks&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp; &lt;LanguagePack ID="ENU" IsDefault="true"&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;DisplayStrings&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;DisplayString ElementID="SDKConnectionCount.FixMP"&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Name&gt;SDK Connection Count MP-FIX&lt;/Name&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/DisplayString&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;DisplayString ElementID="SDKConnectionCount.FixMP.OM2012.CollectionRule.SDKClientConnections"&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Name&gt;SDK ClientConnections Collection Rule&lt;/Name&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/DisplayString&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;DisplayString ElementID="SDKConnectionCount.FixMP.TimedPowershellScript"&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Name&gt;Timed Powershell Script PropertyBag Datasource&lt;/Name&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/DisplayString&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/DisplayStrings&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp; &lt;/LanguagePack&gt;</span></strong><br /><strong><span style="color: #0000ff;">&nbsp; &lt;/LanguagePacks&gt;</span></strong><br /><strong><span style="color: #0000ff;">&lt;/ManagementPack&gt;</span></strong></p>
<p>This sample MP contains as well an override to disable the original collection rule. <br />If you want to import this sample MP you need to reimport the original "System Center Operations Manager Data Access Service Monitoring" MP of course. <br />Remember: <span style="color: #ff0000;"><strong>The original MP provides much more than the collection rule I'm talking here. So you should definitely reimport this original MP again. ;-)</strong></span><br />You'll find it on your SCOM 2012 Installation media in folder "Management Packs"</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/0601.ClientConnections4.JPG" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/0601.ClientConnections4.JPG"><img alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/0601.ClientConnections4.JPG" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/0601.ClientConnections4.JPG" border="0" /></a>&nbsp;</p>
<p>&nbsp;After importing those two MPs you will see only one graph.</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/1106.ClientConnections5.JPG" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/1106.ClientConnections5.JPG"><img alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/1106.ClientConnections5.JPG" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/1106.ClientConnections5.JPG" border="0" /></a></p>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/01/8700/00/00/03/51/33/52/SDKConnectionCount.FixMP.xml" original-url="blogs.technet.com/cfs-filesystemfile.ashx/__key/telligent-evolution-components-attachments/01-8700-00-00-03-51-33-52/SDKConnectionCount.FixMP.xml">SDKConnectionCount.FixMP.xml</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Schedule Maintenance Mode tool might not work correctly with non-english local settings</title>
      <link>https://docs.microsoft.com/archive/blogs/daniels_opsmgr_blog/schedule-maintenance-mode-tool-might-not-work-correctly-with-non-english-local-settings</link>
      <pubDate>Thu, 18 Aug 2011 01:46:00 GMT</pubDate>
      <dc:creator><![CDATA[Daniel Mueller]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/daniels_opsmgr_blog/2011/08/18/schedule-maintenance-mode-tool-might-not-work-correctly-with-non-english-local-settings/</guid>
      <description><![CDATA[If you want to use the Schedule Maintenance Mode tool from OpsMgr R2 Admin reskit (Download) you...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size: small;">If you want to use the Schedule Maintenance Mode tool from OpsMgr R2 Admin reskit (<a href="https://www.microsoft.com/downloads/details.aspx?FamilyID=E37AB90B-EC7B-4130-8E3F-9691A76530DB&amp;amp;amp;displaylang=e&amp;displaylang=en">Download</a>) you might run in trouble in case your system is running with non-english local settings.</span></p>
<p><span style="font-size: small;">This happens if your configured locale doesn't use AM/PM time symbols. In this case you can't schedule any Maintenance Mode in the afternoon/evening. :-(</span></p>
<p><span style="font-size: small;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/6131.SchedMM1.JPG" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/6131.SchedMM1.JPG"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/6131.SchedMM1.JPG" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/6131.SchedMM1.JPG" /></a></span></p>
<p><span style="font-size: small;">The reason is that the Schedule Maintenance Mode tool uses 12 hours instead of 24 hours with this local settings.</span></p>
<p><span style="font-size: small;">This is a known issue <a href="blogs.technet.com/b/momteam/archive/2011/06/21/schedule-maintenance-mode-reskit-tool-info.aspx">blogs.technet.com/b/momteam/archive/2011/06/21/schedule-maintenance-mode-reskit-tool-info.aspx</a></span></p>
<p><span style="font-size: small;">As a small workaround you can change your local settings on the system you run the ScheduleMaintenanceMode.exe by setting the AM/PM Symbol on your local settings option.</span></p>
<p><span style="font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/5228.SchedMM2.JPG" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/5228.SchedMM2.JPG"></a><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/8838.SchedMM2.JPG" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/8838.SchedMM2.JPG"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/8838.SchedMM2.JPG" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/8838.SchedMM2.JPG" /></a></span></p>
<p><span style="font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/3515.SchedMM3.JPG" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/3515.SchedMM3.JPG"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/3515.SchedMM3.JPG" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/3515.SchedMM3.JPG" width="451" height="351" /></a></span></p>
<p>&nbsp;</p>
<p><span style="font-size: small;">Once you set this, start the Schedule Maintenance Mode tool again. Now&nbsp;you are able to set schedules in the evening too. ;-)</span></p>
<p><span style="font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/3404.SchedMM4.JPG" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/3404.SchedMM4.JPG"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/3404.SchedMM4.JPG" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/3404.SchedMM4.JPG" /></a></span></p>
<p><span style="font-size: small;">Have fun ;-)</span></p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>OpsMgr might stop synchorinization of Datawarehouse Database after moving RMS</title>
      <link>https://docs.microsoft.com/archive/blogs/daniels_opsmgr_blog/opsmgr-might-stop-synchorinization-of-datawarehouse-database-after-moving-rms</link>
      <pubDate>Fri, 20 May 2011 03:05:00 GMT</pubDate>
      <dc:creator><![CDATA[Daniel Mueller]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/daniels_opsmgr_blog/2011/05/20/opsmgr-might-stop-synchorinization-of-datawarehouse-database-after-moving-rms/</guid>
      <description><![CDATA[One of my customers run into a critical issue after promoting another Management Server to RMS.The...]]></description>
      <content:encoded><![CDATA[<p>One of my customers run into a critical issue after promoting another Management Server to RMS.<br /><br />The worse thing about this, you can't&nbsp;see any alert or any other hint that anything is wrong.<br /><br />The reason we could identify was a missing instance called "<strong>Datawarehouse Synchronization Server</strong>".</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/0447.DWSynch1.JPG" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/0447.DWSynch1.JPG"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/0447.DWSynch1.JPG" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/0447.DWSynch1.JPG" border="0" /></a></p>
<p>Looking at this class we see all synchronization rules targeted on it. <br />So if no instance of this class is available no synchronization rule can run.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/5008.DWSynch2.JPG" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/5008.DWSynch2.JPG"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/5008.DWSynch2.JPG" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/5008.DWSynch2.JPG" border="0" /></a></p>
<p>Unfortunately you will not see any alert because the rules will not run in general and a rule which is not intended to run can't&nbsp;be monitored.<br />(Like a monitor for a service, if the service itself doesn't exist.)</p>
<p>This issue&nbsp;affects "only" synchronized data (like Alerts, State Changes, Availability Data, new/updated MPs, ......). <br />Data&nbsp;that will be stored directly to the&nbsp;OperationsManagerDW&nbsp;database (like Performance data, Events, ....) are not&nbsp;affected.</p>
<p><strong>Resolution: </strong><br />We resolved the issue by reinstalling OpsMgr Reporting.&nbsp;The installation of OpsMgr Reporting created this synchronization object&nbsp;again.</p>
<p><strong>Recommendation:</strong><br />It looks like this can happen in particular circumstances.<br />Please check always if the "Datawarehouse Synchronization&nbsp;Server" exists&nbsp;after moving the RMS role to another Management Server.<br />Use the <strong>Discovered Inventory </strong>view in your OpsMgr Console and <strong>Change target Type </strong>to "<strong>Datawarehouse Synchronization Server</strong>"</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/7065.DWSynch1.JPG" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/7065.DWSynch1.JPG"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/7065.DWSynch1.JPG" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/7065.DWSynch1.JPG" border="0" /></a></p>
<p>Alternatively you can quickly check if your alert data becomes synchronized&nbsp;by running the following SQL query against DW. This shows all alerts stored or updated&nbsp;within the last 24 hour from DWH DB</p>
<p>Use OperationsManagerDW<br />SELECT AlertName, DWCreatedDateTime, DWLastModifiedDateTime<br />&nbsp; FROM [OperationsManagerDW].[Alert].[vAlert]<br />&nbsp; where (DWCreatedDateTime &gt; DATEADD("HOUR",-24,getutcdate())) or (DWLastModifiedDateTime &gt; DATEADD("HOUR",-24,getutcdate()))<br />&nbsp; order by DWCreatedDateTime desc</p>
<p>There you should find any records added or updated after you moved the RMS ( if any alert was raised or updated after the move of course ;-)<br />Hint:&nbsp;Data in DWH are stored&nbsp;in UTC time!!</p>
<p><strong>Important Note:</strong><br />If you identified the issue you should act as soon as possible. Remember you typical keep data in&nbsp;you operational DB 7 days only (by default).&nbsp;After this time period OpsMgr will groom the data&nbsp;from operational DB and can't synchronize it anymore.<br />Otherwise you might lose historical data.</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>How to create a dynamic group of Computers objects hosting a specific service</title>
      <link>https://docs.microsoft.com/archive/blogs/daniels_opsmgr_blog/how-to-create-a-dynamic-group-of-computers-objects-hosting-a-specific-service</link>
      <pubDate>Thu, 19 May 2011 06:31:00 GMT</pubDate>
      <dc:creator><![CDATA[Daniel Mueller]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/daniels_opsmgr_blog/2011/05/19/how-to-create-a-dynamic-group-of-computers-objects-hosting-a-specific-service/</guid>
      <description><![CDATA[Some customers are asking for dynamic groups that contains all computer objects that are hosting...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size: small;">Some customers are asking for dynamic groups that contains all computer objects that are hosting specific instances.</span></p>
<p><span style="font-size: small;">As Example: </span><span style="font-size: small;">You need a dynamic group that contains all <strong>windows computers</strong> where a windows service "xyz" is installed.&nbsp;</span><br /><span style="font-size: small;"><br />Such a containment group can't be created via OpsMgr UI. </span><br /><span style="font-size: small;">You can create a group of specific instances itself, but it's not possible to search all computer objects that are hosting&nbsp;this specific instances (e.g. service).</span></p>
<p><span style="font-size: small;">Nevertheless there is a way to create such a group by using the Authoring Console or by modifying the MP xml.</span></p>
<p><span style="font-size: small;">Many customers are not familiarly with developing MPs by&nbsp;using Authoring Console, so I'll describe the xml method here.</span></p>
<p><span style="font-size: small;"><span style="text-decoration: underline;"><span style="font-size: medium;"><strong>The quick and easy way without using the authoring console&nbsp;</strong></span></span>(Example: for Computers hosting specific Windows service):</span></p>
<p><span style="font-size: small;">First of all you need to discover the specific service you want to look for.</span></p>
<p><span style="font-size: small;">Use the Windows Service Template to discover the service on your agents. In this example I'll use BITS service.&nbsp;</span></p>
<p><span style="font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/3531.DynamicGroup2.JPG" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/3531.DynamicGroup2.JPG"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/3531.DynamicGroup2.JPG" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/3531.DynamicGroup2.JPG" /></a><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/4011.DynamicGroup2.JPG" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/4011.DynamicGroup2.JPG"></a></span></p>
<p><span style="font-size: small;">Now you need to create a new&nbsp;group using the OpsMgr Console. Please store the group in the same MP where you stored the services template before.</span></p>
<p><span style="font-size: small;">Remember: Creating a group via UI will generate a GroupID with a GUID (like UINameSpacee1bb42b5fc114d91ac4fa985886d35f3.Group). It is not easy to find the corresponding group discovery&nbsp;inside the xml.<br />To make it&nbsp;a bit easier to find the discovery rule please put in any noticeable value (like "####") as filter.</span></p>
<p><span style="font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/4426.DynamicGroup1.JPG" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/4426.DynamicGroup1.JPG"><img border="0" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/4426.DynamicGroup1.JPG" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/4426.DynamicGroup1.JPG" /></a></span></p>
<p><span style="font-size: small;">Once you've created the group please&nbsp;export</span><span style="font-size: small;"> the unsealed MP where you stored the new created group and the service template.</span></p>
<p><span style="font-size: small;">Open the xml file and search for your service discovery <strong>&lt;ServiceName&gt;BITS&lt;/ServiceName&gt;</strong></span></p>
<p><span style="font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Discovery ID="ServiceStateProbePage_fb07b209c8a2443dbb86a8f00bcddcd0.DiscoveryRule" Enabled="false" Target="MicrosoftWindowsLibrary6172210!Microsoft.Windows.Computer" ConfirmDelivery="false" Remotable="true" Priority="Normal"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Category&gt;Discovery&lt;/Category&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;DiscoveryTypes&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;DiscoveryClass TypeID="<span style="color: #ff0000;"><strong>ServiceStateProbePage_fb07b209c8a2443dbb86a8f00bcddcd0</strong></span>" /&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/DiscoveryTypes&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;DataSource ID="DS" TypeID="MicrosoftWindowsLibrary6172210!Microsoft.Windows.Win32ServiceInformationProviderWithClassSnapshotDataMapper"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ComputerName&gt;$Target/Property[Type="MicrosoftWindowsLibrary6172210!Microsoft.Windows.Computer"]/NetworkName$&lt;/ComputerName&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: #0000ff;"><strong>&lt;ServiceName&gt;BITS&lt;/ServiceName&gt;</strong></span><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Frequency&gt;60&lt;/Frequency&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ClassId&gt;$MPElement[Name="ServiceStateProbePage_fb07b209c8a2443dbb86a8f00bcddcd0"]$&lt;/ClassId&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;InstanceSettings&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Settings&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Setting&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Name&gt;$MPElement[Name="MicrosoftWindowsLibrary6172210!Microsoft.Windows.Computer"]/PrincipalName$&lt;/Name&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Value&gt;$Target/Property[Type="MicrosoftWindowsLibrary6172210!Microsoft.Windows.Computer"]/PrincipalName$&lt;/Value&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Setting&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Setting&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Name&gt;$MPElement[Name="MicrosoftSystemCenterNTServiceLibrary!Microsoft.SystemCenter.NTService"]/ServiceName$&lt;/Name&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Value&gt;$Data/Property[@Name='Name']$&lt;/Value&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Setting&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Setting&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Name&gt;$MPElement[Name="MicrosoftSystemCenterNTServiceLibrary!Microsoft.SystemCenter.NTService"]/ServiceProcessName$&lt;/Name&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Value&gt;$Data/Property[@Name='BinaryPathName']$&lt;/Value&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Setting&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Setting&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Name&gt;$MPElement[Name="MicrosoftSystemCenterNTServiceLibrary!Microsoft.SystemCenter.NTService"]/DisplayName$&lt;/Name&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Value&gt;$Data/Property[@Name='DisplayName']$&lt;/Value&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Setting&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Setting&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Name&gt;$MPElement[Name="MicrosoftSystemCenterNTServiceLibrary!Microsoft.SystemCenter.NTService"]/Description$&lt;/Name&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Value&gt;$Data/Property[@Name='Description']$&lt;/Value&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Setting&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Setting&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Name&gt;$MPElement[Name="System!System.Entity"]/DisplayName$&lt;/Name&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Value&gt;BITS&lt;/Value&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Setting&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Settings&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/InstanceSettings&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/DataSource&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Discovery&gt;<br /></span></p>
<p><span style="font-size: small;">Once you found your discovery you need to copy the class ID.</span></p>
<p><span style="font-size: small;">Here it is: <span style="color: #ff0000;"><strong>ServiceStateProbePage_fb07b209c8a2443dbb86a8f00bcddcd0 </strong><span style="color: #000000;">(Hint: My ClassID is valid in my sample only, this GUID will not work in your MP.&nbsp;;-)</span></span></span></p>
<p><span style="font-size: small;">Now s</span><span style="font-size: small;">earch inside the xml file&nbsp;for your group marker (e.g.&nbsp;"####")</span></p>
<p>&nbsp;<span style="font-size: small;">&nbsp;&nbsp; &lt;Discoveries&gt;</span><br /><span style="font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Discovery ID="UINameSpacee1bb42b5fc114d91ac4fa985886d35f3.Group.DiscoveryRule" Enabled="true" Target="UINameSpacee1bb42b5fc114d91ac4fa985886d35f3.Group" ConfirmDelivery="false" Remotable="true" Priority="Normal"&gt;</span><br /><span style="font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Category&gt;Discovery&lt;/Category&gt;</span><br /><span style="font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;DiscoveryTypes&gt;</span><br /><span style="font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;DiscoveryRelationship TypeID="MicrosoftSystemCenterInstanceGroupLibrary6172210!Microsoft.SystemCenter.InstanceGroupContainsEntities" /&gt;</span><br /><span style="font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/DiscoveryTypes&gt;</span><br /><span style="font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;DataSource ID="GroupPopulationDataSource" TypeID="SystemCenter!Microsoft.SystemCenter.GroupPopulator"&gt;</span><br /><span style="font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RuleId&gt;$MPElement$&lt;/RuleId&gt;</span><br /><span style="font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;GroupInstanceId&gt;$MPElement[Name="UINameSpacee1bb42b5fc114d91ac4fa985886d35f3.Group"]$&lt;/GroupInstanceId&gt;</span><br /><span style="font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;MembershipRules&gt;</span><br /><span style="color: #000000; font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;MembershipRule&gt;</span><br /><span style="color: #000000; font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;MonitoringClass&gt;$MPElement[Name="MicrosoftWindowsLibrary6172210!Microsoft.Windows.Computer"]$&lt;/MonitoringClass&gt;</span><br /><span style="color: #000000; font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RelationshipClass&gt;$MPElement[Name="MicrosoftSystemCenterInstanceGroupLibrary6172210!Microsoft.SystemCenter.InstanceGroupContainsEntities"]$&lt;/RelationshipClass&gt;</span><br /><span style="color: #0000ff; font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Expression&gt;</span><br /><span style="color: #0000ff; font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;SimpleExpression&gt;</span><br /><span style="color: #0000ff; font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ValueExpression&gt;</span><br /><span style="color: #0000ff; font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Property&gt;$MPElement[Name="MicrosoftWindowsLibrary6172210!Microsoft.Windows.Computer"]/PrincipalName$&lt;/Property&gt;</span><br /><span style="color: #0000ff; font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/ValueExpression&gt;</span><br /><span style="color: #0000ff; font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Operator&gt;Equal&lt;/Operator&gt;</span><br /><span style="color: #0000ff; font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ValueExpression&gt;</span><br /><span style="color: #0000ff; font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Value&gt;<span style="color: #ff0000;"><strong>#####</strong></span>&lt;/Value&gt;</span><br /><span style="color: #0000ff; font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/ValueExpression&gt;</span><br /><span style="color: #0000ff; font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/SimpleExpression&gt;</span><br /><span style="color: #0000ff; font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Expression&gt;</span><br /><span style="color: #000000; font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/MembershipRule&gt;</span><br /><span style="font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/MembershipRules&gt;</span><br /><span style="font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/DataSource&gt;</span><br /><span style="font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Discovery&gt;</span></p>
<p><span style="font-size: small;">Replace the whole&nbsp;Section between &lt;Expression&gt; and &lt;/Expression&gt;&nbsp;by the following lines. Please use as&nbsp;ClassID your own ClassID copied above.</span></p>
<p><br /><span style="color: #0000ff; font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Expression&gt;</span><br /><span style="color: #0000ff; font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Contains&gt;</span><br /><span style="color: #0000ff; font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;MonitoringClass&gt;$MPElement[Name="<span style="color: #ff0000;"><strong>ServiceStateProbePage_fb07b209c8a2443dbb86a8f00bcddcd0</strong></span>"]$&lt;/MonitoringClass&gt;</span><br /><span style="color: #0000ff; font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Contains&gt;</span><br /><span style="color: #0000ff; font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Expression&gt;</span></p>
<p>Save the MP file and import it again into your Management Group.</p>
<p>Now you will find all Windows Computer Objects hosting the "BITS"&nbsp;service.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/1856.DynamicGroup3.JPG" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/1856.DynamicGroup3.JPG"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/1856.DynamicGroup3.JPG" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/1856.DynamicGroup3.JPG" /></a></p>
<p>There is one disadvantage on this group type. You'll not be able to change these groups via OpsMgr UI anymore.</p>
<p>Opening this group in OpsMgr UI you will see only the xml code. Any future change needs to be made in xml file again.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/1104.DynamicGroup4.JPG" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/1104.DynamicGroup4.JPG"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/1104.DynamicGroup4.JPG" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/1104.DynamicGroup4.JPG" /></a></p>
<p>Another&nbsp;example:</p>
<p>Group containing all windows computers hosting a specific service but only&nbsp;computers with a host name matches wildcard DA*</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Expression&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;And&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Expression&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RegExExpression&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ValueExpression&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Property&gt;$MPElement[Name="MicrosoftWindowsLibrary6172210!Microsoft.Windows.Computer"]/PrincipalName$&lt;/Property&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/ValueExpression&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Operator&gt;MatchesWildcard&lt;/Operator&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Pattern&gt;DA*&lt;/Pattern&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/RegExExpression&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&lt;/Expression&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&lt;Expression&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Contains&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;MonitoringClass&gt;$MPElement[Name="ServiceStateProbePage_fb07b209c8a2443dbb86a8f00bcddcd0"]$&lt;/MonitoringClass&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Contains&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Expression&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/And&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Expression&gt;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Troubleshooting Management Pack / Fix wrong Roll-up Monitor state</title>
      <link>https://docs.microsoft.com/archive/blogs/daniels_opsmgr_blog/troubleshooting-management-pack-fix-wrong-roll-up-monitor-state</link>
      <pubDate>Sat, 14 May 2011 13:45:00 GMT</pubDate>
      <dc:creator><![CDATA[Daniel Mueller]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/daniels_opsmgr_blog/2011/05/14/troubleshooting-management-pack-fix-wrong-roll-up-monitor-state/</guid>
      <description><![CDATA[Sometimes you might see a wrong status on Roll-up Monitors. Wrong state in this case means e.g. a...]]></description>
      <content:encoded><![CDATA[<p>Sometimes you might see a wrong status on Roll-up Monitors. Wrong state in this case means e.g. a Roll-up Monitor stays in a critical state even if all unit&nbsp;monitors below are in healthy state.<br />There are different reasons when such a condition can occur.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/1538.Rollup.jpg" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/1538.Rollup.jpg"><img height="286" width="353" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/1538.Rollup.jpg" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/1538.Rollup.jpg" border="0" /></a></p>
<p>As I heard from customers, most of the customer try to fix&nbsp;such issues by&nbsp;flushing the health service state or deleting the whole Health Service folder.<br />Both methods are very strong, mostly unnecessary and can cause other bad side effects.</p>
<p>Most of the customer are not aware of the "<strong>System Center Internal Task Library</strong>" Management Pack. So I want to explain it here.</p>
<p>You can't&nbsp;find this Management Pack in the online MP catalog because it was delivered already with the OpsMgr installation media.<br />You will find the Management Pack on your OpsMgr DVD in the folder ".\Support Tools\i368". It is called <span style="background-color: #ffff00;"><strong><span style="font-size: small;">Microsoft.SystemCenter.Internal.Tasks.mp</span></strong></span></p>
<p>When you import this MP you'll get 4 new tasks visible in your OpsMgr console.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/6886.Rollup-Tasks.JPG" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/6886.Rollup_2D00_Tasks.JPG"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/6886.Rollup-Tasks.JPG" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/6886.Rollup_2D00_Tasks.JPG" border="0" /></a></p>
<p>These tasks are targeted to "Entity" so you'll see them on&nbsp;any class you select in the OpsMgr Console.</p>
<p><strong><span style="font-size: medium;">What can you&nbsp;do with these tasks?</span></strong></p>
<p><span style="font-size: medium;"><strong>Show local cache for state change events.</strong>&nbsp;</span><br />This task will show you the actual state change events stored in the <strong>local </strong>Health Service cache on the agent.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/7043.Rollup-ShowEvents.jpg" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/7043.Rollup_2D00_ShowEvents.jpg"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/7043.Rollup-ShowEvents.jpg" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/7043.Rollup_2D00_ShowEvents.jpg" border="0" /></a></p>
<p><span style="font-size: medium;"><strong>Resubmit local cache for state change events. <br /></strong></span>This task submits the local cached state change to the OpsMgr Databases again. <br /><span style="background-color: #ffff00;">This can fix your rollup issue, </span>because the new submitted state change force a recalculation of the roll-up monitor as well.</p>
<p><strong><span style="font-size: medium;">Show Running Rules and Monitors for this Object.<br /></span></strong><span style="font-size: medium;"><span style="font-size: small;">This task shows you all running workflows targeted to the selected object. It will tell you which workflows are loaded for this objects (e.g. Logical Disk) on this agents.<br /><br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/7002.Rollup-ShowRunningRules.jpg" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/7002.Rollup_2D00_ShowRunningRules.jpg"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/7002.Rollup-ShowRunningRules.jpg" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/7002.Rollup_2D00_ShowRunningRules.jpg" border="0" /></a></span></span></p>
<p><strong><span style="font-size: medium;">Show Failed Rules and Monitors for this Object<br /></span></strong><span style="font-size: medium;"><span style="font-size: medium;"><span style="font-size: small;">This task shows you all failed </span></span></span><span style="font-family: %value;">workflows targeted to the selected object. It will tell you which workflows currently </span>failed for this objects (e.g. Logical Disk) on this agents.</p>
<p>There are two other tasks available that shows you <strong>all&nbsp;</strong>failed and running workflows on the selected Healthservice. <br /><strong><span style="font-size: medium;">Show Failed Rules and Monitors for this Health Service / <strong><span style="font-size: medium;">Show Running Rules and Monitors for this Health Service<br /></span></strong></span></strong><span style="font-size: small;">Those tasks are targeted to the Health Service class and you can find them on the view <strong>Operations Manager / Agent /&nbsp;Agent Health State / <span style="text-decoration: underline;">Agent State</span></strong>.<br />They will show you all failed or running workflows of <strong>all instances </strong>hosted on the selected Health Service.<br /><br /></span><span style="font-size: medium;"><span style="font-size: medium;"><span style="font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/8831.Rollup-ShowAll.jpg" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/8831.Rollup_2D00_ShowAll.jpg"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/8831.Rollup-ShowAll.jpg" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-87-00/8831.Rollup_2D00_ShowAll.jpg" border="0" /></a><br />&nbsp;<br /></span></span></span>
<p><span style="font-size: medium;"><span style="font-size: medium;"><span style="font-size: small;">&nbsp;</span></span></span></p>
<p><span style="font-size: medium;"><span style="font-size: medium;"><span style="font-size: small;">&nbsp;</span></span></span></p>
</p>]]></content:encoded>
    </item>
    <item>
      <title>Showing Baseline in OpsMgr Performance View</title>
      <link>https://docs.microsoft.com/archive/blogs/daniels_opsmgr_blog/showing-baseline-in-opsmgr-performance-view</link>
      <pubDate>Sun, 17 Apr 2011 04:21:00 GMT</pubDate>
      <dc:creator><![CDATA[Daniel Mueller]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/daniels_opsmgr_blog/2011/04/17/showing-baseline-in-opsmgr-performance-view/</guid>
      <description><![CDATA[There are a few very good explanations on blogs discussing the difficult adjustments of&nbsp;STT...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: helvetica;"><span style="font-size: small;">There are a few very good explanations on blogs discussing the difficult adjustments of&nbsp;STT (self-tuning-thresholds) monitors<br />like this </span></span><a href="opsmgrunleashed.wordpress.com/2007/06/20/opsmgr-by-example-configuring-baselines/"><span style="font-family: helvetica;"><span style="font-size: small;">opsmgrunleashed.wordpress.com/2007/06/20/opsmgr-by-example-configuring-baselines/</span></span></a><span style="font-family: helvetica;"><span style="font-size: small;">&nbsp;or </span></span><a href="blogs.technet.com/b/kevinholman/archive/2008/03/19/self-tuning-thresholds-love-and-hate.aspx"><span style="font-family: helvetica;"><span style="font-size: small;">blogs.technet.com/b/kevinholman/archive/2008/03/19/self-tuning-thresholds-love-and-hate.aspx</span></span></a></p>
<p><span style="font-family: helvetica;"><span style="font-size: small;">
<p><span style="font-family: helvetica;"><span style="font-size: small;">When discussing advantages and disadvantages of self-tuning-threshold monitors&nbsp;in OpsMgr with customers I often be asked how we can really SEE a calculated baseline.</span></span></p>
</span></span></p>
<p><span style="font-family: helvetica;"><span style="font-size: small;">According to this <a href="https://technet.microsoft.com/en-us/library/bb381383.aspx" title="technet article ">technet&nbsp;page </a>we can switch on the baseline on&nbsp;performance views by right mouse click and select "Show Baseline"</span></span></p>
<p><span style="font-family: helvetica;"><span style="font-size: small;"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/4834.Basline1.jpg" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-87-00/4834.Basline1.jpg" border="0" /></span></span></p>
<p><span style="font-family: helvetica;"><span style="font-size: small;">In most cases you can't see anything that's looking like a&nbsp;"baseline".</span></span></p>
<p><span style="font-family: helvetica;"><span style="font-size: small;"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/3581.Baseline2.jpg" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-87-00/3581.Baseline2.jpg" border="0" /></span></span></p>
<p><span style="font-family: helvetica;"><span style="font-size: small;">To really see the calculated baseline you need to ensure a few things:</span></span></p>
<ol>
<li><span style="font-family: helvetica;"><span style="font-size: small;">You need to switch on "<strong>Show Baseline</strong>" option on the performance view.</span></span></li>
<li><span style="font-family: helvetica;"><span style="font-size: small;">You need to have selected a counter that really has got a calculated baseline (check column "Baseline")&nbsp;. This flag will switch to "YES" once the baseline calculation has finished (depends on the&nbsp;configured business cycle).</span></span></li>
<li><span style="font-family: helvetica;"><span style="font-size: small;"><span style="background-color: #ffffff;"><span style="color: #ff0000;"><strong>Important:</strong></span></span> You need to show a time range beginning <strong>at least&nbsp;one complete business cycles</strong> <strong>backwards</strong>. (Attention: Weekly business cycle starts on Saturday 10PM (UTC). To be sure to see the baseline better&nbsp;take 2 weeks backwards)<br />I know that sounds silly because typically you store only&nbsp;1 week performance data in your operational DB, but remember the baseline calculation started already one week before.</span></span></li>
</ol>
<p><span style="font-family: helvetica;"><span style="font-size: small;"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/7230.Baseline3.jpg" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-87-00/7230.Baseline3.jpg" border="0" />&nbsp;(Today: 4/17/2011)</span></span></p>
<p><span style="font-family: helvetica;"><span style="font-size: small;">..... to see the actual running baseline calculation for the next week you can extend the time range to one business cycle (1 week) into the future.</span></span></p>
<p><span style="font-family: helvetica;"><span style="font-size: small;">&nbsp;<img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/87/00/6886.Baseline4.jpg" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-87-00/6886.Baseline4.jpg" border="0" /></span></span></p>
<p><span style="font-family: helvetica;"><span style="font-size: small;">&nbsp;I hope that helps understanding some strange alerts fired from baseline monitors. ;-)</span></span></p>
<p><span style="font-family: helvetica;"><span style="font-size: small;"></span></span></p>]]></content:encoded>
    </item>
  </channel>
</rss>