Menu +

Authoring SCOM Management Packs with Visual Studio – Overview

This is an update of a set of blogs I did in August 2015 on the Managability Guys blog covering authoring Management Packs using Visual Studio and the Operations Manager Visual Studio Authoring Extensions. .

I’ve made a slight change to base this on a fictional application – a company called F12 with a custom application called Payments. So all of the examples I run through will be based on this. And to tweak for your own environment all you will need to do is replace the prefix a namespace of F12.Payments with your own company and the application name.

There are some great resources available and I’m not looking to replicate these but instead will refer to them where appropriate.

The Series will be based on a set of Management Pack fragments as I find them easier to work with than using the wizards in Visual Studio. Each fragment just requires a find \ replace on a couple of items (class namespace and display name prefix) and it is ready to go.

What will I cover?

  1. Download pre-requisites
  2. Create a Key file for sealing Management Packs
  3. Create a class based on Windows Local Application along with a registry discovery
  4. Create Instance Groups (class and discovery)
  5. Create Computers Group (class and discovery)
  6. Create Health Service Watcher Groups (class and discovery)
  7. Create State Views
  8. Create a Distributed Application (class, relationship, discovery and diagram view)
  9. Create a Dashboard that shows the Distributed Application Diagram View and State Views

If you have other requirements then let me know and I’ll add them to the series. Once we have a service model built, I’ll look to create posts for the Health Model – using fragments with monitors and rules.

Leave a Reply

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