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 definitive guide to Management Pack Authoring – MVA Series by Brian Wren
- The System Center Management Pack Authoring Guide
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?
- Download pre-requisites
- Create a Key file for sealing Management Packs
- Create a class based on Windows Local Application along with a registry discovery
- Create Instance Groups (class and discovery)
- Create Computers Group (class and discovery)
- Create Health Service Watcher Groups (class and discovery)
- Create State Views
- Create a Distributed Application (class, relationship, discovery and diagram view)
- 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.