Configuration Software Tool

SCOM 2012 – MAS Tool V 1.0

image

I had a requirement to have some sort of tool to easily enable and disable subscriptions and also close alerts in one shot. Of course my first thought was to use PowerShell, but soon I figured out that there is a lack of functionality.

If you try to disable and enable a subscription you will be asked if you want to send the alerts which were generated while the subscription was disabled or just send the new alerts. Using PowerShell it will be not possible to configure just sending the new alerts. Well, yes if you are going to use .NET it will be possible. Tim McFadden has blogged about this problem and is also providing a tool for it. I needed a more granular approach where you can enable and disable just single / multiple / all subscriptions and just sending the new alerts, without getting the old alerts and basically ending with an alert storm.

In addition I needed a way to close all alerts in one shot from any kind of resolution state. This is why I added a second functionality, where you can select one or more resolution states and then set them to the Closed resolution state. When you close the alerts created by monitors, make sure you have some sort of “reset monitor” tool in the background which automatically resets the monitors to healthy e.g. Orchestrator in this blog post here.

Finally I ended up with this simple GUI Tool called MASTool (Modify Alert and Subscription Tool)…

image

It is pretty much self-explaining…

  • List and select all subscriptions
  • Enable / disable selected subscriptions
  • List all resolution states
  • Select all states
  • Close all alerts with the selected resolution states

In the lower list view you will find listed all closed alerts just as an overview.

When you run the tool for the first time, make sure you set the SCOM server under File/Set Server…

image

 

 

 

The tool requires .NET 4.5 and the SCOM SDK binaries either in the same directory as the MASTool.exe or installed in the GAC:

  • Microsoft.EnterpriseManagement.Core.dll
  • Microsoft.EnterpriseManagement.OperationsManager.dll
  • Microsoft.EnterpriseManagement.Runtime.dll

I know there are much sexier GUI’s, but hey it get’s the job done and is free. If you like it you can find it on TechNet Gallery here.

7 Replies to “SCOM 2012 – MAS Tool V 1.0

  1. Hi Stefan,
    Thx for the tool !!
    After connecting to the server (2012R2), the Subscriptions are listed fine.
    But under the Close Resolution States, the numbers are exactly the same as on your screenshot above. How do I get this to reflect the actual states?
    Thx,
    JB

    1. Hi John
      If you create new resolution states in the SCOM console Administration/Alerts you should see them in the tool. I have^n’t had any issue. The states in the screenshot are the Default SCOM states.

      Cheers,

      Stefan

      1. Working now….I was too impatient on my Virtual Box.
        Thx for the great tool Stef!!
        John Bradshaw

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.