Alerting on SNMP traps in SCOM – Without discovering the SNMP Device

  Well, sort of, anyway.    I have written on SNMP monitoring in SCOM a few times: https://blogs.technet.microsoft.com/kevinholman/2011/07/20/opsmgr-2012-discovering-a-network-device/ https://blogs.technet.microsoft.com/kevinholman/2015/02/03/snmp-trap-monitoring-with-scom-2012-r2/ https://blogs.technet.microsoft.com/kevinholman/2015/12/16/how-to-discover-a-windows-computer-as-a-network-device-in-scom-2012/ https://blogs.technet.microsoft.com/kevinholman/2016/04/20/writing-a-custom-class-for-your-network-devices/   This one will be a little different. One of the challenges I have heard many times with SCOM – is that we must discover a network device, in order to monitor or receive…

3

UR4 for SCOM 2016 – Step by Step

    KB Article for OpsMgr:  https://support.microsoft.com/en-us/help/4024941/update-rollup-4-for-system-center-2016-operations-manager Download catalog site:  http://www.catalog.update.microsoft.com/Search.aspx?q=4024941 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…

27

Using SCOM AD integration – but with a CMDB instead of LDAP wizards

    AD integration has been around since SCOM 2007 first shipped.  The concept is simple – the ability to deploy agents as part of a build process to the OS, but with the SCOM agent left un-configured.  Then the SCOM agent checks with Active Directory in its local domain, and received management group and…

1

How to create a SCOM group from a SQL CMDB Query

    I wrote an example of this a long time ago.  I was never happy with it, as it was VBScript based, hard to troubleshoot, and required lots of editing each time you wanted to reuse it.  It was also error prone, and didn’t work if the SQL query results contained computers that didn’t…

9

Please take this SCOM survey – make your voice heard!

  The SCOM Product Group is looking for YOUR feedback. Please respond to the survey: https://aka.ms/scomsurvey   System Center is changing.  We are aligning to the Windows Server Semi-Annual Channel update process, which will provide for frequent and continuous releases.  (see announcement​ here.) Because of this – the SCOM product team would love to hear…

6

SCOM 2016 now supports SQL 2016 SP1

    SQL 2016 Service Pack 1 is now supported for SCOM 2016 deployments. https://docs.microsoft.com/en-us/system-center/scom/plan-sqlserver-design#sql-server-requirements   There is no Update Rollup level requirement for this.  You can deploy SCOM 2016 in new deployments on SQL 2016 SP1, and you may upgrade existing deployments to SQL 2016 SP1.

0

Demo SCOM Script Template

    I thought I’d take a moment to publish my SCOM script template. Whenever I am writing a SCOM script for monitoring, discovery, or automation, there are some “standards” that I want in all my scripts.   1.  I personally feel that all script running in SCOM should at the MINIMUM log at script…

4

Event 18054 errors in the SQL application log – in SCOM 2016 deployments

    When SCOM is installed – it doesn’t just create the databases on the SQL instance – it adds data to the sysmessages view for different error scenarios, to the Master database for the instance. This is why after moving a database, or restoring a DB backup to a rebuilt SQL server, or when…

0

How to create a SCOM group from an Active Directory Computer Group

    There have been a bunch of examples of this published over the years.  Some of them worked well, but I was never happy with many of them as they were often vbscript based, hard to troubleshoot, and required lots of editing each time you wanted to reuse them.  Many were often error prone,…

3

Monitoring for Time Drift in your enterprise

    Time sync is critical in today’s networks.  Experiencing time drift across devices can cause authentication breakdowns, reporting miscalculations, and wreak havoc on interconnected systems.  This article shows a demo management pack to monitor for time sync across your Windows devices. The basic idea was – to monitor all systems and compare their local…

0

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…

11

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…

4

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…

5

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…

14

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…

2

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…

0

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,…

7

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