System Center Operations Manager

Tasty Treats for System Center Operations Manager (by Tyson Paul)

Performance Rule for Log File Entries

Recently I had a customer request for tracking the number of specific entries in a log file every 30 seconds. The entries were indicative of website orders created and orders completed. Their commerce application would log these events to a plain txt file. Since the real metric that I’m after is the actual number of… Read more

HP Agentless Monitoring with SCOM 2012 R2

  I recently visited a customer who wanted to implement the HP Agentless Monitoring Management Pack in their environment. I hadn’t used this pack before and I couldn’t find much (easy reading) online about the requirements or installation procedure therefore it required quite a bit of research to fully understand what is required to use it…. Read more

Synthetic Transaction Test Monitor

  A while back when I was working with the legendary Jon Almquist, I picked up this little gem from him. I don’t know where he got it from. He probably just whipped it up in a matter of minutes, knowing him. I thought I might post it here as it has proved to be… Read more

SCOM Enhanced Email Notification Script Version 2.1

In September of 2010 Tao Yang wrote a fantastic Powershell script (v2.0 here) for command channel notifications in System Center Operations Manager. Here is my adaptation of the script. NOTE: I’ve tested this thoroughly in my lab and I suggest you do the same before using in any other environments. This script is meant to be… Read more

SCOM Powershell Export-SCOMEffectiveMonitoringConfiguration cmdlet Doesn’t Output Complete Data

  I was working on a support case recently when it was brought to my attention that this cmdlet does not output ALL contained instance configurations even when the “-RecurseContainedObjects” parameter is used. Yes, really!  It outputs configuration data for only one instance of each particular type, be it a logical disk or Ethernet adapter etc., you… Read more

Operations Manager 2012 R2 UR2 Powershell Grid Widget Effective Monitoring Configuration Dashboard

  Have you ever wanted to simply click a server object and see all of the effective rule and monitor configuration settings in one view?  Now you can.     NOTES: This dashboard isn’t perfect. I’ve seen some weird behavior on occasion. Sometimes the top right widget will update with content from other widgets that… Read more

Operations Manager 2012 SP1 Upgrade to R2 Failed, "a database upgrade is already in progress from another machine"

  When I first attempted to upgrade my lab instance from Operations Manager 2012 SP1 Upgrade to R2 the process failed and initiated a rollback.  I found that my path to the Setup.exe was entirely too long due to folder nesting. The Setup.exe was located in:  C:\SCOM_INSTALL\System Center 2012 R2 Operations Manager (x86 and x64) –… Read more

Set Primary and Failover Management Servers for Agent Managed Computers with Powershell

  Here’s an easy script to set the primary and secondary management servers for all agent managed computers in your management group. Just run this on any management server: $primaryMS = (Get-SCOMManagementServer | Sort-Object DisplayName )[0]   $failoverMS = (Get-SCOMManagementServer | Sort-Object DisplayName )[1]   Get-SCOMAgent | % { Set-SCOMParentManagementServer -Agent $_ -PrimaryServer $primaryMS; `… Read more

Microsoft.SystemCenter.WebApplication.UrlProbe Error Code Reference

  This is just a reference page for the various error codes that you might encounter when using the URLProbe in Operations Manager workflows.   Error code Status or Value 100 HTTP_STATUS_CONTINUE 101 HTTP_STATUS_SWITCH_PROTOCOLS 200 HTTP_STATUS_OK 201 HTTP_STATUS_CREATED 202 HTTP_STATUS_ACCEPTED 203 HTTP_STATUS_PARTIAL 204 HTTP_STATUS_NO_CONTENT 205 HTTP_STATUS_RESET_CONTENT 206 HTTP_STATUS_PARTIAL_CONTENT 207 HTTP_STATUS_WEBDAV_MULTI_STATUS 300 HTTP_STATUS_AMBIGUOUS 301 HTTP_STATUS_MOVED 302… Read more

Workflow Analyzer Unhandled Exception: "The system cannot find the file specified"

  Recently I borrowed a lab instance of Operations Manager 2012 R2 from a friend. I was attempting to troubleshoot a discovery in a management pack that I’ve been working on when I encountered some trouble with the Workflow Analyzer (wfanalyzer.exe). The WFA is a tracing tool originally released with the SCOM 2007 R2 Authoring Console and is vital… Read more