I had a customer request recently, where they wanted to generate an alert on the existence of a “Bad” event, but ONLY if it was NOT followed by a “Healthy” event after 5 minutes. One of the scenarios for this was a Redundant Power Supply temporarily losing input power. It…
Now I am going to demonstrate a more advanced script with multiple propertybags, script parameters, and adding references for custom target classes. I’ll be using the base script from: https://kevinholman.com/2015/06/20/using-a-net-assembly-in-powershell-when-a-cmdlet-doesnt-exist/ First we need to tweak the script for use in SCOM. See my “101” post linked above on how to…
I was recently working with a customer who wanted to monitor the Queue Size of Microsoft Service Bus Queues. We looked in Perfmon, and this value doesn’t exist. Next, I’d look in PowerShell to see if a PowerShell cmdlet exists that could deliver what I need. Unfortunately – that didn’t…
In this example – we will take the most BASIC PowerShell script possible, and show how we can us it to collect Performance data in a SCOM rule. We will use Silect’s free tool – MPAuthor. First – the script: I will simply count the number of items in the…
If you use SCOM’s Agentless Exception Monitoring, to examine application crash data and report on it…. one of the artifacts of SCOM is that this data never grooms out of the SCOM Operational Database. One of the things you can do is to disable all of the monitors that ship…
Quickdownload: https://github.com/thekevinholman/Microsoft.SystemCenter.ACS.Addendum I was working with a customer recently, and I realized that our MP’s to work with Audit Collection Forwarders could use a little help. The default view for the “forwarder” discovers instances where the ACS Forwarder service is set to automatic, but it does some “bad” things like…
I wrote a post explaining Run As accounts a while back here: https://kevinholman.com/2010/09/08/configuring-run-as-accounts-and-profiles-in-opsmgr-a-sql-management-pack-example/ One of the biggest pain points in distributing RunAs accounts, is managing the Health Service distribution of the credential. When you associate a RunAs profile to an account, this tells agents that are covered by the association,…
Disclaimer: Dynamic data in the Alert Name is not supported by Microsoft nor the Product Group. This post is to show what is possible, and the potential drawbacks. Regardless, like many customizations possible in SCOM, it does not mean they are supported or recommended by Microsoft. Additionally, this will not…
There are several really good blogs out there which document some of the struggles and workarounds with getting SNMP TRAP monitoring to work. I’ll reference some of them at the bottom, but this will be mine to document what worked, what didn’t, and some MP authoring examples that don’t exist…
One of the built in Monitor types in the SCOM Console, is a repeated event detection monitor. This is a cool way of creating an alert when we want to know when multiple similar events are recorded in a specified time frame. This is helpful for applications that might log…