Adding direct agent OMS Workspace and Proxy via PowerShell

  We have some REALLY good documentation on this here:  https://docs.microsoft.com/en-us/azure/log-analytics/log-analytics-windows-agents   PowerShell and the Agent Scripting Objects make it really easy to control the OMS direct agent configuration on thousands of agents, using SCOM.   Here are some PowerShell examples: # Load agent scripting object  $AgentCfg = New-Object -ComObject AgentConfigManager.MgmtSvcCfg # Get all AgentCfg…

0

QuickTip: Disabling workflows to optimize for large environments

    One of the coolest things about SCOM is how much monitoring you get out of the box. That said, one of the biggest performance impacts to SCOM is all the monitoring out of the box, plus all the Management Packs you import.  This has a cumulative effect, and over time, can impact the…

9

Creating a SCOM Service Monitor that allows overrides for Interval Frequency and Samples

    The “built in” service monitor in SCOM is hard-coded for how often it checks the service state, and how many service checks have to return “not running” before it alarms.  This is a bit unfortunate, as customers would often want to customize this.  This article will explain how.   All the built in…

3

Updated SQL RunAs Addendum Configuration MPs

    Just a quick note to let you know I updated these MP’s if you use them: https://blogs.technet.microsoft.com/kevinholman/2016/08/25/sql-mp-run-as-accounts-no-longer-required-2/   Updates include: 1.  Disabled the Monitor for SysAdmin check by default – you will need to enable this is you want to use it.  I have been recommending to use Low Priv since that is…

2

Reinstalling your SCOM agents with the NOAPM switch

  This one comes from collaboration with my colleague Brian Barrington. Because of the issues with SCOM 2016 and the default APM modules impacting IIS and SharePoint servers…..  (Read more about that issue HERE, HERE, and HERE)   Brian was looking for a way to easily remove the APM components from the deployed agents with…

7

What SQL maintenance should I perform on my SCOM 2016 databases?

    ***Note – The products and recommendations have changed over the years, so what applied to previous versions does not really apply today.  Make sure you read the entire article!   The SQL instances and databases deployed to support SCOM, generally fall into one of two categories:  1.  The SQL server is managed by…

1

Document your SCOM RunAs Account and Profiles script

  This script will document your SCOM RunAs accounts, and any profiles they are associated to.  It will output as a CSV file.  This is handy for collecting data for change management, making sure multiple management groups have the same configuration, and ensuring you have documented accounts prior to a major upgrade. The script is…

1

SCOM 2012 and 2016 Unsealed MP Backup

  This is a management pack that I use in every customer environment.  You *NEED* to backup your unsealed MP’s.  This will allow you to quickly recover from a mistake, without having to restore your databases from a backup.  Over the years, I have seen many customers accidentally delete workflows, mess up their RunAs accounts,…

5

Don’t forget to License your SCOM 2016 deployments

    Just like previous versions of Operations Manager, all SCOM deployments are installed as “Evaluation Version” which is a 180 trial.  You DON’T want to forget about this and have your production and lab deployments time-bomb on you down the road. To see your current license, in PowerShell on a SCOM server: Get-SCOMManagementGroup |…

3

Stop Healthservice restarts in SCOM 2016

    This is probably the single biggest issue I find in 100% of customer environments. YOU ARE IMPACTED.  Trust me.   SCOM monitors itself to ensure we aren’t using too much memory, or too many handles for the SCOM processes.  If we detect that the SCOM agent is using an unexpected amount of memory…

16

Installing SQL 2016 Always On with Windows Server 2016 Core

  This will be a simple walk through of installing two Windows Server 2016 Core servers, then installing SQL 2016, and setting up SQL Always On replication between them.  This is meant for lab testing and getting familiar with the scenario.  This setup is incredibly simple and straightforward, and fast.  You can have this scenario…

2

UR3 for SCOM 2016 – Step by Step

    KB Article for OpsMgr:  https://support.microsoft.com/en-us/help/4016126/update-rollup-3-for-system-center-2016-operations-manager Download catalog site:  http://www.catalog.update.microsoft.com/Search.aspx?q=4016126 Updated UNIX/Linux Management Packs:  https://www.microsoft.com/en-us/download/details.aspx?id=29696 Recommended hotfix page:  https://blogs.technet.microsoft.com/kevinholman/2009/01/27/which-hotfixes-should-i-apply/   NOTE:  I get this question every time we release an update rollup:   ALL SCOM Update Rollups are CUMULATIVE.  This means you do not need to apply them in order, you can always just apply…

29

UR13 for SCOM 2012 R2 – Step by Step

KB Article for OpsMgr:  https://support.microsoft.com/en-us/help/4016125 Download catalog site:  http://www.catalog.update.microsoft.com/Search.aspx?q=4016125 Updated UNIX/Linux Management Packs:  https://www.microsoft.com/en-us/download/details.aspx?id=29696   NOTE:  There is a serious bug in the UR13 Web Console update.  Because of this, you should not apply it, but instead apply the UR12 update to the web console.  This is documented in the “Known Issues” at the bottom…

18

How does CPU monitoring work in the Windows Server 2016 management pack?

    First – let me warn you.  The way SCOM monitors Processor time is *incredibly* complicated.  If you don’t like it – there is *NOTHING* wrong with nuking this from orbit (disable via override) and just create your own very simple consecutive samples (or average) monitor.  That said, while complicated and difficult to understand,…

7

Agent Management Pack – Making a SCOM Admin’s life a little easier

  Current Version: 7.0.0.42  8/16/2017   This is a Management Pack that eases the administrative burdens in SCOM.  It allows you to have a lot of handy discovered properties, and includes tasks that allow you to delegate administrative actions to your users.  It also serves as a good example MP on how to write classes,…

42

Enable proxy as a default setting in SCOM 2016

    The default setting for new SCOM agents is that Agent Proxy is disabled.  You can enable this agent by agent, or for specific agents with script automations.  I find this to be a clumsy task, and more and more management packs require this capability to be enabled, like Active Directory, SharePoint, Exchange, Clustering,…

9

Management Pack authoring the REALLY fast and easy way, using Silect MP Author and Fragments

                 Silect MP Author Professional just added support for Visual studio fragments.  If you didn’t get to attend the webinar on this – here is the recording. MP Authoring just got really easy, and really FAST.  Check out the video and see how using MP fragments can take your SCOM environment to a…

2

Recommended registry tweaks for SCOM 2016 management servers

  I will start with what people want most – the “list”:   These are the most common changes and settings I recommend to adjust on SCOM management servers.  Simply run these from an elevated command prompt on all your management servers.   reg add "HKLM\SYSTEM\CurrentControlSet\services\HealthService\Parameters" /v "State Queue Items" /t REG_DWORD /d 20480 /f…

5

SCOM Agent Version Addendum Management Pack

    One of the pain points in SCOM is keeping your agents up to date with your current UR level. What makes this worse, is the view in the SCOM Console for “Agent Managed” where you could actually fix agents with a “repair” does NOT show you the UR level of the agent. That…

14

UR2 for SCOM 2016 – Step by Step

    KB Article for OpsMgr:  https://support.microsoft.com/en-us/help/3209591/update-rollup-2-for-system-center-2016-operations-manager Download catalog site:  http://www.catalog.update.microsoft.com/Search.aspx?q=3209591 Recommended hotfix page:  https://blogs.technet.microsoft.com/kevinholman/2009/01/27/which-hotfixes-should-i-apply/  Additional MP update download needed:  https://www.microsoft.com/en-us/download/details.aspx?id=55025   NOTE:  I get this question every time we release an update rollup:   ALL SCOM Update Rollups are CUMULATIVE.  This means you do not need to apply them in order, you can always just…

19