Stop!
Ever need to run a PowerShell command (or script) as a specific ID?
Maybe you need to know when the command fails to catch degraded application health?
Let’s work into the scenario with a MP Fragment
Download the latest fragments here
Operational monitoring tools including System Center, Azure Monitor
Stop!
Ever need to run a PowerShell command (or script) as a specific ID?
Maybe you need to know when the command fails to catch degraded application health?
Let’s work into the scenario with a MP Fragment
Download the latest fragments here
Shout to Tyson Paul for his initial MP with 2016, catch his blog here!
This should help speed up building the MP if you have Visual Studio 2013 or 2015 with Visual Studio Authoring Extensions (VSAE). Read Kevin Holman’s blog if this is new
Download the latest fragments here
Quicker method To build the MP as MP fragment, update the following:
get-scomrule | ? { $_.DisplayName -like “System Processor Queue Length*” } | fl ID,DisplayName,Name
get-scomrule | ? { $_.DisplayName -like “Current Disk Queue Length*” } | fl ID,DisplayName,Name
get-scomrule | ? { $_.DisplayName -like “Current Disk Queue*” } | fl ID,DisplayName,Name
get-scomrule | ? { $_.DisplayName -like “Current Dis*k Queue*” } | fl ID,DisplayName,Name
get-scomrule | ? { $_.DisplayName -like “*Current Disk Queue*” } | fl ID,DisplayName,Name
get-scomrule | ? { $_.DisplayName -like “*Average Disk Seconds Per Transfer*” } | fl ID,DisplayName,Name
get-scomrule | ? { $_.DisplayName -like “*Logical Disk Idle Time*” } | fl ID,DisplayName,Name
get-scomrule | ? { $_.DisplayName -like “*Processor Time Total*” } | fl ID,DisplayName,Name
get-scomrule | ? { $_.DisplayName -like “*Memory Available Megabytes*” } | fl ID,DisplayName,Name
get-scomrule | ? { $_.DisplayName -like “*Network Adapter Bytes Total*” } | fl ID,DisplayName,Name
get-scomrule | ? { $_.DisplayName -like “*Memory Pages per Second*” } | fl ID,DisplayName,Name
get-scomrule | ? { $_.DisplayName -like “*System Processor Queue Length*” } | fl ID,DisplayName,Name
get-ScomGroup | ? { $_.DisplayName -like “*Load Testing Group*” } | fl ID,DisplayName
Building on Kevin Holman’s MP Fragment Library are additional Uncommon Custom MP Fragments
This is the SCOM Management Pack Fragment Library which includes VSAE Fragments you can use to make SCOM management packs quickly and easily.
V1.0 has two Event Monitors with two state, two or three criteria monitors
Assumptions
Visual Studio, and the VSAE Fragments are installed
Visual Studio has a powerful plugin called VSAE (Visual Studio Authoring Extensions)
https://www.microsoft.com/en-us/download/details.aspx?id=30169
If you aren’t familar with MP fragments for authoring, see instructions at: https://blogs.technet.microsoft.com/kevinholman/2016/06/04/authoring-management-packs-the-fast-and-easy-way-using-visual-studio/
Background
A Management Pack fragment is simply a bit of XML, that contains all the “working parts” for a specific workflow….
Several authors have written about the power of fragments since VSAE launched, but the biggest gap I saw can be broken up into two major issues:
•Nobody provided a good “library” of workable MP fragments
•Nobody came up with a VERY simple method to reuse fragments quickly and easily
If you can do a FIND and REPLACE in notepad, you can use this.
Kevin Holman’s MP Fragments here
Gallery download for the uncommon MP fragments https://gallery.technet.microsoft.com/Uncommon-Custom-MP-c5a12a86
I’ve also been asked what versions of SQL work with System Center, so here’s references to see what the latest supported SQL version and patch.
2012R2 https://technet.microsoft.com/en-us/library/dn281933.aspx
Many times, the question comes up for Microsoft sizing guidelines for Operations Manager/SCOM. The Sizing Calculator XLS is a great resource to use to help answer some of the storage and SQL DB questions as it relates to the various features you enable in your environment.
The sizing calculator takes features beyond windows agents to help size SQL and storage needs, as well as management servers.
The SCOM Sizing Calculator XLS from TechNet helps determine capacity and storage needs for 2012 and 2016. Here is the 2016 System Center SQL matrix
# of Unix Servers
Network monitoring
Application Performance Monitoring (APM)
URL monitoring (transactional and availability)
DB Data retention requirements