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…
Quick Download: https://github.com/thekevinholman/SQLFix18054EventsSysmessages 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…
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. …
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…
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 Log Analytics (previously OMS) MMA direct agent configuration on thousands of agents, using SCOM. Here are some PowerShell examples: # Load agent scripting object $AgentCfg…
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…
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. …
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…
***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! This is applicable to SCOM 2016, 2019, and 2022. The SQL instances and databases deployed to support SCOM, generally fall…
QuickDownload: https://github.com/thekevinholman/GetRunAsAccountsAndProfiles 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…