Alerts in SCOM from Azure Application Insights with Azure Management Pack

To bring Alerts/Performance data from Azure to SCOM, Azure Management pack can be used. Azure Management Pack guide talks in detail about the Azure Management Pack capabilities. Please refer that more details. This blog will talk about how we can see the Alerts for Application Insights Availability Tests in SCOM console. Let’s start.   Install…


SCOM Gray Agents in VMM – Report & Email

A customer had a number of agents hosted in VMM, and often a VM would hang after patching. It was “Running” according to VMM but not actually responsive. This script helped identity these Gray Agents. They also had VMs hosted in Azure, and those were identifiable by naming convention. It relies on the VMM and…


Script to delete decommissioned servers in SCOM

This is a modified version of Tim McFadden’s script. This script will take a text file containing the FQDNs of agents which need to be removed from SCOM. Note this process is for when a server has been decommissioned but was never removed from SCOM. If you are instead trying to remove the agent from…


Scripting SCOM Registry key tweaks

  Time to tune!     Had some requests to script the registry tweaks for SCOM   Starting off with Holman’s blog entry …   TechNet Gallery download here   Save .txt file as .ps1   On SCOM Management server(s) Close out any SCOM Console session (to prevent SDK errors) Run as administrator in PowerShell window…


Workflow Manager Addendum MP for SQL Aliases

  A SQL Alias is kinda like wearing disguise glasses…   From a security perspective, you can make things difficult for attackers by specifying a SQL alias and different port for SQL.       Symptom – discovery fails for WFM pack   Trying to monitor and figure out what the real database name, instance, etc….


Test fire any event on any server from any application

  Golden Oldies – always popular (tools vs music)   Old Holman blog that’s still relevant, even more powerful than EventLog Explorer   Basically anyone who wants to test fire events off a SCOM MP should use this tool. Event Create, write-eventlog all have limitations (certain event sources that can be used to create events, or…


Re-learn an old but still relevant tool – EventLog Explorer

  Sometimes we forget about tools that can make things easier.   Time to talk about EventLog Explorer.   Need to repro and test events for an installed program, to see what SCOM will handle? Read this old mom team blog, courtesy of Kevin Holman blog     I wanted to try it to test fire some…


MMA Agent and SCOM Agent version numbers

This idea sprung from a discussion with Sr. PFE Brian Barrington, and it got me wondering…   FYI – If you’re running a SCOM agent, 2016 or above, various Log Analytics solutions may have pre-reqs.   OMS Gateway requires Microsoft Monitoring Agent (agent version – 8.0.10900.0 or later) Simple English, that means SCOM2016 RTM agent or…


Installing and configuring the MMA agent via PowerShell

  GUI install option, see blog     Pre-reqs to build out an install script/package MMA agent executable Workspace ID Workspace Primary Key     Download MMA agent Click on Windows Servers from Connected Sources to download Windows Agent Click on Linux Servers from Connected Sources to download Linux Agent         Obtain WorkspaceID From…


Service Map SCOM pack configuration errors

Look for 6400 Event ID’s in the Operations Manager log on the management server if you do not have the correct information   Event ID 6400 in Operations Manager log helps show what’s missing with Azure AD error events   Follow steps outlined in the ‘Set up Azure Service Principal’ blog here     Sample…