<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>michelaudet</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/michelaudet/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/michelaudet/feed.xml</link>
    <description />
    <lastBuildDate>Tue, 16 Apr 2019 06:28:07 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Demystifying Empty Reports in OpsMgr</title>
      <link>https://docs.microsoft.com/archive/blogs/michelaudet/demystifying-empty-reports-in-opsmgr</link>
      <pubDate>Fri, 28 Jun 2013 09:09:28 GMT</pubDate>
      <dc:creator><![CDATA[Michel Audet [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/michelaudet/2013/06/28/demystifying-empty-reports-in-opsmgr/</guid>
      <description><![CDATA[I often hear from Operations Manager (OpsMgr) administrators that they generate performance reports...]]></description>
      <content:encoded><![CDATA[<p>I often hear from Operations Manager (OpsMgr) administrators that they generate performance reports for a particular collection rule and the report comes back blank when they are fairly certain that the data has been collected.</p>  <p>More often than not, the issue has to do with <strong>targeting</strong> within the report. It makes sense when it’s explained, but there’s still an element of logic in building the report that needs to be discussed.</p>  <p>When I deliver one of the OpsMgr workshops, I demo a specific example to illustrate what is going on and drive a few learning objectives along the way.</p>  <h1>A Practical Example</h1>  <p>Let’s say you want to report on the free disk space for a group of servers.</p>  <ul>   <li>In the <strong>Administrator Console</strong>, under <strong>Reporting</strong>, <strong>Microsoft Generic Report Library</strong>, select <strong>Performance Detail</strong> and click on <strong>Open</strong>:</li> </ul>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/7457.image_6E752614.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/7457.image_5F00_6E752614.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/1524.image_thumb_7B6F0625.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/1524.image_5F00_thumb_5F00_7B6F0625.png" width="555" height="360" /></a></p>  <ul>   <li>In the <strong>Report View,</strong> select standard parameters for <strong>Data Aggregation</strong> and time range (<strong>From</strong> / <strong>To</strong>), then click on <strong>Change..</strong> to create a new series:</li> </ul>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/0871.image_33414A49.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/0871.image_5F00_33414A49.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/6761.image_thumb_5DAD7B66.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/6761.image_5F00_thumb_5F00_5DAD7B66.png" width="550" height="271" /></a></p>  <ul>   <li>Create a <strong>New Series</strong>, and select the <strong>Rule</strong>. In this case, select <strong>Logical Disk Free Megabytes 2008</strong>. </li> </ul>  <p>The problem comes when you choose between the <strong>Add Group…</strong> and <strong>Add Object…</strong> buttons:</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/3443.image_2ADD74F2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/3443.image_5F00_2ADD74F2.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/8360.image_thumb_384387F8.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/8360.image_5F00_thumb_5F00_384387F8.png" width="562" height="323" /></a></p>  <p>&#160;</p>  <h2>Add Object…</h2>  <p>In the case of free disk space, you probably want a report based on servers (or agents). For example, you would like to list the free disk space for a subset of servers (or even just a particular server), so you believe selecting <strong>Add Object…</strong> would be the way to go:</p>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/7624.image_2998DC13.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/7624.image_5F00_2998DC13.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/0880.image_thumb_21A139B1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/0880.image_5F00_thumb_5F00_21A139B1.png" width="568" height="324" /></a></p>  <p>Unfortunately, this will result in an <font style="style"><u></u></font><font style="style"><u>empty report</u></font><font style="style"><u></u></font>:</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/8231.image_6ED1333C.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/8231.image_5F00_6ED1333C.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/6014.image_thumb_6DF8CD52.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/6014.image_5F00_thumb_5F00_6DF8CD52.png" width="565" height="357" /></a></p>  <p>&#160;</p>  <h2>Add Group…</h2>  <p>If instead, you select <strong>Add Group…</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/95/86/metablogapi/5543.image_582EE4F5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/5543.image_5F00_582EE4F5.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/6471.image_thumb_2C7E1AF9.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/6471.image_5F00_thumb_5F00_2C7E1AF9.png" width="564" height="426" /></a></p>  <p>Then the <font style="style"></font><u><font style="style">report will contain data</font><font style="style"></font></u>:</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/1614.image_4BC0C1CC.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/1614.image_5F00_4BC0C1CC.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/7411.image_thumb_29F4E93B.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/7411.image_5F00_thumb_5F00_29F4E93B.png" width="567" height="558" /></a></p>  <h2>Targeting</h2>  <p>So what’s going on and what’s the different between <strong>Add Group…</strong> and <strong>Add Object…</strong>?</p>  <p>This is where <strong>targeting</strong> comes into play. </p>  <p>In this case, the performance collection rule <strong>Logical Disk Free Megabyte 2008</strong> is targeted at the instances of <strong>Windows Server 2008 Logical Disk</strong>. That makes sense, but when you select <strong>Add Object…</strong>, you don’t select <strong>Windows Server 2008 Logical Disk </strong>instances, you select an instance of <strong>Windows Computer</strong>. Because the rule is not targeted at that class, no data is associated with it.</p>  <p>If you select individual instances of <strong>Windows Server 2008 Logical Disk </strong>as objects, then data would show up in the report:</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/0083.image_3AF9171E.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/0083.image_5F00_3AF9171E.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/1007.image_thumb_687A36E1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/1007.image_5F00_thumb_5F00_687A36E1.png" width="590" height="163" /></a></p>  <p>Logically, if you build <strong>reports</strong> for free disk space, you want to order/sort/group be servers and then their drives. Having a report of all C: drives in your environment isn't easy to read, but because the performance collection rule is targeted at a different class than <strong>Windows Computer</strong>, you need to select <strong>Add Group…</strong> for any data to display.</p>  <p>I’ve also seen confusion (which I experienced myself before sorting this thing out for myself) with the fact that the “group” in <strong>Add Group…</strong> doesn’t have the same meaning as “groups” in the <strong>Administration Console</strong>, under <strong>Authoring</strong>. In the <strong>report</strong> case, it refers to contained objects: the <strong>Windows Server 2008 Logical Disk </strong>instances are contained within the <strong>Windows Computer</strong> object. In the <strong>Authoring</strong> section of the <strong>Administrator Console</strong>, it refers to a collection of objects such as “all c: drives”.</p>  <h1>Final Thoughts</h1>  <p>Hope this helps clarify why some reports return no data. The support knowledge base has a <a title="https://support.microsoft.com/kb/2573329" href="https://support.microsoft.com/kb/2573329">troubleshooting KB article on empty reports</a> for other cases, especially cases involving issues with OpsMgr.</p>  <p>Comments welcome!</p>]]></content:encoded>
    </item>
    <item>
      <title>Push-Installing an OpsMgr Agent Through a Script</title>
      <link>https://docs.microsoft.com/archive/blogs/michelaudet/push-installing-an-opsmgr-agent-through-a-script</link>
      <pubDate>Tue, 25 Jun 2013 05:11:04 GMT</pubDate>
      <dc:creator><![CDATA[Michel Audet [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/michelaudet/2013/06/25/push-installing-an-opsmgr-agent-through-a-script/</guid>
      <description><![CDATA[In some cases, deploying Operations Manager (OpsMgr) agents through the console (i.e.,...]]></description>
      <content:encoded><![CDATA[<p>In some cases, deploying Operations Manager (OpsMgr) agents through the console (i.e., “push-install”) is not possible. For example, some organizations mandate that every software deployment, including the various agents (virus-scanner, backup, monitoring, etc.), must be deployed through centralized processes. This can include deploying using Systems Center Configuration Manager.</p>  <p>In this blog post, I will demonstrate how to use the OpsMgr PowerShell cmd-let to deploy an agent through a script and still retain the advantages of a push-installation.</p>  <h1>Push Versus Manual Installation</h1>  <p>A “push” agent installation is done through the administrator console; in contrast, a manual installation is often done by either installing from the OpsMgr installation media or running the <strong>momagent.msi</strong> package from one of the management servers (or copying the directory somewhere else).</p>  <p>One of the biggest drawbacks of the manual installation method is that it prevents you from managing the agents from the console. You cannot change the Primary Management Server that the agent reports to, repair, or uninstall the agent from the console. Of course, if your organization mandates that you deploy software from a centralized location, the mandate probably extends to uninstalling as well; therefore, you may not have an incentive to remotely manage agents for those two cases.</p>  <p>The figure below shows the options that are not available (i.e., greyed out) when an agent is installed manually (right figure) versus the push method (left figure):</p>  <p>&#160;</p>  <blockquote>   <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/3288.image_4686E715.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/3288.image_5F00_4686E715.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/3113.image_thumb_0C97A429.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/3113.image_5F00_thumb_5F00_0C97A429.png" width="244" height="179" /></a>&#160;&#160;&#160;&#160;&#160; <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/7838.image_1E080501.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/7838.image_5F00_1E080501.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/2260.image_thumb_04A001C7.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/2260.image_5F00_thumb_5F00_04A001C7.png" width="244" height="179" /></a></p> </blockquote>  <p>&#160;</p>  <p>In the case of changing the agent assignment, however, or repairing the agent as part of troubleshooting, being able to do so from the console is still valuable.</p>  <h1>Install-SCOMAgent cmd-let</h1>  <p>You can use a PowerShell cmd-let called “<a href="https://technet.microsoft.com/en-us/library/hh920243.aspx" target="_blank">Install-SCOMAgent</a>” to install an agent from a script that results in a “push” installation.</p>  <p><font face="Courier New">Param(</font></p> <font face="Courier New"></font>  <blockquote><font face="Courier New"></font>    <p><font face="Courier New">[string]<font color="#ff0000">$agent</font></font></p>   <font face="Courier New"></font>    <p><font color="#000000" face="Courier New">)</font></p>   <font face="Courier New"></font></blockquote> <font face="Courier New"></font>  <p><font face="Courier New"><font color="#0000ff">Import-Module</font> operationsmanager</font></p> <font face="Courier New"></font>  <p><font color="#0000ff" face="Courier New">New-SCOMManagementGroupConnection</font></p> <font face="Courier New"></font>  <p><font face="Courier New"><font color="#ff0000">$PrimaryMS</font> = <font color="#0000ff">Get-SCOMManagementServer</font> –Name &lt;fqdn_of_Management_Server&gt;</font></p> <font face="Courier New"></font>  <p><font face="Courier New"><font color="#0000ff">install-scomagent</font> –dnshostname <font color="#ff0000">$agent</font> –PrimaryManagementServer <font color="#ff0000">$PrimaryMS</font></font></p>  <p>&#160;</p>  <ul>   <li>The script starts by defining the parameter <font color="#ff0000" face="Courier New">$agent</font>, which will be the FQDN of the agent we want to deploy to.</li>    <li>Then the OpsMgr PowerShell module is loaded (<font face="Courier New"><font color="#0000ff">Import-Module</font> operationsmanager</font>).</li>    <li>Next, the script will connect to the Management Group (<font color="#0000ff" face="Courier New">New-SCOMManagementGroupConnection</font><font color="#000000">).</font></li>    <li><font color="#000000">Then we define the Primary Management Server for the agent to report to. Note that you could change this to a parameter to be passed to the PowerShell command, much like that agent name. I chose not to for two reasons:</font></li>    <ul>     <li><font color="#000000">To avoid mixing the agent and management server name in a command line that runs the script; and</font></li>      <li><font color="#000000">To easily change which Management Server the agent reports to from the console o<font color="#000000">nce the agent has been deployed.</font></font></li>   </ul> </ul>  <p><font color="#000000"></font></p>  <p>The picture below shows the PowerShell script and the command line with the agent parameter. </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/0451.image_3CDE78DF.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/0451.image_5F00_3CDE78DF.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/6648.image_thumb_63405C2A.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/6648.image_5F00_thumb_5F00_63405C2A.png" width="532" height="295" /></a></p>  <h1>Notes on Running the Script</h1>  <p>A few notes on running this script:</p>  <ol>   <li>The script needs to run on a server where the operationsmanager PowerShell module is present, such as a Management Server. </li>    <li>I did not specify any accounts to run the installation. The parameter, <font face="Courier New">–ActionAccount</font>, can be used to specify an installation account. If the parameter is not specified (as is the case in this example), the default Management Server Action Account will be used; it needs to have the necessary rights to install software on the agent.</li> </ol>  <p>Since the PowerShell script runs from the Management Server, it is essentially a command line version of the console push. However, since it is scripted, it can be deployed through a centralized method such as SCCM, which would provide all the reporting and control sometimes mandated by IT organizations.</p>  <p>Comments welcome!</p>  <p>&#160;</p>  <p>&#160;</p>  <div class="csharpcode">&#160;</div>  <div class="csharpcode"></div>  <div class="csharpcode">   <pre>&#160;</pre>
</div>

<div class="csharpcode"></div>

<div class="csharpcode">
  <pre>&#160;</pre>
</div>

<div class="csharpcode"></div>
]]></content:encoded>
    </item>
    <item>
      <title>Revisiting How to Monitor Disk Usage with System Center Operations Manager</title>
      <link>https://docs.microsoft.com/archive/blogs/michelaudet/revisiting-how-to-monitor-disk-usage-with-system-center-operations-manager</link>
      <pubDate>Mon, 13 May 2013 07:18:18 GMT</pubDate>
      <dc:creator><![CDATA[Michel Audet [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/michelaudet/2013/05/13/revisiting-how-to-monitor-disk-usage-with-system-center-operations-manager/</guid>
      <description><![CDATA[A while back, I posted a blog on how to create a performance collection probe to calculate disk...]]></description>
      <content:encoded><![CDATA[<p>A while back, I posted a blog on <a href="https://blogs.technet.com/b/mspfe/archive/2012/04/26/how_2d00_to_2d00_monitor_2d00_disk_2d00_usage_2d00_with_2d00_system_2d00_center_2d00_operations_2d00_manager.aspx" target="_blank">how to create a performance collection probe to calculate disk usage</a> and report on it. I presented a VBScript that retrieved the disk size and free disk space of a server/drive and calculated the disk usage from those values. In this post, I’ll expand on the areas of </p>  <ol>   <li><strong>testing the script, </strong></li>    <li><strong>mapping the script parameters, </strong>and<strong> </strong></li>    <li><strong>generating the report</strong> using data collected by the probe.</li> </ol>  <p>I’ve also recreated the probe in an Operations Manager (OpsMgr) 2012 SP1 environment to verify functionality. The previous post was done in a 2007 R2 environment.</p>  <h1>1. Testing the Script</h1>  <p>If issues exist with your script, you will not know until the collection probe runs on an agent. If an issue exists, however, the agent will have errors or warnings logged in the local OpsMgr event log. I recommend testing your script outside of OpsMgr first.</p>  <h2>Testing Outside OpsMgr</h2>  <p>Here’s the same script tested <u>outside</u> of the OpsMgr probe with some modifications:</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/0702.image_6FAC571C.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/0702.image_5F00_6FAC571C.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/3884.image_thumb_79FD7B7C.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/3884.image_5F00_thumb_5F00_79FD7B7C.png" width="559" height="321" /></a></p>  <p>Note a couple of changes:</p>  <ul>   <li>I’ve commented the line “<strong>drive = oArgs(0)</strong>”. Within the probe, this is the parameter for the drive name that OpsMgr will send to the script. To find the right one, I’ve literally used trial and error to find out which one works.</li>    <li>The line has been replaced (for testing) by <strong>drive = “c:”</strong>. This is where you might want to try the various drives on a particular server to see what kind of results it creates.</li>    <li>The command <strong>msgbox(diskusedGB)</strong> will output the result of the calculation in a message box.</li>    <li>The last three lines have been commented; they are specific to OpsMgr, so they are not needed until we create the probe.</li> </ul>  <p>Once I run the script against a particular server/drive, I get the following output (from the msgbox function):</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/4477.image_7205D91A.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/4477.image_5F00_7205D91A.png"><img title="image" style="margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/5140.image_thumb_78B8E29D.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/5140.image_5F00_thumb_5F00_78B8E29D.png" width="151" height="132" /></a></p>  <p>A value like this is what I would expect to be returned to OpsMgr and written to the data warehouse. </p>  <h2>On Error Resume Next</h2>  <p>The script doesn’t contain any logic to determine if an instance of logical disk should be skipped (e.g., a reserve partition). Therefore, if a server contains one or more instance of logical disk for which the script would fail, we need to account for it in the script, hence using <strong>On Error Resume Next</strong>.</p>  <p>As an example, I’ve run the script, <strong>without On Error Resume Next</strong>, against an empty&#160; CD-ROM drive and received Error 800A005E (below). </p>  <p>&#160;</p>  <p><strong></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/95/86/metablogapi/8512.image_7EFFB92B.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/8512.image_5F00_7EFFB92B.png"><img title="image" style="margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/7140.image_thumb_6597B5F1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/7140.image_5F00_thumb_5F00_6597B5F1.png" width="244" height="158" /></a></p>  <p>&#160;</p>  <p>If I run the script with On Error Resume Next, there’s no output error. Of course, CD-ROM is not an instance of a logical disk, but it illustrates the point of adding <strong>On Error Resume Next</strong>.</p>  <p><strike><strong></strong></strike></p>  <h1>2. Mapping the Script Parameters </h1>  <p>Since some time has passed since the original posting, I recreated the rule in an OpsMgr 2012 SP1 lab to see if there where any differences, especially with some of the properties for the logical disk class. I did notice that the parameter for the drive name is now called “<strong>Device Identifier</strong>”. When I first created the rule, it was listed as “<strong>Device ID</strong>”, which is what I have in the original post.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/8547.image_7DBB204C.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/8547.image_5F00_7DBB204C.png"><img title="image" style="margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/4278.image_thumb_762FB0DF.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/4278.image_5F00_thumb_5F00_762FB0DF.png" width="400" height="380" /></a></p>  <p>&#160;</p>  <p>This parameter is the value that OpsMgr will send to the script (“oArgs”).</p>  <h1>3. G<strong>enerating the Report</strong></h1>  <p>Here’s one tip to find the rule you created. When you create a performance report and select the rules, you can display all the rules stored in a particular management pack. In my case, I’ve stored the rule in “MG1 – Custom Rules and Monitors”, so I’ve selected the Management Pack (MP) and searched for blank (which represents all).</p>  <ul>   <li>In the <strong>Operations Manager Console</strong>, under <strong>Reporting</strong>, select <strong>Microsoft Generic Report Library</strong>, Select <strong>Performance Detail</strong>. </li>    <li>Under <strong>Objects</strong>, click on <strong>Change</strong>. </li>    <li>In the <strong>Settings</strong> windows, select <strong>New Series</strong>, and then in the <strong>Series Details,</strong> click on <strong>Add Group</strong> and select the desired agent(s). </li>    <li>Under the <strong>Rule</strong> option, click on <strong>Browse…</strong></li>    <li>Change the <strong>Management Pack Name</strong> to the one where you saved the collection rule. Click on <strong>Search</strong> (this will return all rules saved in the MP):</li> </ul>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/5850.image_6E380E7D.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/5850.image_5F00_6E380E7D.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/0488.image_thumb_34B4FE86.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/0488.image_5F00_thumb_5F00_34B4FE86.png" width="631" height="205" /></a></p>  <p>&#160;</p>  <h1>Final Thoughts</h1>  <p>I hoped that the clarifications in this posting provide more help. Comments welcome.</p>]]></content:encoded>
    </item>
    <item>
      <title>OpsMgr Administrator Engaging with the Subject Matter Experts of Monitored Technologies</title>
      <link>https://docs.microsoft.com/archive/blogs/michelaudet/opsmgr-administrator-engaging-with-the-subject-matter-experts-of-monitored-technologies</link>
      <pubDate>Fri, 26 Apr 2013 06:11:19 GMT</pubDate>
      <dc:creator><![CDATA[Michel Audet [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/michelaudet/2013/04/26/opsmgr-administrator-engaging-with-the-subject-matter-experts-of-monitored-technologies/</guid>
      <description><![CDATA[I’ve seen over and over again IT organizations assuming the Operations Manager (OpsMgr) admins are...]]></description>
      <content:encoded><![CDATA[<p>I’ve seen over and over again IT organizations assuming the Operations Manager (OpsMgr) admins are subject matter experts (SMEs) in all the technologies they monitor. This creates a false expectation that AD or SQL or Exchange or SharePoint, or… is monitored to the same level and tuning that SMEs in these respective technologies expect.</p>  <p>Two unfortunate situations arise from this:</p>  <p>1) <strong>Monitoring gaps</strong>: an issue occurs with a monitored technology (e.g., Active Directory or AD) and someone asks, “why didn’t OpsMgr send an alert about this?”</p>  <p>2) <strong>False positives</strong>: a large number of alerts are generated for a specific technology, but in reality, everything is fine. </p>  <p>Here are some pointers from the OpsMgr perspective that I’ve used with customers that have yielded positive results and reduced the two issues above.</p>  <p>&#160;</p>  <h1>Start with the Guide</h1>  <p>As an OpsMgr admin, review the Management Pack (MP) guides not only before first importing the MPs, but also look at the changes when importing an updated MP.</p>  <p>To initiate meaningful discussions with the SMEs for the technology being monitored, begin by focusing on the relevant sections from the guide. Focus on the <strong>optional configuration</strong> and <strong>key monitoring</strong> sections. </p>  <p>Below is a screenshot of the table of content of the AD management pack, version <a href="https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&amp;id=21357" target="_blank">6.0.8070.0</a>. We’ll use this one for our discussion, but the same applies to all technologies.</p>  <p>&#160;</p>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/7558.image_0D270AC4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/7558.image_5F00_0D270AC4.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/5342.image_thumb_3073FF69.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/5342.image_5F00_thumb_5F00_3073FF69.png" width="468" height="596" /></a></p>  <p>The sections within the red boxes are good for discussions, because they contain a lot of AD language. This will give the AD team some insight into the monitoring scenarios that OpsMgr can support—once they’ve been configured. This last point is key: some of these monitoring scenarios need to be enabled and configured.</p>  <p>&#160;</p>  <h1>Go Deeper with MP Viewer</h1>  <p>Next, leverage the <a href="https://blogs.msdn.com/b/dmuscett/archive/2012/02/19/boris-s-tools-updated.aspx#10273217" target="_blank">MP Viewer</a> utility to review what rules and monitors are defined and enabled and what their configuration or thresholds are set to. With MP Viewer, you can look at the various components in an MP (rules, monitors, views, etc.) offline and in a format easy to consume:</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/4212.image_5D88EC37.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/4212.image_5F00_5D88EC37.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/4130.image_thumb_03126999.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/4130.image_5F00_thumb_5F00_03126999.png" width="477" height="256" /></a></p>  <p>I like to center early discussions around monitors and rules as they provide alerts and reporting, the most visible OpsMgr items to the SMEs. </p>  <p>To take this further, create an export of the rules and monitors from the MP Viewer utility to an Excel or HTML file. </p>  <p>From within MP Viewer:</p>  <ol>   <li>Click on <strong>File</strong>.</li>    <li>Click on <strong>Save to Excel</strong>, or alternatively.</li>    <li>Click on <strong>Save to HTML</strong>.</li> </ol>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/7360.image_3B50E0B1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/7360.image_5F00_3B50E0B1.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/7206.image_thumb_68D20074.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/7206.image_5F00_thumb_5F00_68D20074.png" width="453" height="281" /></a></p>  <p>&#160;</p>  <p>Below is a screenshot of the Active Directory Server 2008 Monitoring MP exported to an Excel file:</p>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/2475.image_2110778D.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/2475.image_5F00_2110778D.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/2806.image_thumb_05F7A87F.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/2806.image_5F00_thumb_5F00_05F7A87F.png" width="525" height="269" />&#160;</a></p>  <p>The exported file can be manipulated further to hide information that isn’t relevant to the discussion at this point. Make sure that what is exposed is useful for the technology SMEs who will get a copy of these.</p>  <p>From here, you can have meaningful and effective discussions with the SMEs on rules and monitors that are relevant, missing, or that need adjustments.</p>  <p>&#160;</p>  <h1>Final Thoughts</h1>  <p>Finally, if you are a Microsoft Premier customer, talk to your TAM about services that are offered where an OpsMgr PFE (like myself) and a technology PFE (AD, SQL, SharePoint, Exchange, etc.) can go onsite and help you and the other technology team better leverage and tune the MP for you environment.</p>  <p>Comments welcome.</p>]]></content:encoded>
    </item>
    <item>
      <title>Understanding Notifications in Operations Manager</title>
      <link>https://docs.microsoft.com/archive/blogs/michelaudet/understanding-notifications-in-operations-manager</link>
      <pubDate>Sun, 31 Mar 2013 06:05:37 GMT</pubDate>
      <dc:creator><![CDATA[Michel Audet [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/michelaudet/2013/03/31/understanding-notifications-in-operations-manager/</guid>
      <description><![CDATA[First time administrators of Operations Manager (OpsMgr) are often uncertain of how notifications...]]></description>
      <content:encoded><![CDATA[<p>First time administrators of Operations Manager (OpsMgr) are often uncertain of how notifications work . In this blog post, I will explain how they work, provide a few tips for using them effectively, and provide some references for further reading and advanced notifications scenarios.</p>  <h1>Three Parts of a Notification</h1>  <p>In the <strong>Administrator Console</strong>, under <strong>Administration</strong> and <strong>Notifications,</strong> three folders are available: channels, subscribers, and subscriptions. Together, these are components are used to create notifications.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/4401.image_723AC788.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/4401.image_5F00_723AC788.png"><img title="image" style="margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/7418.image_thumb_1C3AC5B1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/7418.image_5F00_thumb_5F00_1C3AC5B1.png" width="355" height="182" /></a></p>  <p>Think about these components as…</p>  <p><strong>Channels</strong> – <u>how</u> the notification will be sent and <u>what</u> it will look like</p>  <p><strong>Subscribers</strong> – <u>who</u> will get the notification and <u>when</u> they will receive it</p>  <p><strong>Subscriptions</strong> – <u>which</u> alerts will be sent</p>  <p>Simple enough, or so it seems…</p>  <h1>Don’t create an “All Alerts, All the time to Everyone” subscription… unless you mean it!</h1>  <p>One of the <em>least</em> useful ways to leverage notifications is to create a single subscription for all alerts. That is, all alerts raised by all agents, regardless of severity, sent to one or more persons. That’s usually not very effective for a few reasons:</p>  <ul>   <li>You don’t need a very large environment before the number of alerts generated daily will dwarf the capacity for anyone to process.</li>    <li>You end up treating every alert as equal in priority, regardless of the source (e.g., a tier-1 DB versus any random services on any server). </li> </ul>  <p>Some exceptions do exist when this is useful, however. For example, some customers would send the alerts to a folder or mailbox automatically monitored by a helpdesk/service desk software. The service desk software would pick up the new emails and generate service desk tickets and/or incidents based on those alerts.</p>  <p>If you are still working this way today, look at <a href="https://technet.microsoft.com/en-us/library/hh237242.aspx" target="_blank">Systems Center Orchestrator</a> for automating and maintaining the OpsMgr alerts lifecycle within your helpdesk/service desk.</p>  <h1>Using Subscriptions</h1>  <p>Instead of creating an “all alerts, all the time to everyone” subscription, use the flexibility of the components that make up a notification (channels, subscribers, and subscriptions) to create notifications that will route the right alerts to the right people, at the right time. Below are a few pointers with using those components:</p>  <h3>Channels</h3>  <p>Many OpsMgr administrators who only use SMTP channels (i.e., emails) may miss out on the fact that through the same delivery method (for example, Exchange), you can create two versions of the same notification, but with a different consumption device in mind. For example, for alerts on a smartphone, you may want less information than the same alerts being read through a full email client such as Outlook.</p>  <p>On the <strong>Format</strong> window of the channel, you can modify the subject and message.&#160; Below shows the default content:</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/6355.image_0121F6A3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/6355.image_5F00_0121F6A3.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/6708.image_thumb_4DE5BD39.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/6708.image_5F00_thumb_5F00_4DE5BD39.png" width="532" height="455" /></a></p>  <p>As shown below, you may add the text &lt;Short&gt; in the subject line (presumably to indicate a message format for smartphones) and remove a number of parameters from the message body to only send the essential information, which will be easier to read on a small screen.</p>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/1512.image_05B8015D.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/1512.image_5F00_05B8015D.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/6242.image_thumb_770D5577.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/6242.image_5F00_thumb_5F00_770D5577.png" width="534" height="459" /></a></p>  <p>&#160;</p>  <p>Another use for multiple channels is to generate various email subjects for easier filtering. An example would be to prepend &lt;ACTION REQUIRED&gt; to specifically critical alerts (for example, alerts related to certain LOB components).</p>  <h3>Subscribers</h3>  <p>Subscribers allow you to specify when to send notifications in addition to whom to send them to. In conjunction with the multiple channels options discussed earlier, you could have alternative formats sent to the same person depending on the time of day.</p>  <p>As an example, you could receive verbose critical alerts between 8 am and 6 pm, when you’re expecting to consume the alerts through your Outlook client, but receive shorten messages on your Windows Phone after business hours.</p>  <p>Try to leverage distribution lists for subscribers, even with few recipients. They offload the management of subscribers outside of OpsMgr and allow you to easily add or remove individuals as needed such as when an administrator goes on vacation or if you have an after-hours support rotation.</p>  <h3>Subscriptions</h3>  <p>So far it’s been pretty easy: channels and subscribers are straight forward to understand. Subscriptions however, are more complicated. That’s because they provide the flexibility of sending alerts from a combination of criteria such as which class or group raised the alert, the severity and priority rating, and also custom fields.</p>  <p>Don’t go overboard with subscriptions, especially with subscriptions that are filtered out to a single rule or monitor. Things can get out of hand quickly here.</p>  <p>Remember that much like actionable alerts in the console, you want the notifications that are being sent to also be actionable. Some planning should go into building notifications in order to get the most out of them.</p>  <p>Subscriptions have an option for “Alert aging” (see below), which tells OpsMgr to hold off sending the notification until a set number of minutes have passed and if the conditions remain unchanged. This is very useful to create an escalation notification. In the screenshot below, a delay of 25 minutes has been set. This would be used for example, to ensure that if after 25 minutes if an alert hasn’t been addressed (acknowledged/closed/etc.), then an alert would be sent to a second subscriber, such as a team lead or escalation team.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/4113.image_1D0305CE.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/4113.image_5F00_1D0305CE.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/2577.image_thumb_3C45ACA1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/2577.image_5F00_thumb_5F00_3C45ACA1.png" width="562" height="467" /></a></p>  <h1>A few nifty tricks and other resources</h1>  <ul>   <li>Kevin Holman has a few interesting posts on advanced notifications: </li>    <ul>     <li><a href="https://blogs.technet.com/b/kevinholman/archive/2008/06/26/using-opsmgr-notifications-in-the-real-world-part-1.aspx" target="_blank">Using OpsMgr notifications</a>, and </li>      <li><a href="https://blogs.technet.com/b/kevinholman/archive/2008/10/12/creating-granular-alert-notifications-rule-by-rule-monitor-by-monitor.aspx" target="_blank">Creating granular alert notifications</a>, which describes how to make changes to the criteria logic directly from the xml file (i.e., the MP that contains the notifications).</li>   </ul>    <li>Steve Rachui has one that’s a bit outside the box: <a href="https://blogs.msdn.com/b/steverac/archive/2010/08/17/updating-custom-alert-fields-using-subscriptions-and-powershell.aspx" target="_blank">using PowerShell to modify alerts through a subscription</a>. </li>    <li>Stefan Stranger has a blog post on <a href="https://blogs.technet.com/b/stefan_stranger/archive/2013/01/05/windows-phone-push-notifications-for-your-opsmgr-alerts-part-1.aspx" target="_blank">pushing notifications to your Windows Phone</a>.</li> </ul>  <p>&#160;</p>  <ul></ul>  <h1>Final Thoughts</h1>  <p>So there you have it. There’s no need to limit notifications to one for all. Through the careful planning of channels, subscribers, and subscriptions, you’ll avoid subscriptions becoming a spam engine and instead be useful for the recipients.</p>  <p>Comments welcome.</p>]]></content:encoded>
    </item>
    <item>
      <title>Keeping Up with Management Packs</title>
      <link>https://docs.microsoft.com/archive/blogs/michelaudet/keeping-up-with-management-packs</link>
      <pubDate>Mon, 25 Mar 2013 06:45:36 GMT</pubDate>
      <dc:creator><![CDATA[Michel Audet [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/michelaudet/2013/03/25/keeping-up-with-management-packs/</guid>
      <description><![CDATA[Management Packs (MPs) are the core of Operations Manager (OpsMgr). They contain the definitions and...]]></description>
      <content:encoded><![CDATA[<p>Management Packs (MPs) are the core of Operations Manager (OpsMgr). They contain the definitions and instructions to discover and monitor the various technologies or applications you wish to monitor and be alerted on, so it makes sense that you keep them up to date. </p>  <p>&#160;</p>  <h1>Why are MPs updated? </h1>  <p>If you’ve authored your own MPs, you’ll understand the amount of complexity involved with building monitoring scenarios and the increasingly better ways to implement those monitoring scenarios or discoveries. Monitoring scenarios themselves may change over time based on business goals and requirements. Also, the possibility of mistakes or errors may be introduced in MPs. For Microsoft and other third parties that build MPs professionally, user feedback is another source of change (e.g., customers may find that certain monitors are too noisy or do not provide the value originally intended and get deprecated).</p>  <p>&#160;</p>  <h1>What about my organization’s customizations?</h1>  <p>You may be wondering what would happen if an update to an MP was conflicting with overrides you created for your organization. For example, what if you created an override for a monitor that was too aggressive in the original MP, but the updated MP was even less aggressive than yours?</p>  <p>At a high level, overrides stored in an unsealed MP will “win” over overrides stored in a sealed MP. If your organizations’ overrides are stored in a sealed MP (for change management purposes), whichever one is the more specific will be applied. For example, an override applied to a group of servers will “win” over an override applied to a class. </p>  <p>&#160;</p>  <h1>Where do I find MPs?</h1>  <p>A number of resources outside of the OpsMgr Console are available for keeping up to date with the latest MPs.</p>  <ul>   <li><a title="https://systemcenter.pinpoint.microsoft.com/en-US/applications/search/operations-manager-d11?sort=released&amp;q=" href="https://systemcenter.pinpoint.microsoft.com/en-US/applications/search/operations-manager-d11?sort=released&amp;q=" target="_blank">Systems Center Marketplace on PinPoint</a> is a website that keeps track of the latest MP offerings from Microsoft and 3<sup>rd</sup> parties. Good for downloading the MP guide at the same time.</li>    <li>The <a title="https://blogs.technet.com/b/momteam/" href="https://blogs.technet.com/b/momteam/" target="_blank">OpsMgr Engineering team blog</a> will often post information regarding new MPs.</li>    <li>A new <a title="https://social.technet.microsoft.com/wiki/contents/articles/16174.microsoft-management-packs.aspx" href="https://social.technet.microsoft.com/wiki/contents/articles/16174.microsoft-management-packs.aspx" target="_blank">TechNet Wiki from Daniel Savage</a> is intended to be a one stop shop for Microsoft MPs.</li>    <li>Fellow PFE, Stefan Stranger, has posted a blog on <a title="https://blogs.technet.com/b/stefan_stranger/archive/2013/03/13/finding-management-packs-from-microsoft-download-website-using-powershell.aspx" href="https://blogs.technet.com/b/stefan_stranger/archive/2013/03/13/finding-management-packs-from-microsoft-download-website-using-powershell.aspx" target="_blank">using PowerShell to extract the list of MPs from the catalog</a>. </li>    <li>A number of Microsoft bloggers will either post on their site (such as Kevin Holman) or tweet when new MPs are released (such as myself!).</li> </ul>  <p>&#160;</p>  <p>Finally, in the Operations Manager Administrator Console, an option exists to download MPs. </p>  <h3>Downloading MPs </h3>  <p>In the <strong>Administrator Console</strong>, under <strong>Administration</strong>, click on <strong>Management Packs</strong>. There are two actions on the right side pane, “Download Management Packs…” and “Import Management Packs…” (see below):</p>  <ul></ul>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/2425.image_6EAF157C.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/2425.image_5F00_6EAF157C.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/2352.image_thumb_4D4F6FE0.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/2352.image_5F00_thumb_5F00_4D4F6FE0.png" width="604" height="182" /></a></p>  <p>After clicking on Download Management Packs…, click on the <strong>Add</strong> button (see below):</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/3056.image_6C9216B3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/3056.image_5F00_6C9216B3.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/7585.image_thumb_2BEFCA44.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/7585.image_5F00_thumb_5F00_2BEFCA44.png" width="608" height="311" /></a></p>  <p>Click on the <strong>Search</strong> button to look for all MPs available in the catalog (below). Feel free to type in keywords in the <strong>Find</strong> field for something specific (like SharePoint) and also experiment with the options in the <strong>View</strong> field:</p>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/1738.image_6B4D7DD4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/1738.image_5F00_6B4D7DD4.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/2235.image_thumb_11AF6120.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/2235.image_5F00_thumb_5F00_11AF6120.png" width="614" height="423" /></a></p>  <p>&#160;</p>  <p>A<strong> word of caution</strong> on using the administrator console directly to update management packs. Be careful if you<strong> import MPs directly from the MP catalog to only do one or two at a time</strong>. A few reasons for this: </p>  <ol>   <li>The MP catalog allows you to easily import multiple MPs at a time, a practice that could introduce a lot of noise in an environment and make it difficult to tune MPs. </li>    <li>The MP catalog also allows you to skip over reviewing the MP guide, a practice that should be observed. After all, administrators will usually review the content of Service Packs before applying them to operating systems or applications.</li>    <li>It’s also easy to inadvertently import MPs in other languages.</li> </ol>  <p>&#160;</p>  <ol></ol>  <h3>Importing MPs</h3>  <p>Before importing MPs into your environment, download them along with their guide. Ideally you want to maintain an offline store of the MPs imported in the environment. Download them on a network location so that you have a record of which MPs were imported and when.</p>  <p>A little trick exists in the console that often goes unnoticed: under the <strong>Information</strong> column in the catalog wizard is a hidden link to the MP guide. Click on it to download the MP guide. </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/3817.image_14E14908.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/3817.image_5F00_14E14908.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/3264.image_thumb_704FBB83.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/3264.image_5F00_thumb_5F00_704FBB83.png" width="623" height="205" /></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/95/86/metablogapi/0624.image_536696AE.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/0624.image_5F00_536696AE.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/1157.image_thumb_60CCA9B4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/1157.image_5F00_thumb_5F00_60CCA9B4.png" width="622" height="238" /></a></p>  <p>&#160;</p>  <p>After reviewing the MP guide–a quick process for updates, since you’ve already reviewed the MP guide when first imported (<img class="wlEmoticon wlEmoticon-smile" alt="Smile" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/0574.wlEmoticon-smile_67138042.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/0574.wlEmoticon_2D00_smile_5F00_67138042.png" />)—you should only need to review the changes. Pay special attention to rules and monitors that may have been disabled or deprecated or thresholds that may have changed. This could resolve in alerts that you expect, but are no longer raised. Import the MPs one by one. </p>  <p>Once the updated MPs have been imported, review any new alerts that may be raised.</p>  <h1>Final Thoughts</h1>  <p>Keeping the management packs in your environment up to date is important. MPs are updated to be more efficient, reduce noise, enable new monitoring scenarios, and address errors or issues that an MP could have encountered. Updating your MPs should be done regularly, ideally once a month.</p>  <p>Comments welcomed.</p>]]></content:encoded>
    </item>
    <item>
      <title>Creating an Alert View to Group Alerts Generated by Monitors Versus Rules</title>
      <link>https://docs.microsoft.com/archive/blogs/michelaudet/creating-an-alert-view-to-group-alerts-generated-by-monitors-versus-rules</link>
      <pubDate>Fri, 04 Jan 2013 07:07:45 GMT</pubDate>
      <dc:creator><![CDATA[Michel Audet [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/michelaudet/2013/01/04/creating-an-alert-view-to-group-alerts-generated-by-monitors-versus-rules/</guid>
      <description><![CDATA[In OpsMgr 2007 and 2012, alerts are generated by either monitors or rules. Monitors are used to...]]></description>
      <content:encoded><![CDATA[<p>In OpsMgr 2007 and 2012, alerts are generated by either monitors or rules. Monitors are used to represent the health of a component while rules are generally used to collect data, yet they can generate alerts as well. Many OpsMgr operators that focus their efforts on resolving issues in their environment often do not make the distinction between the two mechanisms for generating alerts and will sometimes close long standing alerts to “see which alerts are being raised again”. </p>  <p>The TechNet library has a good entry on the <a href="https://technet.microsoft.com/library/hh212903.aspx" target="_blank">impact of closing alerts generated by monitors or rules</a>, but here’s the crux of it:</p>  <ol>   <li>Closing alerts generated by rules is generally ok. If the alert condition still exists, the alert will be raised again.</li>    <li>Closing alerts generated by monitors will not be raised again if the condition still exists.</li> </ol>  <p>&#160;</p>  <p>Manually closing alerts raised by monitors is generally bad practice. Monitors will not raise an alert again unless their state goes back to healthy <em>then</em> to unhealthy.</p>  <p>Why is this bad? Well, for one thing, the health model of a particular component goes out of sync with reality – this means that what you see in OpsMgr doesn’t reflect reality. This reduces the effectiveness of OpsMgr and the value of centralized monitoring.</p>  <p>The reality of many IT Monitoring teams, however, is that not every alert can be attended to, especially during periods of transition such as an influx of new servers/applications or the introduction of a new management pack (i.e., the tuning or stabilization period). </p>  <p>To help you during those times, wouldn’t it be nice to have an alert view that tells you which alerts have been raised by monitors and which alerts have been raised by rules? In OpsMgr 2012, you can do that thanks to widgets.</p>  <p><em>Note: in OpsMgr 2007 and later you can find this information in the alert details. In this post, however, you’ll create a view so that you can see at a glance the split between the two types of alerts.</em></p>  <hr />  <h1>Steps</h1>  <ul>   <li>In the OpsMgr administrator console, click on the <strong>Monitoring</strong> button and right-click on <strong>Monitoring</strong>, <strong>New</strong>, <strong>Dashboard View</strong></li> </ul>  <p>&#160;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/3733.image_3E1F2F14.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/3733.image_5F00_3E1F2F14.png"><img title="image" style="margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/7522.image_thumb_126E6518.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/7522.image_5F00_thumb_5F00_126E6518.png" width="441" height="289" /></a></p>  <ul>   <li>In the <strong>Select a dashboard layout or widget template</strong> window, select <strong>Column Layout</strong>. Click <strong>Next</strong>.</li> </ul>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/2248.image_494B4A0F.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/2248.image_5F00_494B4A0F.png"><img title="image" style="margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/5481.image_thumb_0FC83A18.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/5481.image_5F00_thumb_5F00_0FC83A18.png" width="447" height="165" /></a></p>  <ul>   <li>In the <strong>Enter a friendly name and description</strong> window, type a name for your view (e.g., Contoso Alerts by Type). Optionally, put in information to describe the view in the <strong>Description</strong> section. Click <strong>Next</strong>.</li>    <li>In the <strong>Specify the number of columns</strong> window, leave the <strong>Number of columns</strong> to <strong>1</strong>. Click <strong>Next</strong>.</li> </ul>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/5140.image_6417701B.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/5140.image_5F00_6417701B.png"><img title="image" style="margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/4807.image_thumb_6D73354F.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/4807.image_5F00_thumb_5F00_6D73354F.png" width="400" height="228" /></a></p>  <ul>   <li>On the <strong>Summary</strong> page, click <strong>Create</strong>.</li>    <li>On the <strong>Completion</strong> page, click <strong>Close</strong>.</li> </ul>  <p>&#160;</p>  <ul>   <li>Click on the newly created dashboard view, which will be blank, and click on the <strong>Click to add widget… </strong>link.</li> </ul>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/5481.image_28C69B0E.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/5481.image_5F00_28C69B0E.png"><img title="image" style="margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/6545.image_thumb_2F79A491.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/6545.image_5F00_thumb_5F00_2F79A491.png" width="337" height="250" /></a></p>  <ul>   <li>In the <strong>Select a dashboard layout or widget template</strong> window, select the <strong>Alert Widget</strong> template. Click <strong>Next</strong>.</li> </ul>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/8117.image_43FEF40F.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/8117.image_5F00_43FEF40F.png"><img title="image" style="margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/8203.image_thumb_184E2A13.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/8203.image_5F00_thumb_5F00_184E2A13.png" width="525" height="278" /></a></p>  <ul>   <li>In the <strong>Enter a friendly name and description</strong> window, type in a descriptive name (e.g., Contoso Monitors vs. Rules Alerts). Optionally, enter a description for the widget in the <strong>Description</strong> field. Click <strong>Next</strong>.</li>    <li>In the <strong>Specify the Scope</strong> window, leave it to <strong>(All)</strong>. Click <strong>Next</strong>.</li>    <li>In the <strong>Specify the Criteria</strong> window, select the desired criteria. For example, to display <strong>all open alerts</strong>, select the <strong>Critical</strong>, <strong>Warning</strong>, and <strong>Information</strong> severities along with the <strong>New (0)</strong> resolution states. Click <strong>Next</strong>.</li> </ul>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/0184.image_7A6FA611.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/0184.image_5F00_7A6FA611.png"><img title="image" style="margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/3312.image_thumb_40EC961A.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/3312.image_5F00_thumb_5F00_40EC961A.png" width="529" height="345" /></a></p>  <p>&#160;</p>  <ul>   <li>In the <strong>Display</strong> window, select the display preferences such as severity, name, age, repeat count, etc. </li>    <li>Still in the same page, select the column <strong>Is Monitor Alert</strong> and add it to the <strong>Group by</strong> field. <em>This is the key to our view</em>. Click <strong>Next</strong>.</li> </ul>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/7041.image_3C09E25E.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/7041.image_5F00_3C09E25E.png"><img title="image" style="margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/0268.image_thumb_2954E8A7.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/0268.image_5F00_thumb_5F00_2954E8A7.png" width="543" height="402" /></a></p>  <ul>   <li>On the <strong>Summary</strong> page, click <strong>Create</strong>.</li>    <li>On the <strong>Completion</strong> page, click <strong>Close</strong>.</li> </ul>  <p>The dashboard view will now display alerts grouped by monitors (Is Monitor = True) or rules (Is Monitor = False).</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/5481.pic1_1_004CDA5C.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/5481.pic1_5F00_1_5F00_004CDA5C.png"><img title="pic1_1" style="display: inline; background-image: none;" border="0" alt="pic1_1" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/8512.pic1_1_thumb_744AEA27.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/8512.pic1_5F00_1_5F00_thumb_5F00_744AEA27.png" width="599" height="446" /></a></p>  <p>&#160;</p>  <p>This view will now help operators and support personnel triage the alerts a bit further.</p>  <p>Hope this helps! Comments are welcome!</p>]]></content:encoded>
    </item>
    <item>
      <title>Monitoring System Uptime with VMPD and OpsMgr Authoring Console</title>
      <link>https://docs.microsoft.com/archive/blogs/michelaudet/monitoring-system-uptime-with-vmpd-and-opsmgr-authoring-console</link>
      <pubDate>Fri, 30 Nov 2012 06:57:50 GMT</pubDate>
      <dc:creator><![CDATA[Michel Audet [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/michelaudet/2012/11/30/monitoring-system-uptime-with-vmpd-and-opsmgr-authoring-console/</guid>
      <description><![CDATA[In this post, I’ll be using the Visio Management Pack Designer (VMPD) to quickly create a Management...]]></description>
      <content:encoded><![CDATA[<p align="justify">In this post, I’ll be using the Visio Management Pack Designer (VMPD) to quickly create a Management Pack (MP) to monitor how long servers have been running and generate an alert if they’ve been running longer than a specified period of time. </p>  <p align="justify">I’ll also be making a quick modification to the MP using the Operations Manager Authoring Console to demonstrate how the MP Authoring lifecycle works out when using multiple authoring tools.</p>  <p align="justify"><em>Note: For more details on using VMPD including an excellent example, I highly recommend this </em><a href="https://social.technet.microsoft.com/wiki/contents/articles/6941.visio-management-pack-designer-example-en-us.aspx"><em>TechNet Wiki</em></a><em>.</em></p>  <p>The overall steps for monitoring system uptime with VMPD and OpsMgr Authoring Console are…</p>  <ol>   <li>Create the base MP using VMPD</li>    <li>Modify the MP using the OpsMgr Authoring Console</li>    <li>Deploy the MP</li> </ol>  <p>Let’s get going!</p>  <hr />  <h1>Step 1 – Create the Base MP Using VMPD</h1>  <p align="justify"><em>Note: If you’re not familiar with how to setup the VMPD tool and the required prerequisites, first refer to this </em><a href="https://social.technet.microsoft.com/wiki/contents/articles/6936.installing-the-visio-management-pack-designer.aspx" target="_blank"><em>TechNet Wiki</em></a><em>.</em></p>  <p>Fill in the Management Pack information using the screen shot below as a guide. Change the value of “Connector Mode” to “FALSE”.</p> <font style="background-color: rgb(255, 255, 0);"></font><font style="background-color: rgb(255, 255, 0);"></font><font style="background-color: rgb(255, 255, 0);"></font>  <p align="justify">&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/6622.image_6F2D6B9B.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/6622.image_5F00_6F2D6B9B.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/1351.image_thumb_7C937EA1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/1351.image_5F00_thumb_5F00_7C937EA1.png" width="468" height="164" /></a></p>  <p>&#160;</p>  <p>Next, drag over a <strong>Server Component</strong> shape and fill in your discovery using the information below as a guide.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/0361.image_7ED0075D.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/0361.image_5F00_7ED0075D.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/5732.image_thumb_733A4A1E.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/5732.image_5F00_thumb_5F00_733A4A1E.png" width="478" height="243" /></a></p>  <p align="justify">I want to point out here that the <strong>Registry Key</strong> used is <strong>Software\Microsoft\Windows </strong>– meaning all Windows installations. I did this mainly for the purpose of this blog posting; however, in an enterprise setting, you want to make sure that you target your discovery as specific to your needs as possible. If you don’t need to implement this monitoring scenario on every single Windows agent deployed, pick something more specific. Many customers will add registry keys to their server installations for this purpose (e.g., Software\Contoso\LOB1, Software\Contoso\infrastructure, etc.)</p>  <p align="justify">Next, drag over the <strong>Windows Performance Counter Monitor</strong> shape and fill it in using the information below as a guide.</p>  <p>&#160; <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/7608.image_0E72A320.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/7608.image_5F00_0E72A320.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/4064.image_thumb_42A6CC66.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/4064.image_5F00_thumb_5F00_42A6CC66.png" width="450" height="348" /></a></p>  <p align="justify">The hard part here is to make sure that you have the right performance counter <strong>Object</strong> and <strong>Counter</strong>.</p>  <p align="justify">Note that this simple screen provides you with…</p>  <ul>   <li>     <div align="justify">A monitor with thresholds set and alert configured</div>   </li>    <li>     <div align="justify">A performance collection rule</div>   </li>    <li>     <div align="justify">A report</div>   </li> </ul>  <p align="justify">Long time Authors will surely realize how much effort has been saved in a few clicks. Also note that behind the scene, the VMPD will create monitoring views for you as well.</p>  <p align="justify">Lastly, generate the MP. For more information on this step, see this <a href="https://social.technet.microsoft.com/wiki/contents/articles/6940.validating-a-drawing-and-generating-a-management-pack-in-visio-management-pack-designer.aspx" target="_blank">TechNet Wiki article</a>.</p>  <p align="justify">You now have a fully functional MP that will work in either an OpsMgr 2007R2 or OpsMgr 2012 environment. </p>  <p align="justify">However, some configurations should be modified, but just can’t be done in the VMPD. For example, you were unable to specify how often your discovery is running. You may wish to check that out and perhaps modify the value.</p>  <hr />  <h1>Step 2 – Modify the MP Using the OpsMgr Authoring Console</h1>  <p align="justify">Next, open up the MP in the Authoring Console. Feel free to poke around to see what’s been created for you already. Veteran MP Authors should be impressed <img class="wlEmoticon wlEmoticon-smile" alt="Smile" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/8272.wlEmoticon-smile_04AD3BA8.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/8272.wlEmoticon_2D00_smile_5F00_04AD3BA8.png" />.</p>  <p align="justify">Since you are monitoring against all Windows Servers, you probably want to change the discovery schedule. Find the <strong>SEED discovery</strong>; right click; click on <strong>Property</strong> and modify it (see below). The default value is 14400 (4 hrs).</p>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/8371.image_0B60452B.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/8371.image_5F00_0B60452B.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/0361.image_thumb_5485F0E4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/0361.image_5F00_thumb_5F00_5485F0E4.png" width="523" height="372" /></a></p>  <p align="justify">If you are new to MP Authoring, I may have lost you at “SEED discovery”. No sweat; here’s a good <a href="https://social.technet.microsoft.com/wiki/contents/articles/mp-best-practice-using-the-seed-pattern-for-easy-discovery.aspx" target="_blank">explanation</a> and how/when to use it. </p>  <p align="justify">Now here’s the key. When you generated the MP using the VMPD, you began a one-way trip with your MP. Since Visio cannot read the MP format (sealed or not), you cannot open a generated MP using Visio.</p>  <p align="justify">What does this means? Well, for one thing, once you make changes to the MP (which you did using the Authoring Console), if you want to change your base MP (for example, you also want to add Windows Event Monitors/Rules), you have two choices:</p>  <ol>   <li>     <div align="justify">Add the extra components (e.g., Windows Event Monitor/Rules) to the MP using the <strong>Authoring Console</strong>, OR</div>   </li>    <p align="justify">&#160;</p>    <li>     <div align="justify">Add the extra components to the original Visio drawing, <strong><u>re-generate</u></strong> the MP, and remake the modifications to the <u><strong>new</strong></u> MP using the Authoring Console.</div>   </li>    <p align="justify"></p> </ol>  <p align="justify">Depending on the extra modifications to make, you’ll need to judge where effort is best spent. If all you did was change the discovery schedule or change whether a discovery/monitor/rule is disabled by default, it may be ok to make those changes again.</p>  <p align="justify">In order to avoid confusion and mix up (you thought you added this monitor ages ago), be very diligent in your versioning and documenting of your custom MPs. For example, once you modify your MP&#160; in the Authoring Console, increment the MP version number and add a comment to the description field. See below.</p>  <p align="justify"></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/7215.image_168C6026.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/7215.image_5F00_168C6026.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/1348.image_thumb_2F1BFD76.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/1348.image_5F00_thumb_5F00_2F1BFD76.png" width="512" height="518" /></a></p>  <hr />  <h1>Step 3 – Deploy the MP</h1>  <p align="justify">Once imported, you now have custom classes, a monitor, a performance collection rule, some views, and a report, and it took you minutes to get it done using the VMPD as a base.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/3414.image_113D7975.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/3414.image_5F00_113D7975.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/3404.image_thumb_2388D0E8.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/3404.image_5F00_thumb_5F00_2388D0E8.png" width="656" height="297" /></a></p>  <hr />  <h1>Final Thoughts</h1>  <p align="justify">I’m hoping that this exercise has driven home the point on how powerful the VMPD tool is. Sure you could have created a monitor and a performance rule based on this single performance counter (system uptime) easily through the administrator console, but the addition of views and a report is where the extra work and multiple components become more tedious.</p>  <p align="justify">More importantly, you now have a good base MP on which to extend your monitoring. And you’ve also done all that work offline, while the administrator console is working against the live environment.</p>  <p align="justify">Comments welcome.</p>]]></content:encoded>
    </item>
    <item>
      <title>Translating Windows Server Performance Counter Results from French to English Using a VB Script</title>
      <link>https://docs.microsoft.com/archive/blogs/michelaudet/translating-windows-server-performance-counter-results-from-french-to-english-using-a-vb-script</link>
      <pubDate>Tue, 30 Oct 2012 19:19:40 GMT</pubDate>
      <dc:creator><![CDATA[Michel Audet [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/michelaudet/2012/10/30/translating-windows-server-performance-counter-results-from-french-to-english-using-a-vb-script/</guid>
      <description><![CDATA[Earlier this year, I was delivering an operational assessment for an OpsMgr implementation in which...]]></description>
      <content:encoded><![CDATA[<p>Earlier this year, I was delivering an operational assessment for an OpsMgr implementation in which I was looking at a number of performance counters from various Windows Servers as they relate to the overall OpsMgr environment health and configuration. One of the interesting challenges I faced was that the environment had Windows Servers installed in various languages, notably a mix of English and French.</p>  <p>Not a big deal as I’m bilingual, but for consistency, I wanted the collective results to be in one language--English.&#160; </p>  <p>I collected data from the various OpsMgr servers that were part of a particular Management Group (RMS, MS, DBs, etc.) and then saved the binaries (.blg) and then copied them to a central location. I used Perfmon to export the data as CSV files, which I was then planning on consolidating for my analysis and report.</p>  <p><em>After</em> collecting the data, I found myself needing to translate a number of column headers from French to English (for example “Disque Physique” to “Physical Disk”). </p>  <p>How did I resolve this? Using a script of course! Let’s go through the steps.</p>  <hr />  <p>Once the <a href="https://technet.microsoft.com/en-us/library/cc722148.aspx" target="_blank">data collector set has been created</a> and the data has been collecting for a certain length of time in a binary (.blg) file then… </p>  <ol>   <li>Copy the .blg file somewhere where you’ll make your modifications (e.g., c:\temp\myperfcollections) </li>    <li>Open the .blg file with <strong>Perfmon</strong>; <strong>right click</strong> on the data diagram and select <strong>Save Data As</strong>… </li>    <li>Save the data as “<strong>Text File (Comma delimited) (*.csv)</strong>” (see below)</li> </ol>  <ol>&#160; </ol>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/2816.image_32A999F2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/2816.image_5F00_32A999F2.png"><img title="image" style="margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/1731.image_thumb_1B7E1F74.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/1731.image_5F00_thumb_5F00_1B7E1F74.png" width="374" height="291" /></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/95/86/metablogapi/4035.image_7AF97072.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/4035.image_5F00_7AF97072.png"><img title="image" style="margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/1715.image_thumb_684476BB.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/1715.image_5F00_thumb_5F00_684476BB.png" width="377" height="298" /></a></p>  <p>&#160;</p>  <p>Next, create a<strong> VB Script</strong> that will create an instance of Excel and do a programmatic “find and replace”. </p>  <p>&#160;</p>  <div class="csharpcode">   <pre class="alt"><span class="lnum">   1:  </span><span class="kwrd">On</span> <span class="kwrd">Error</span> <span class="kwrd">Resume</span> <span class="kwrd">Next</span></pre>

  <pre><span class="lnum">   2:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">   3:  </span><span class="kwrd">Set</span> objExcel = CreateObject(<span class="str">&quot;Excel.Application&quot;</span>)</pre>

  <pre><span class="lnum">   4:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">   5:  </span>objExcel.Visible = <span class="kwrd">True</span></pre>

  <pre><span class="lnum">   6:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">   7:  </span><span class="kwrd">Set</span> objWorkbook = objExcel.Workbooks.Open(<span class="str">&quot;C:\temp\mgr.csv&quot;</span>)</pre>

  <pre><span class="lnum">   8:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">   9:  </span><span class="kwrd">Set</span> objWorksheet = objWorkbook.Worksheets(1)</pre>

  <pre><span class="lnum">  10:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  11:  </span><span class="kwrd">Set</span> objRange = objWorksheet.UsedRange</pre>

  <pre><span class="lnum">  12:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  13:  </span>objRange.Replace <span class="str">&quot;Disque physique&quot;</span>, <span class="str">&quot;PhysicalDisk&quot;</span></pre>

  <pre><span class="lnum">  14:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  15:  </span>objRange.Replace <span class="str">&quot;Taille de file d'attente du disque actuelle&quot;</span>, <span class="str">&quot;Current Disk Queue Length&quot;</span></pre>

  <pre><span class="lnum">  16:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  17:  </span>objRange.Replace <span class="str">&quot;Processus&quot;</span>, <span class="str">&quot;Process&quot;</span></pre>

  <pre><span class="lnum">  18:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  19:  </span>objRange.Replace <span class="str">&quot;% Temps processeur&quot;</span>, <span class="str">&quot;% Processor Time&quot;</span></pre>

  <pre><span class="lnum">  20:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  21:  </span>objRange.Replace <span class="str">&quot;Plage de travail&quot;</span>, <span class="str">&quot;Working Set&quot;</span></pre>

  <pre><span class="lnum">  22:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  23:  </span>objRange.Replace <span class="str">&quot;Fichier d'échange&quot;</span>, <span class="str">&quot;Paging File&quot;</span></pre>

  <pre><span class="lnum">  24:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  25:  </span>objRange.Replace <span class="str">&quot;Pourcentage d'utilisation&quot;</span>, <span class="str">&quot;% Usage&quot;</span></pre>

  <pre><span class="lnum">  26:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  27:  </span>objRange.Replace <span class="str">&quot;Disque logique&quot;</span>, <span class="str">&quot;LogicalDisk&quot;</span></pre>

  <pre><span class="lnum">  28:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  29:  </span>objRange.Replace <span class="str">&quot;Usage maximal&quot;</span>, <span class="str">&quot;% Usage Peak&quot;</span></pre>

  <pre><span class="lnum">  30:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  31:  </span>objRange.Replace <span class="str">&quot;Moy. disque s/écriture&quot;</span>, <span class="str">&quot;Avg. Disk sec/Write&quot;</span></pre>

  <pre><span class="lnum">  32:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  33:  </span>objRange.Replace <span class="str">&quot;Moy. disque s/lecture&quot;</span>, <span class="str">&quot;Avg. Disk sec/Read&quot;</span></pre>

  <pre><span class="lnum">  34:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  35:  </span>objRange.Replace <span class="str">&quot;% Durée d'inactivité&quot;</span>, <span class="str">&quot;% Idle Time&quot;</span></pre>

  <pre><span class="lnum">  36:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  37:  </span>objRange.Replace <span class="str">&quot;Mégaoctets libres&quot;</span>, <span class="str">&quot;Free Megabytes&quot;</span></pre>

  <pre><span class="lnum">  38:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  39:  </span>objRange.Replace <span class="str">&quot;Transferts disque/s&quot;</span>, <span class="str">&quot;Disk Transfers/sec&quot;</span></pre>

  <pre><span class="lnum">  40:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  41:  </span>objRange.Replace <span class="str">&quot;Mémoire&quot;</span>, <span class="str">&quot;Memory&quot;</span></pre>

  <pre><span class="lnum">  42:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  43:  </span>objRange.Replace <span class="str">&quot;Entrées libres en table des pages système&quot;</span>, <span class="str">&quot;Free System Page Table Entries&quot;</span></pre>

  <pre><span class="lnum">  44:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  45:  </span>objRange.Replace <span class="str">&quot;Mégaoctets disponibles&quot;</span>, <span class="str">&quot;Available MBytes&quot;</span></pre>

  <pre><span class="lnum">  46:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  47:  </span>objRange.Replace <span class="str">&quot;Système&quot;</span>, <span class="str">&quot;System&quot;</span></pre>

  <pre><span class="lnum">  48:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  49:  </span>objRange.Replace <span class="str">&quot;Octets de réserve paginée&quot;</span>, <span class="str">&quot;Pool Paged Bytes&quot;</span></pre>

  <pre><span class="lnum">  50:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  51:  </span>objRange.Replace <span class="str">&quot;Octets de réserve non paginée&quot;</span>, <span class="str">&quot;Pool Nonpaged Bytes&quot;</span></pre>

  <pre><span class="lnum">  52:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  53:  </span>objRange.Replace <span class="str">&quot;Changements de contexte/s&quot;</span>, <span class="str">&quot;Context Switches/sec&quot;</span></pre>

  <pre><span class="lnum">  54:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  55:  </span>objRange.Replace <span class="str">&quot;Longueur de la file du processeur&quot;</span>, <span class="str">&quot;Processor Queue Length&quot;</span></pre>

  <pre><span class="lnum">  56:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  57:  </span>objRange.Replace <span class="str">&quot;Temps d'activité système&quot;</span>, <span class="str">&quot;System Up Time&quot;</span></pre>

  <pre><span class="lnum">  58:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  59:  </span>objRange.Replace <span class="str">&quot;Interface réseau&quot;</span>, <span class="str">&quot;Network Interface&quot;</span></pre>

  <pre><span class="lnum">  60:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  61:  </span>objRange.Replace <span class="str">&quot;Bande passante actuelle&quot;</span>, <span class="str">&quot;Current Bandwidth&quot;</span></pre>

  <pre><span class="lnum">  62:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  63:  </span>objRange.Replace <span class="str">&quot;Total des octets/s&quot;</span>, <span class="str">&quot;Bytes Total/sec&quot;</span></pre>

  <pre><span class="lnum">  64:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  65:  </span>objRange.Replace <span class="str">&quot;Longueur de la file d'attente de sortie&quot;</span>, <span class="str">&quot;Output Queue Length&quot;</span></pre>

  <pre><span class="lnum">  66:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  67:  </span>objRange.Replace <span class="str">&quot;% Temps privilégié&quot;</span>, <span class="str">&quot;% Privileged Time&quot;</span></pre>

  <pre><span class="lnum">  68:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  69:  </span>objRange.Replace <span class="str">&quot;% Temps d'interruption&quot;</span>, <span class="str">&quot;% Interrupt Time&quot;</span></pre>

  <pre><span class="lnum">  70:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  71:  </span>objRange.Replace <span class="str">&quot;Nombre de handles&quot;</span>, <span class="str">&quot;Handle Count&quot;</span></pre>

  <pre><span class="lnum">  72:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  73:  </span>objRange.Replace <span class="str">&quot;Temps d'activité System&quot;</span>, <span class="str">&quot;System Up Time&quot;</span></pre>

  <pre><span class="lnum">  74:  </span>&#160;</pre>

  <pre class="alt"><span class="lnum">  75:  </span>objRange.Replace <span class="str">&quot;Processeur&quot;</span>, <span class="str">&quot;Processor&quot;</span></pre>
</div>


<hr />

<p>The script is straight forward--just match the objects/counters in one language for another. Feel free to create a translation between any two languages by replacing the text in the script.</p>

<p>Remember to replace the location of the CSV file in the script with your own (this one is “c:\temp\mgr.csv” – line 7) and run from an elevated command prompt.</p>

<p>I could have done this work manually, but where’s the fun in that?! Now I have another “tool” ready to go for the next occurrence and I can easily create the reverse-–flip the terms around and the script will translate from English to French.</p>

<p>QED! (Quite Easily Done!)</p>]]></content:encoded>
    </item>
    <item>
      <title>Prioritizing OpsMgr Alerts with a Distributed Applications Availability Monitor</title>
      <link>https://docs.microsoft.com/archive/blogs/michelaudet/prioritizing-opsmgr-alerts-with-a-distributed-applications-availability-monitor</link>
      <pubDate>Wed, 17 Oct 2012 18:08:00 GMT</pubDate>
      <dc:creator><![CDATA[]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/michelaudet/2012/10/17/prioritizing-opsmgr-alerts-with-a-distributed-applications-availability-monitor/</guid>
      <description><![CDATA[Getting overwhelmed with alerts in your OpsMgr environment? Not sure which alert to tackle first?...]]></description>
      <content:encoded><![CDATA[<p>Getting overwhelmed with alerts in your OpsMgr environment? Not sure which alert to tackle first? </p>  <p>Ideally, we’d like our OpsMgr environment to be fine-tuned so that the environment…</p>  <ol>   <li>only generates alerts for something that will be actionable; and</li>    <li>only collects data that has value to our organizations.</li> </ol>  <p>That sounds nice and is relatively easy to get to when you are starting an implementation of OpsMgr, but what if you’ve inherited an environment where fine tuning didn’t really go as planned?</p>  <p>Well, one option to regain control of your environment, without having to rebuild everything or take out every management pack, is to use Distributed Applications to surface what’s critical to your organization.</p>  <p><u>What is DA?</u></p>  <p>Distributed Applications, DA, (not to be confused with Direct Access–-an awesome piece of technology in its own right) is a feature in OpsMgr that allows us to combine and group any discovered objects into a logical arrangement and roll up the health of the group into one availability monitor thus generating a single alert. This last part is key and often overlooked when building a DA.</p>  <p><u>A Scenario – Database Tiers </u></p>  <p>Let’s say we’re looking after SQL database health and availability in our organization using OpsMgr. In a large organization, OpsMgr may discover and monitor hundreds or even thousands of SQL DBs, each one that can go offline, run out of space, fail to backup, experience disk IO contention, etc. How can we prioritize these alerts? </p>  <p>In the case of databases, some good tricks exist out there to reduce non-actionable alerts (like disabling the discovery of <a href="https://www.scom2k7.com/disabling-sql-express-instance-discoveries/">certain DBs altogether</a>), but maybe we still have a large number of DBs where things can go wrong.</p>  <p>The SQL DB view is a good place to start.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/2845.image_084BA43D.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/2845.image_5F00_084BA43D.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/2330.image_thumb_79A619B9.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/2330.image_5F00_thumb_5F00_79A619B9.png" width="187" height="303" /></a></p>  <p>We can then reduce this administrative task further and embed some simple logic into our monitoring.</p>  <p><u>Creating our Simple DA – All Tier 1 DBs</u></p>  <ul>   <li>Start the OpsMgr <b>Administrator Console.</b></li>    <li>Under <b>Authoring</b>, right-click on <b>Distributed Applications</b> and <b>Create a new distributed application…</b></li> </ul>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/4011.image_0295ABF9.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/4011.image_5F00_0295ABF9.png"><img title="image" style="margin: 0px; display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/8132.image_thumb_3016CBBC.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/8132.image_5F00_thumb_5F00_3016CBBC.png" width="244" height="106" /></a></p>  <p>&#160;</p>  <ul>   <li>When the <strong>Distributed Application Designer</strong> wizard comes up, fill in the information. <em>Remember to be accurate and descriptive to facilitate reuse and troubleshooting.</em></li> </ul>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/1362.image_5678AF07.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/1362.image_5F00_5678AF07.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/7144.image_thumb_3B42E6B7.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/7144.image_5F00_thumb_5F00_3B42E6B7.png" width="465" height="421" /></a></p>  <ul>   <li>Chose the <b>Blank(Advanced)</b> template so that we can build the DA as we want. Click <b>OK</b>. </li>    <li>On the next screen, we look for all the DBs that have been discovered. </li>    <li>Click on <b>Advanced Search</b></li> </ul>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/8231.image_6A28294C.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/8231.image_5F00_6A28294C.png"><img title="image" style="margin: 0px; display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/4812.image_thumb_0C7FBEC6.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/4812.image_5F00_thumb_5F00_0C7FBEC6.png" width="244" height="154" /></a>,</p>  <p><strong></strong></p>  <ul>   <li>In the <b>Advanced Search</b> window, under <b>Search for:</b> select <b>Database</b> and click <b>Search</b> <em>(leaving the search field blank will return any value)</em>. All the discovered objects of type Database are returned.</li>    <li>Select the databases that you want to include in your DA and click <strong>Add.</strong></li> </ul>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/5504.image_6EA13AC4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/5504.image_5F00_6EA13AC4.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/0218.image_thumb_108C9D49.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/0218.image_5F00_thumb_5F00_108C9D49.png" width="551" height="442" /></a></p>  <p>&#160;</p>  <ul>   <li>On the <strong>Advanced Search Result</strong> pane, right click on one of the databases and select <strong>add to New Component Group</strong> (since we haven’t created one yet).</li> </ul>  <ul>   <li>Name your component and click <strong>OK</strong>:</li> </ul>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/0211.image_36F11145.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/0211.image_5F00_36F11145.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/2055.image_thumb_71D8440E.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/2055.image_5F00_thumb_5F00_71D8440E.png" width="370" height="443" /></a></p>  <ul>   <li>Select the rest of the databases from the search result and right click; then add to the component group we just created. </li>    <li><b>Save</b> the distributed application and then <b>Configure the Health Rollup – Availability</b> at the bottom:</li> </ul>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/1778.image_111D7B93.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/1778.image_5F00_111D7B93.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/6661.image_thumb_3A281A8F.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/6661.image_5F00_thumb_5F00_3A281A8F.png" width="486" height="305" /></a></p>  <ul>   <li>After clicking on <b>Configure Health Rollup – Availability</b>, you can change the various parameters such as alert severity, priority, etc. </li>    <li>The parameter we are interested in here is <b>Generates Alert,</b> which is disabled by default. Change the <b>Override Value</b> to <b>True</b> and click <b>Ok</b>.</li> </ul>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/7142.image_1E19EC55.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/7142.image_5F00_1E19EC55.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/7144.image_thumb_19373899.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/7144.image_5F00_thumb_5F00_19373899.png" width="474" height="306" /></a></p>  <p>Now let’s test to see what happens. When we put one of our databases “test_cloned” offline, an alert is generated:</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/4034.image_77708169.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/4034.image_5F00_77708169.png"><img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/86/metablogapi/1307.image_thumb_077F5021.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-86-metablogapi/1307.image_5F00_thumb_5F00_077F5021.png" width="567" height="269" /></a></p>  <p>So how are we better off than before?</p>  <p>The idea is to help us prioritize our remediation work while we develop a longer term strategy and tune our environment. So here’s what this DA alert gives us:</p>  <ol>   <li>One single alert for any of the tier 1 DBs instead of an alert for each single one. From a notification subscription perspective, we get one alert and get on it. All DBs in that DA are critical.</li>    <li>Similarly, for our tier 2 DBs, we could then create a tier 2 database DA (i.e., Contoso Tier 2 DBs). If both alerts are raised within the same timeframe, we know which one to devote resources to first – and that’s the whole point!</li> </ol>  <p>I’d like to stress once more that this tactic shouldn’t be used as a free pass to ignore the other alerts. It’s just a way to have the critical alerts filter out to the top. If you can only work on a limited number of alerts in one day, this technique allows you to address the key items first.</p>  <p>What do you think? Would a DA allow us to better prioritize our alerts?</p>  <p>For more information on Distributed Applications, see: <a href="https://technet.microsoft.com/en-us/library/hh457612.aspx">https://technet.microsoft.com/en-us/library/hh457612.aspx</a></p>]]></content:encoded>
    </item>
  </channel>
</rss>