<?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>System Center Ramblings</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/systemcenterramblings/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/systemcenterramblings/feed.xml</link>
    <description>Rambling Discoveries and Observations relating to the System Center Suite with a focus on integration between the various components</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:36:00 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>SCOM - Creating a Visio Dashboard and Publishing to SharePoint</title>
      <link>https://docs.microsoft.com/archive/blogs/systemcenterramblings/scom-creating-a-visio-dashboard-and-publishing-to-sharepoint</link>
      <pubDate>Fri, 31 Oct 2014 21:44:59 GMT</pubDate>
      <dc:creator><![CDATA[Nathan Olmstead]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/systemcenterramblings/2014/10/31/scom-creating-a-visio-dashboard-and-publishing-to-sharepoint/</guid>
      <description><![CDATA[There are a lot of great dashboard capabilities in System Center 2012 R2. &nbsp;In this post I will...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family:verdana,geneva;font-size:small;">There are a lot of great dashboard capabilities in System Center 2012 R2. &nbsp;In this post I will be walking through the process to create a customized Visio Dashboard that displays the current health state of an Active Directory environment based on the information contained in System Center Operations Manager.&nbsp;&nbsp; I have also attached a copy of the base Visio drawing used in the examples below.&nbsp; I hope this is helpful in providing ideas as to how Visio and SharePoint can be used to display SCOM data in new and useful ways.</span></p>
<p><span style="font-family:verdana,geneva;font-size:small;">This all should work assuming the following pre-requisites are met:</span></p>
<p><span style="font-family:verdana,geneva;font-size:small;">- System Center Operations Manager 2012 R2 is installed. </span><br /><span style="font-family:verdana,geneva;font-size:small;">- SharePoint 2010 or greater is installed (steps below are for SharePoint 2013).</span><br /><span style="font-family:verdana,geneva;font-size:small;">- The Visio Web Part for SharePoint is installed per the following link: <a href="https://www.microsoft.com/en-us/download/details.aspx?id=29268"><span style="color:#0563c1;">https://www.microsoft.com/en-us/download/details.aspx?id=29268|<br /></span></a>- Visio 2010 or Greater is installed on your system</span><br /><span style="font-family:verdana,geneva;font-size:small;">- The Visio 2010 Add-in for System Center Operations Manager 2012 is installed per the following link: <a href="https://technet.microsoft.com/en-us/library/hh920815.aspx"><span style="color:#0563c1;">https://technet.microsoft.com/en-us/library/hh920815.aspx</span></a></span></p>
<p><span style="font-family:verdana,geneva;font-size:small;">Steps to Create and Configure&nbsp;a Dashboard:</span></p>
<p><span style="font-family:verdana,geneva;font-size:small;">Create the base Drawing Used for displaying your data, this can contain actual drawings or shapes.&nbsp; Mine is shown here:</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/Dashboard_Blank.JPG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/Dashboard_5F00_Blank.JPG"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/Dashboard_Blank.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/Dashboard_5F00_Blank.JPG" border="0" /></a></p>
<p><span style="font-family:verdana,geneva;font-size:small;">Configure the Data Source to connect to your Management Server and Web Console.&nbsp; To do this, select the &#39;Operations Manager&#39; Tab on the ribbon in Visio, and click &#39;Configure&#39;.</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/Configure.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/Configure.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/Configure.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/Configure.jpg" border="0" /></a></p>
<p><span style="font-family:verdana,geneva;font-size:small;">Enter the FQDN of your Management Server and click &#39;Look up web console address&#39; to ensure that the Management Server is recognized. Select the checkbox for Automatically refresh data and enter the refresh interval.</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/Configure2.JPG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/Configure2.JPG"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/Configure2.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/Configure2.JPG" border="0" /></a></p>
<p><span style="font-family:verdana,geneva;font-size:small;">Add Data Links for each object that you want to monitor the state of.&nbsp; This step can take a while depending on the number of objects.&nbsp; In my example we are monitoring Domain Controller Health.&nbsp; For Each Domain Controller I selected nine individual objects.&nbsp; The first and obvious one is &#39;Windows Computer&#39;, This object is a roll up of a large number of things such as availability, performance, etc...&nbsp; To add this Data Link click the &#39;Operations Manager&#39; tab on the ribbon in Visio and select &#39;Add Data Links&#39;</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/DataLinks1.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/DataLinks1.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/DataLinks1.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/DataLinks1.jpg" border="0" /></a></p>
<p><span style="font-family:verdana,geneva;font-size:small;">When the Add Data Links prompt appears, select the &#39;Windows Computer Class&#39;, Select the names of each Computer Object you want to monitor in this Dashboards and click &#39;Add&#39;</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/DataLinks2.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/DataLinks2.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/DataLinks2.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/DataLinks2.jpg" border="0" /></a></p>
<p><span style="font-family:verdana,geneva;font-size:small;">To link this newly added object to a shape in the drawing simply select the object from the External Data box and drag it to the shape where you want to represent the health of that object</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/DataLinks3.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/DataLinks3.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/DataLinks3.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/DataLinks3.jpg" border="0" /></a></p>
<p><span style="font-family:verdana,geneva;font-size:small;">Repeat this process for every class and object that you want to monitor.&nbsp; The majority of the classes in this particular dashboard can be found in the &#39;Active Directory Server 2008 and above (Discovery)&#39; Management Pack.&nbsp; To see these you will need to select &#39;Other class...&#39; and uncheck the box for &#39;Show only commonly-used classes&#39;.&nbsp; Select each class and all objects associated with the objects you want to monitor.<br /></span></p>
<p><span style="font-family:verdana,geneva;font-size:small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/2043.classes.JPG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/2043.classes.JPG"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/2043.classes.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/2043.classes.JPG" border="0" /></a><br /></span></p>
<p><span style="font-family:verdana,geneva;font-size:small;">Notice that in my environment the default data graphic automatically put a green check box in the top right corner indicating that the computer object is healthy.&nbsp; This might vary depending on what you have in Visio.&nbsp; I like the green check box, but would prefer that it is centered in the box. &nbsp;To view and edit the data graphics select the objects that you want your changes to apply to in the Visio drawing and click the &#39;Data&#39; tab on the ribbon.</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/DataGraphics2.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/DataGraphics2.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/DataGraphics2.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/DataGraphics2.jpg" border="0" /></a></p>
<p><span style="font-family:verdana,geneva;font-size:small;">The available data graphics will be shown.&nbsp; You can simple select one of them, create a new data graphic, or edit an existing graphic.&nbsp; Often I use colors instead of icons to indicate health.&nbsp; In this example I will just edit an existing data graphic so that we only see the health icons in the center of the shape.&nbsp; After clicking &#39;Edit Data Graphic&#39; I deleted all rows except &#39;={Health State}&amp;{Is Available}&amp;{In Maintenance}&amp;{Managed}&#39;. </span></p>
<p><span style="font-family:verdana,geneva;font-size:small;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/0272.editgraphic.JPG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/0272.editgraphic.JPG"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/0272.editgraphic.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/0272.editgraphic.JPG" border="0" /></a></span></p>
<p><span style="font-family:verdana,geneva;font-size:small;">On the remaining row click &#39;Edit Item&#39;, change Horizental to Center and Vertical to Middle.</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/2438.editgraphic2.JPG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/2438.editgraphic2.JPG"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/2438.editgraphic2.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/2438.editgraphic2.JPG" border="0" /></a></p>
<p><span style="font-family:verdana,geneva;font-size:small;">Once you have added all data objects, linked them to their associated objects, and updated the data graphics your dashboard should look something like this.</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/6431.Dashboard.JPG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/6431.Dashboard.JPG"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/6431.Dashboard.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/6431.Dashboard.JPG" border="0" /></a></p>
<p><span style="font-family:verdana,geneva;font-size:small;">Make sure to save the file as a .vdw (Visio Web Drawing) file.&nbsp; To save to SharePoint either click &#39;Save and Send&#39; or &#39;Save As&#39;, enter the location of a folder on your sharepoint site.</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/5074.SaveAs.JPG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/5074.SaveAs.JPG"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/5074.SaveAs.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/5074.SaveAs.JPG" border="0" /></a></p>
<p><span style="font-family:verdana,geneva;font-size:small;">To add the Visio drawing to a SharePoint page.&nbsp; Edit the page, Click Insert&nbsp;&gt; Web Part.&nbsp;&nbsp;Expand &#39;Business Data&#39; and select &#39;Visio Web Access&#39;</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/6354.InsertWebPart.JPG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/6354.InsertWebPart.JPG"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/6354.InsertWebPart.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/6354.InsertWebPart.JPG" border="0" /></a></p>
<p><span style="font-family:verdana,geneva;font-size:small;">Edit the Web Part</span></p>
<p><span style="font-family:verdana,geneva;font-size:small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/editwebpart.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/editwebpart.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/editwebpart.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/editwebpart.jpg" border="0" /></a><br /></span></p>
<p><span style="font-family:verdana,geneva;font-size:small;">Click the box next to the &#39;Web Drawing URL&#39; and browse to the location where you earlier saved the .vdw file.&nbsp; Set the refresh rate for the drawing and any other settings required for your drawing and click ok.<br /></span></p>
<p><span style="font-family:verdana,geneva;font-size:small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/3438.WebPart3.JPG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/3438.WebPart3.JPG"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/3438.WebPart3.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/3438.WebPart3.JPG" border="0" /></a><br /></span></p>
<p><span style="font-family:verdana,geneva;font-size:small;">Save the page.&nbsp; The final product should look something like this:<br /></span></p>
<p><span style="font-family:verdana,geneva;font-size:small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/4130.SP_Dashboard.JPG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/4130.SP_5F00_Dashboard.JPG"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/4130.SP_Dashboard.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/4130.SP_5F00_Dashboard.JPG" border="0" /></a><br /></span></p>
<p><span style="font-family:verdana,geneva;font-size:small;">I hope this has been helpful in understanding the types of monitoring data that can be easily displayed in a custom Visio SCOM Dashboard.&nbsp;<br /></span></p>
<p><span style="font-family:verdana,geneva;font-size:small;">&nbsp;</span></p>
<p></p>
<p></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/01/10091/00/00/03/64/04/34/Active_Directory_Overview_Template.vdw" original-url="https://blogs.technet.com/cfs-filesystemfile.ashx/__key/telligent-evolution-components-attachments/01-10091-00-00-03-64-04-34/Active_5F00_Directory_5F00_Overview_5F00_Template.vdw">Active_Directory_Overview_Template.vdw</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Monitoring for GPO Modifications with SCOM</title>
      <link>https://docs.microsoft.com/archive/blogs/systemcenterramblings/monitoring-for-gpo-modifications-with-scom</link>
      <pubDate>Tue, 23 Sep 2014 17:42:20 GMT</pubDate>
      <dc:creator><![CDATA[Nathan Olmstead]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/systemcenterramblings/2014/09/23/monitoring-for-gpo-modifications-with-scom/</guid>
      <description><![CDATA[--Updated 8/16/16--

I recently had a request to assist in monitoring to changes to Group Policies...]]></description>
      <content:encoded><![CDATA[--Updated 8/16/16--

<span style="font-family: arial,helvetica,sans-serif;font-size: small">I recently had a </span>request to assist in monitoring to changes to Group Policies using System Center Operations Manager 2012 R2.  We found an existing TechNet article that described the process, but the steps were slightly outdated and referred to a SCOM 2007 Environment.  However, it provided a good starting point.  <a href="https://social.technet.microsoft.com/wiki/contents/articles/3862.scom-monitoring-gpo-changes-using-scom-and-powershell.aspx"><span style="color: #0563c1">https://social.technet.microsoft.com/wiki/contents/articles/3862.scom-monitoring-gpo-changes-using-scom-and-powershell.aspx</span></a>.  The new process involves Auditing on Domain Controllers, Custom SCOM Rules to alert on Audit Events, A PowerShell Script that parses alert data, merges it with GPO details, and creates a new Custom Event on the SCOM Management Server, followed by an additional custom Rule in SCOM based on the new custom event.

Following are the steps to configure this custom monitoring solution for System Center Operations Manager 2012 R2:

<strong>1. Directory Services Auditing:</strong>

Ensure that ‘Directory Services Changes’ are being audited.  This change can be achieved via GPO or Command line.  The process is described here: <span style="color: #0563c1"><a href="https://technet.microsoft.com/en-us/library/cc731607(v=WS.10).asp">https://technet.microsoft.com/en-us/library/cc731607(v=WS.10).asp</a>.  </span>To find out if Directory Services Changes are being audited run the following from an administrator command prompt: ‘auditpol /get /subcategory:”directory service changes"'
<span style="font-family: Calibri;font-size: medium"><span style="font-family: Times New Roman;font-size: medium"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/getauditpolicy.JPG"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/getauditpolicy.JPG" border="0" /></a>
</span></span><span style="font-family: arial,helvetica,sans-serif;font-size: small"></span>

<strong><span style="font-family: arial,helvetica,sans-serif;font-size: small"> </span></strong>

<strong><span style="font-family: arial,helvetica,sans-serif;font-size: small">2. Create Collection and Alerting Rules in SCOM to capture the Audit Events.</span></strong>

<span style="font-family: arial,helvetica,sans-serif;font-size: small">Collection Rule: </span>
<ul>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">In the Authoring Pane of the SCOM Console Expand Management Pack Objects &gt; Rules.  </span></li>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">Right click and Select ‘Create a new Rule’.  For Rule Type, select Collection Rules &gt; Event Based &gt; NT Event Log.  </span></li>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">Enter a name the clearly identifies the Collection Rule such as 'Collection Rule: GPO Audit Events' and Choose ‘Windows Domain Controller’ as the Rule Target. </span></li>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">For the Event Log Type Enter ‘Security’ as the Log Name.  </span></li>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">For the Build Event Expression section Use the default AND group and Insert an OR Group Below it.  In the OR group enter Event ID’s 5136, 5137, &amp; 5141.  In the AND Group enter 'Parameter 11' Contains 'groupPolicyContainer' as shown below.</span></li>
</ul>
<span style="font-family: Calibri;font-size: medium"><a href="https://msdnshared.blob.core.windows.net/media/2014/09/CollectionRule.jpg"><img width="771" height="421" class="alignnone size-full wp-image-206" alt="CollectionRule" src="https://msdnshared.blob.core.windows.net/media/2014/09/CollectionRule.jpg" /></a><span style="font-family: Times New Roman;font-size: medium"></span></span>

<span style="font-family: arial,helvetica,sans-serif;font-size: small">Alert Rule:  To create the Alert rule follow the exact steps as the collection rule with the following exceptions.</span>
<ul>
 	<li>Choose Alert Generating Rules instead of Collection Rules</li>
 	<li>On the Configure Alerts Section change the Severity to 'Information'</li>
 	<li>Select 'Alert suppression' and check the following boxes: Event ID, Parameter 4 (user name), Parameter 10 (GUID), &amp; Parameter 11 (Class)</li>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">Select 'Custom alert fields' </span><span style="font-family: arial,helvetica,sans-serif;font-size: small">Choose 3 Custom Fields to save unique alert data that will be used later.  I chose 4, 5, &amp; 6 because they were not used by any of my other custom rules. Other additional parameters can be used if additional data is needed.  Enter the following values:</span>
<ul>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">GPO GUID:$Data/Params/Param[9]$</span></li>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">GPO Domain:$Data/Params/Param[7]$</span></li>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">UserName:$Data/Params/Param[4]$</span></li>
</ul>
</li>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">Click Ok and finish the Rule Wizard.</span></li>
</ul>
<span style="font-family: Calibri;font-size: medium"><span style="font-family: Times New Roman;font-size: medium"><a href="https://msdnshared.blob.core.windows.net/media/2014/09/CustomFields.jpg"><img width="573" height="365" class="alignnone size-full wp-image-215" alt="CustomFields" src="https://msdnshared.blob.core.windows.net/media/2014/09/CustomFields.jpg" /></a></span></span>

<strong>3. Create New SCOM Subscription.</strong><span style="font-family: arial,helvetica,sans-serif;font-size: small"></span>

<span style="font-family: arial,helvetica,sans-serif;font-size: small">Create Command Channel:
</span>
<ul>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">In the Administration Pane of the SCOM Console Section right click and select New Channel &gt; Command.  </span></li>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">Enter a name such as PowerShell GPO.  </span></li>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">For full path of the command file enter ‘c:\Windows\System32\windowspowershell\v1.0\powershell.exe’.  </span></li>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">For Command Line Parameters enter something like ‘D:\Powershell\GPOAlert.ps1 –AlertID ‘$Data/Context/DataItem/AlertId$’ (change the location to match wherever you save the PowerShell script created in the next step). </span></li>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">For Startup folder for the command line enter the same Folder Location as used above.</span></li>
</ul>
<span style="font-family: Calibri;font-size: medium"><span style="font-family: Times New Roman;font-size: medium"><span style="font-family: Calibri;font-size: medium"><span style="font-family: Times New Roman;font-size: medium"><span style="font-family: Times New Roman;font-size: medium"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/Channel.JPG"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/Channel.JPG" border="0" /></a></span>
</span></span></span></span>

<span style="font-family: arial,helvetica,sans-serif;font-size: small">Create Subscriber\Subscription:
</span>
<ul>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">In the Administration Pane of the SCOM Console right click and select ‘New Subscription’.  </span></li>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">Name the Subscription ‘GPO Change Notification by PowerShell’ (or something that clearly describes the subscription).</span></li>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">On the Criteria tab select the checkbox for ‘created by specific rules or monitors (e.g., sources)’ and select the checkbox for 'Alert rule previously created', Choose 'with a specific resolution state' and select 'New (0)'.</span></li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/Subscription3.JPG"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/Subscription3.JPG" border="0" /></a>
<ul>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">On the Subscriber tab click New, Enter a name for the subscriber such as PowerShell GPO.  </span></li>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">On the schedule tab ensure that the button for always send notifications is selected.  </span></li>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">For the Address name you can use the same name as for the subscriber. </span></li>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">For Channel Type select the drop down for Command, on the Command Channel drop down select the recently created PowerShell GPO Channel, click next and Finish. </span></li>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">On the Channel Section search for the previously created Channel again, select it, click add, and click ok.  Click finish and close the wizard.</span></li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/confirmation.JPG"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/confirmation.JPG" border="0" /></a>

<span style="font-family: arial,helvetica,sans-serif;font-size: small"><strong>4. PowerShell Script. </strong></span>

<span style="font-family: arial,helvetica,sans-serif;font-size: small">Save the attached file as GPOAlert.ps1 on the D:\PowerShell location on your Management Server (or whatever location was specified when creating the channel in the earlier step.  The script should be updated to use additional parameters as needed. As it exists now the script simply gathers some applicable data from the previously created alert in SCOM, correlates it to GPO information from Active Directory, closes the original alert, and creates a new Event on the SCOM Management Server that can be used to generate a new more useful Alert. The Management Server needs to have the Group Policy Management Feature installed for the get-gpo command in the script to work correctly.</span>
<ul>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">Make sure to update the $MS parameter in the Script to reflect the SCOM Management Server being used.</span></li>
 	<li>note: If different custom fields were used in the previously updated Alert Rule it is necessary to update the $gpoGUID, $gpoDomain, &amp; $gpoUser lines in the script to reflect the custom fields used.<span style="font-family: arial,helvetica,sans-serif;font-size: small">
</span></li>
</ul>
-------------------------------------------------------------------------------------------------------
<div>[CmdletBinding()]
param(
[parameter(Mandatory=$true, Position=0)] [ValidateNotNull()] [string] $AlertID
)</div>
<div>$MS = "OM1"
Import-Module "OperationsManager"
New-SCOMManagementGroupConnection $MS
Import-Module "grouppolicy"</div>
<div>$scomAlert = Get-SCOMAlert -Id $AlertID
$AlertDescription = $scomAlert.Description
$gpoGUID = $scomAlert.CustomField4.Substring(($scomAlert.CustomField4.IndexOf("{")+1),36)
$gpoDomain = $scomAlert.CustomField5.Substring(($scomAlert.CustomField5.IndexOf(":")+1))
$gpoUser = $scomAlert.CustomField6
$gpoName = get-gpo -Guid $gpoGUID</div>
<div>$Text = "A Group Policy Has been Modified`n User: $($gpoUser)`n GPO GUID: $($gpoGUID) `n GPO Changed: $($gpoName.DisplayName) `n Modified: $($gpoName.GpoStatus) `n $($AlertDescription)"</div>
<div>Write-EventLog -LogName "Operations Manager" -Source "OpsMgr Connector" -EventId 11101 -ComputerName $MS -Message $Text
$resState =$scomAlert.ResolutionState
$scomAlert.ResolutionState=255
$scomAlert.Update("")</div>
-------------------------------------------------------------------------------------------------------

<strong>5. Create final Alert Rule:</strong>
<ul>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">From the Authoring pane of the SCOM Console expand Management Pack Objects and right click on Rules.  Select Create a new rule.</span></li>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">Choose Alert Generating Rules &gt; Event Based &gt; NT Event Log (Alert)</span></li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/FinalRule1.JPG"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/FinalRule1.JPG" border="0" /></a>
<ul>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">Choose a Rule Name that clearly identifies the GPO modification such as 'Informational - GPO Has been Modified"</span></li>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">Set 'Management Server' as the Rule Target (since the custom event created earlier is saved to the Management Server Event Log).</span></li>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">Enter 'Operations Manager' as the Log name in the Event Log Type section</span></li>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">Enter Event ID for Parameter Name, Operator Equals, and Value of 11101 in the Build Event Expression Section.</span></li>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">On the Configure Alerts section it is recommended to change the Severity to Informational.  The Alert description field should be modified to be: 'Event Description: $Data[Default="]/EventData$'</span></li>
</ul>
<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/FinalRule2.JPG"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/FinalRule2.JPG" border="0" /></a>
<ul>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">The Generated Alert Should look something like this:</span></li>
</ul>
<span style="font-family: Lucida Console;font-size: xx-small"><span style="font-family: Lucida Console;font-size: xx-small"><span style="color: #a9a9a9;font-family: Lucida Console;font-size: xx-small"><span style="color: #a9a9a9;font-family: Lucida Console;font-size: xx-small"><span style="color: #a9a9a9;font-family: Lucida Console;font-size: xx-small"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/FinalAlert.JPG"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/FinalAlert.JPG" border="0" /></a>
</span></span></span></span></span>
<ul>
 	<li><span style="font-family: arial,helvetica,sans-serif;font-size: small">From Here it is easy to create custom email subscriptions or custom Alert Views so that these Alerts can be easily viewed by those who have a need to Monitor for GPO Changes.</span></li>
 	<li></li>
</ul>]]></content:encoded>
    </item>
    <item>
      <title>Simplified SCOM Override Tracking</title>
      <link>https://docs.microsoft.com/archive/blogs/systemcenterramblings/simplified-scom-override-tracking</link>
      <pubDate>Thu, 04 Sep 2014 10:52:00 GMT</pubDate>
      <dc:creator><![CDATA[Nathan Olmstead]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/systemcenterramblings/2014/09/04/simplified-scom-override-tracking/</guid>
      <description><![CDATA[I often get requests from customers for assistance in tracking and controlling Overrides within...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family:Calibri;"><span style="font-size:medium;">I often get requests from customers for assistance in tracking and controlling Overrides within SCOM.</span><span style="font-size:medium;">&nbsp;&nbsp; </span><span style="font-size:medium;">Obviously&nbsp;overrides can be found and managed from within the Authoring pane of the Console and&nbsp;t</span><span style="font-size:medium;">he built-in &lsquo;Overrides&rsquo; Report in the Microsoft Generic Report Library provides a significant amount of detail.</span><span style="font-size:medium;">&nbsp; </span><span style="font-size:medium;">However, many SCOM Admins would like an easier way to simply view a list of all overrides, see recent changes, view details, and even compare the &lsquo;Default Value&rsquo; to the &lsquo;Override Value&rsquo;.</span><span style="font-size:medium;">&nbsp; </span></span></p>
<p><span style="font-family:Calibri;font-size:medium;">The simplest way to accomplish this is by creating an &lsquo;Overrides Summary View&rsquo; in the &lsquo;My Workspace&rsquo; pane of the Operations Manager Console. </span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/OverridesSummaryView.JPG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/OverridesSummaryView.JPG"><img title="OverridesSummaryView" style="border-color:currentColor;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/OverridesSummaryView.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/OverridesSummaryView.JPG" /></a></span></p>
<p><span style="font-family:Calibri;"><span style="font-size:medium;">&nbsp;</span></span></p>
<p><span style="font-family:Calibri;"><span style="font-size:medium;">From here it is possible to customize the Criteria for which overrides should be included along with the type of data that should be displayed.</span><span style="font-size:medium;">&nbsp; </span><span style="font-size:medium;">Typically, I choose to display the following Columns and adjust the order as shown below: (Note: &lsquo;unchecking the Management Pack Object Type&rsquo; will change the view to a simple list instead of having the overrides sorted by type)</span></span></p>
<p><span style="font-family:Calibri;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/Display_Columns.JPG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/Display_5F00_Columns.JPG"><img title="OverridesViewDisplayOptions" style="border-color:currentColor;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/Display_Columns.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/Display_5F00_Columns.JPG" /></a></span></p>
<p></p>
<p><span style="font-family:Calibri;"><span style="font-size:medium;">Often the purpose for creating a view such as this is to track recent overrides that have been created.</span><span style="font-size:medium;">&nbsp; </span><span style="font-size:medium;">To do this simply check the box &lsquo;was added in a specified time period&rsquo; and identify the time period that you are interested in as seen below:</span></span></p>
<p><span style="font-family:Calibri;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/RecentOverrides.JPG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/RecentOverrides.JPG"><img title="OverridesViewCriteria" style="border-color:currentColor;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/RecentOverrides.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/RecentOverrides.JPG" /></a><br /></span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">The final result should look something like this:</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/Overrides.JPG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/Overrides.JPG"><img title="OverridesView" style="border-color:currentColor;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/Overrides.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/Overrides.JPG" /></a></span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;<br />Hopefully this is helpful in simplifying the ways in which you can view and track SCOM&nbsp;Overrides in your environment.<br /></span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>SCOM - Active Directory Run-As account for Linux System Monitoring</title>
      <link>https://docs.microsoft.com/archive/blogs/systemcenterramblings/scom-active-directory-run-as-account-for-linux-system-monitoring</link>
      <pubDate>Wed, 23 Jul 2014 05:10:50 GMT</pubDate>
      <dc:creator><![CDATA[Nathan Olmstead]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/systemcenterramblings/2014/07/23/scom-active-directory-run-as-account-for-linux-system-monitoring/</guid>
      <description><![CDATA[I had a recent customer request to use Active Directory Service Accounts as a Linux Monitoring and...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family:Calibri;"><span style="font-size:medium;">I had a recent customer request to use Active Directory Service Accounts as a Linux Monitoring and Agent Maintenance Run-As accounts on a set of domain joined RHEL 6.5 systems.</span><span style="font-size:medium;">&nbsp; </span><span style="font-size:medium;">&nbsp;</span><span style="font-size:medium;">The Service Accounts are in the same domain as the Linux systems.</span></span></p>
<p><span style="font-family:Calibri;font-size:medium;">The AD account had been configured for sudo Elevation per this TechNet article: </span><a href="https://social.technet.microsoft.com/wiki/contents/articles/7375.configuring-sudo-elevation-for-unix-and-linux-monitoring-with-system-center-2012-operations-manager.aspx"><span style="color:#0000ff;font-family:Calibri;font-size:medium;">https://social.technet.microsoft.com/wiki/contents/articles/7375.configuring-sudo-elevation-for-unix-and-linux-monitoring-with-system-center-2012-operations-manager.aspx</span></a></p>
<p><span style="font-family:Calibri;font-size:medium;">The account had also been given the required rights for the Agent Maintenance profile as specified here: </span><a href="https://technet.microsoft.com/en-us/library/hh287151.aspx"><span style="color:#0000ff;font-family:Calibri;font-size:medium;">ttp://technet.microsoft.com/en-us/library/hh287151.aspx</span></a></p>
<p><span style="font-family:Calibri;"><span style="font-size:medium;">The issue we found is there was no apparent way to specify domain account when creating a UNIX\Linux Run As Account.</span><span style="font-size:medium;">&nbsp; </span><span style="font-size:medium;">When entering the domain and account ie: &lsquo;&lt;domainname&gt;\linuxsvcaccount&rsquo; in the username field, we got access denied errors on the systems.</span><span style="font-size:medium;">&nbsp; </span><span style="font-size:medium;">Apparently RHEL systems do not know how to process &lsquo;domain1\&rsquo;.</span><span style="font-size:medium;">&nbsp; </span><span style="font-size:medium;">After talking with the Linux system admin we decided to just leave out the domain name and see if it would resolve the actual account name to the domain.</span><span style="font-size:medium;">&nbsp; </span><span style="font-size:medium;">This actually worked!</span><span style="font-size:medium;">&nbsp; </span><span style="font-size:medium;">We found that the system first looks to see of the run-as account is a local account, when it finds that it does not exist locally it tries to resolve it against Active Directory.</span><span style="font-size:medium;">&nbsp; </span><span style="font-size:medium;">As long as the account resolves properly and the account has been given the required rights it will work properly.</span><span style="font-size:medium;">&nbsp; </span><span style="font-size:medium;">Just do not specify any domain details when configuring the account in SCOM.</span></span></p>
<p><span style="font-family:Calibri;"><span style="font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/scomlinuxaccount.JPG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/scomlinuxaccount.JPG"><img width="550" height="461" style="width:476px;height:398px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/scomlinuxaccount.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/scomlinuxaccount.JPG" border="0" /></a><br /></span></span></p>
<p><span style="font-family:Times New Roman;font-size:medium;"> </span></p>]]></content:encoded>
    </item>
    <item>
      <title>SCOM - Runbook for persisting Stale Heartbeat Alerts</title>
      <link>https://docs.microsoft.com/archive/blogs/systemcenterramblings/scom-runbook-for-persisting-stale-heartbeat-alerts</link>
      <pubDate>Sat, 22 Mar 2014 07:07:00 GMT</pubDate>
      <dc:creator><![CDATA[Nathan Olmstead]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/systemcenterramblings/2014/03/22/scom-runbook-for-persisting-stale-heartbeat-alerts/</guid>
      <description><![CDATA[One of the more common alerts that I see in SCOM environments is the &lsquo;Health Service Heartbeat...]]></description>
      <content:encoded><![CDATA[<p>One of the more common alerts that I see in SCOM environments is the &lsquo;Health Service Heartbeat Failure&rsquo;.&nbsp; All too often it is still possible to ping the system, and yet the heartbeat alert remains.&nbsp; The typical fix is to simply stop the health service on the problem system, delete the contents of the Health Service State folder for the agent, and to restart the service.&nbsp; In most cases this resolves the issue.&nbsp; Since this is such a common occurrence I decided to create a runbook in System Center Orchestrator to automate the fix.&nbsp; In order for this to work it is necessary to be running System Center Operations Manager and Orchestrator 2012 and to have the SC 2012 Operations Manager Integration pack installed in Orchestrator.&nbsp; Note: this will not resolve any actual problems with failing heartbeats, it will simply clear the cache and force the agent to attempt to update policy.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/runbook.JPG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/runbook.JPG"><img width="551" height="249" style="width:783px;height:324px;margin-right:auto;margin-left:auto;display:block;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/runbook.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/runbook.JPG" border="0" /></a></p>
<p>Activities:</p>
<ul>
<li>The first activity in the runbook is the <strong>&lsquo;Monitor Alert&rsquo;</strong>.&nbsp; This will monitor for any occurrence of the alert in question.&nbsp; This activity can be found in the SC 2012 Operations Manager section.&nbsp; Click the button to the right of the Sever &gt; Connection field and select your SCOM Management Server from the list.&nbsp; For testing purposes I like to trigger on both New Alerts and Updated alerts.&nbsp; This allows me to manually set an alert to a new state in order to let the runbook monitor for it instead of waiting for an alert to trigger.&nbsp; For my runbook I created the following 3 filters:</li>
</ul>
<ul>
<li>Severity Equals Critical</li>
<li>Name Equals Health Service Heartbeat Failure</li>
<li>ResolutionState Equals New</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/1738.monitoralert.JPG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/1738.monitoralert.JPG"><img width="551" height="282" style="width:889px;height:405px;margin-right:auto;margin-left:auto;display:block;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/1738.monitoralert.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/1738.monitoralert.JPG" border="0" /></a></p>
<ul>
<li>The second activity is a simple <strong>&lsquo;Run Program&rsquo;</strong> which will ping the system to make sure it is online.&nbsp; This activity can be found in the System section.&nbsp; Create a link from the &lsquo;Monitor Alert&rsquo; to the &lsquo;Run Program&rsquo; activity.&nbsp; There should be a default include filter created on the link for Monitor Alert returns success.&nbsp; In the &lsquo;Run Program&rsquo; properties select the Command execution mod and enter the name of the computer you are running it from, in this case I used the SCOM Management server since it should be able to talk to all SCOM Agents.&nbsp; In the command field we will &nbsp;subscribe to data from the Monitor Alert activity.&nbsp; Type ping -4, right click to the right of the new text and select Subscribe &gt; &nbsp;Published Data.&nbsp; Ensure that the Monitor Alert Activity is selected from the drop down at the top and select the &lsquo;MonitoringObjectDisplayName&rsquo; for the published data before clicking OK.&nbsp; Click Finish to complete the activity configuration.</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/4431.RunProgram.JPG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/4431.RunProgram.JPG"><img width="551" height="218" style="width:843px;height:354px;margin-right:auto;margin-left:auto;display:block;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/4431.RunProgram.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/4431.RunProgram.JPG" border="0" /></a></p>
<ul>
<li>The third activity is <strong>&lsquo;Get Service Status&rsquo;</strong> which will simply return the state of the HealthService.&nbsp; The following activities will depend upon the state of this service.&nbsp; This activity can be found in the Monitoring section.&nbsp; Create a link from the &lsquo;Run Program&rsquo; to the &lsquo;Get Service Status&rsquo;.&nbsp; In the properties of the new activity we will subscribe to data from the &lsquo;Monitor Alert&rsquo; to get the computer.&nbsp; Right click in the Computer field and select Subscribe &gt; Published Data.&nbsp; Select Monitor Alert from the Activity drop down and choose the &lsquo;MonitoringObjectDisplayName&rsquo;.&nbsp; The Service name will vary depending on whether you are running Operations Manager 2012 or 2012R2.&nbsp; You can select the button to the right of the field to browse services on the current system or you can simply type the name of the service.&nbsp; In a 2012 environment the HealthService will be named &lsquo;System Center Management&rsquo; and in a R2 environment it will be &lsquo;Microsoft Monitoring Agent&rsquo;.&nbsp;&nbsp;</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/GetHealthService.JPG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/GetHealthService.JPG"><img width="551" height="223" style="width:830px;height:370px;margin-right:auto;margin-left:auto;display:block;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/GetHealthService.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/GetHealthService.JPG" border="0" /></a></p>
<p></p>
<ul>
<li>For the forth activity we will actually create two different versions.&nbsp; Depending on whether the previous activity showed that the HealthService was running or stopped the runbook will choose one or the other.&nbsp; Here we will create 2 versions of the <strong>&lsquo;Start/Stop Service&rsquo;</strong>activity in the System section.
<ul>
<li>Rename the first &lsquo;Start/Stop Service&rsquo; activity to &lsquo;Start HealthService&rsquo;. Create a link from the &lsquo;Get Service Status&rsquo; activity to the new &lsquo;Start HealthService&rsquo; Activity.&nbsp; On the link properties change the Include filter to &lsquo;Service status from Get HealthService Status equals Service stopped&rsquo;.&nbsp; In the properties for the new &lsquo;Start HealthService&rsquo; Activity click the action button for &lsquo;Start service&rsquo;.&nbsp; Right click the Computer field and select Subscribe &gt; Published data and select the Service Computer from the &lsquo;Get HealthService Status&rsquo; Activity.&nbsp; For the Service enter the Service name used in the previous activity (either Microsoft Monitoring Agent or System Center Management).</li>
</ul>
</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/startservice.JPG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/startservice.JPG"><img width="551" height="511" style="width:598px;height:532px;margin-right:auto;margin-left:auto;display:block;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/startservice.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/startservice.JPG" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/startservice2.JPG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/startservice2.JPG"><img width="551" height="377" style="width:595px;height:384px;margin-right:auto;margin-left:auto;display:block;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/startservice2.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/startservice2.JPG" border="0" /></a></p>
<p></p>
<ul>
<ul>
<li>Rename the second &lsquo;Start/Stop Service&rsquo; activity to Stop HealthService. Create a link from the &lsquo;Get Service Status&rsquo; activity to the new &lsquo;Stop HealthService&rsquo; Activity.&nbsp; On the link properties change the Include filter to &lsquo;Service status from Get HealthService Status equals Service Running&rsquo;.&nbsp; In the properties for the new &lsquo;Stop HealthService&rsquo; activity click the action button for &lsquo;Stop service&rsquo;.&nbsp; Right click the Computer field and select Subscribe &gt; Published data and select the Service Computer from the &lsquo;Get HealthService Status&rsquo; Activity.&nbsp; For the Service enter the Service name used in the previous activity (either Microsoft Monitoring Agent or System Center Management).<br /><em>(screenshots skipped since they are nearly the same as those shown above, except for the service state)</em></li>
</ul>
</ul>
<p>&nbsp;</p>
<ul>
<li>For the fifth activity we will be deleting the stale health state on the problem system.&nbsp; The <strong>&lsquo;Delete Folder&rsquo;</strong> activity can be found in the File Management section.&nbsp; Create a link from the &lsquo;Stop HealthService&rsquo; Activity to this &lsquo;Delete Folder&rsquo;.&nbsp; Open the Details section type&nbsp;\\ in the path field and right click in the field to the right.&nbsp; Select Subscribe &gt; &nbsp;Published Data.&nbsp; Select the &lsquo;Get Health Service&rsquo; Activity and choose Service computer.&nbsp; The the right of this text it will be necessary to type the path to the Health Service State folder.&nbsp; This will vary depending on the version of Operations Manager you are running.&nbsp; In 2012 R2 the default path is &lsquo;\c$\Program Files\Microsoft Monitoring Agent\Agent\Health Service State&rsquo;.&nbsp; Ensure the &lsquo;Delete all files and sub-folders&rsquo; option is selected.</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/deletefolder.JPG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/deletefolder.JPG"><img width="550" height="187" style="width:974px;height:403px;margin-right:auto;margin-left:auto;display:block;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/91/deletefolder.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-91/deletefolder.JPG" border="0" /></a></p>
<ul>
<li>For the sixth and final step we will repeat the Start Service step from earlier.&nbsp;&nbsp;Create a new&nbsp;&lsquo;Start/Stop Service&rsquo; activity and rename it to &lsquo;Start HealthService&rsquo;. Create a link from the &lsquo;Get Service Status&rsquo; activity to the new &lsquo;Start HealthService&rsquo; Activity.&nbsp; On the link properties change the Include filter to &lsquo;Service status from Get HealthService Status equals Service stopped&rsquo;.&nbsp; In the properties for the new &lsquo;Start HealthService&rsquo; activity click the action button for &lsquo;Start service&rsquo;.&nbsp; Right click the Computer field and select Subscribe &gt; Published data and select the Service Computer from the Get HealthService Status Activity.&nbsp; For the Service enter the Service name used in the previous activity (either Microsoft Monitoring Agent or System Center Management).</li>
</ul>
<p>For testing I would make sure you have a current Heartbeat Alert and set the resolution state to something other than new or manually stop the service on an agent system.&nbsp; Make sure to start the runbook and set the heartbeat alert resolution state to new.&nbsp; Monitor the runbook, the alert, and the SCOM Agent to ensure the process works as expected.&nbsp; Good luck and I hope this helps with your re-occurring Heartbeat Alerts.&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>SCOM - Identifying Overrides saved in the Default Management Pack</title>
      <link>https://docs.microsoft.com/archive/blogs/systemcenterramblings/scom-identifying-overrides-saved-in-the-default-management-pack</link>
      <pubDate>Mon, 04 Nov 2013 05:24:00 GMT</pubDate>
      <dc:creator><![CDATA[Nathan Olmstead]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/systemcenterramblings/2013/11/04/scom-identifying-overrides-saved-in-the-default-management-pack/</guid>
      <description><![CDATA[The problem: I recently ran into a problem at one of my customer sites, with System Center...]]></description>
      <content:encoded><![CDATA[<p><strong>The problem:</strong> I recently ran into a problem at one of my customer sites, with System Center Operations Manager (SCOM) 2007 &amp; 2012, where numerous custom overrides had been saved to the Default Management Pack over the course of quite some time. Obviously there was an issue with administrators going in and quickly creating overrides without following procedures or properly understanding what they were doing. Best practice is to create new custom management packs associated with each management pack imported to the system as a placeholder for any customizations and overrides. To identify and&nbsp;resolve this issue, and prevent&nbsp;it from happening again we followed steps listed below.</p>
<p><strong>Identifying the Overrides:</strong> The built-in Overrides report in the Reporting Workspace is useful in identifying. In the &lsquo;Microsoft Generic Report Library&rsquo; the &lsquo;Overrides&rsquo; report can be run. By default all Management Packs are selected, it is necessary to clear the selections for all but the &lsquo;Default Management Pack&rsquo;. The default criteria of &lsquo;Select overrides DEFINED in the following Management Packs&rsquo; is correct. When the report is generated it will list the Management Pack affected, the rules or monitors. The affected element/value, and the target. These are useful both in identifying who may have created the override and identifying where to go to delete the current override and create in its correct location. After identifying the overrides in question it is necessary to manually delete each one and re-create it in the correct custom Management Pack.</p>
<p><strong>Monitoring for future occurrences.</strong> Since we have two separate environments; one running 2007 and the other 2012 I decided to experiment with two different approaches.</p>
<ul>
<li>In the 2007 environment I used steps similar to what are defined here: https://blogs.technet.com/b/jonathanalmquist/archive/2008/11/12/monitor-default-management-pack.aspx. I am not going to go into detail on this approach since it is covered so well in the linked blog post. Using the steps set forth in the link above; I created two custom SCOM Rules. The first rule ran once per day and queried the AllOverrideView and ManagementPackView in the OperationsManager Database for any members where an override existed in the Default Management Pack. If more than 0 rules were found an event was created in the Operations Manager Event log. The second rule simply watched for the occurrence of the custom event and created an alert in SCOM if it was found. This process worked well and I was able to immediately start monitoring for any new occurrences of the problem. I set up an alert subscription so that I received an email anytime the alert was raised.&nbsp;</li>
<li>In the 2012 environment I decided to use a different tactic. My customer recently implemented System Center Orchestrator 2012 and I decided to try using it to accomplish the same goal using this tool in what would possibly be a cleaner and more controllable manner. I created a Runbook with 4 simple steps. (note: the SCOM Integration Pack needs to be installed for these steps to work).&nbsp;</li>
</ul><ul>
<li>Monitor Date/Time &ndash; This step is simply set to run every 1 day. The connecting Link to the following step continues if the step returns success.&nbsp;</li>
<li>Check Schedule &ndash; On this step I simply scheduled a pre-created schedule to run daily between 9pm &amp; 3am. The connecting link continues if the Check Schedule returns success.&nbsp;</li>
<li>Query Database - This third step is the key step in this Runbook. The query I used is <em>&ldquo;Select count(*) as Overrides from AllOverrideView ao inner join ManagementPackView mp on ao.ManagementPackID = mp.ID where mp.name = &lsquo;Microsoft.SystemCenter.OperationsManager.DefaultUser&rsquo;&rdquo;.</em> I specified a SQL Server Database type for the connection and entered the server name and Initial Catalog (default name for the SCOM Database is OperationsManager). The connecting link after this step does require a few customizations. On the include step I selected &lsquo;Numeric return value of the query&rsquo; from the Query Database &lsquo;is greater than or equal to&rsquo; 1. I chose&nbsp;1 because there should not be any overrides found here.&nbsp;</li>
<li>SCOM &ndash; Alert &ndash; Here I simply put in the Management Server name for the connection, set the Priority to High, the Severity to Critical, selected Description and Name as additional fields to include in the alert. I set the name to Default MP Overrides and description toe Overrides have been saved in the Default Management Pack.</li>
</ul>
]]></content:encoded>
    </item>
  </channel>
</rss>