You are tasked with creating a new ManagementPack for your organization. You post a sign outside your cube: “HELP WANTED!” You have no idea what one is much less how to put one together.
The authoring Guide inside the tools directory will help.
So will the links below:
All ManagementPacks start this way:
<ManagementPack ContentReadable="true" mlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<Name>ADMS Windows Server</Name>
The ID of the ManagementPack needs to be exactly the same name of the saved xml. In-other-words, the ManagementPack filename would be: ADMS.Server.xml.
The friendly name of the ManagementPack is generally the name of the ManagementPack without the file extension and the dots.
The version number below the ID is very important as when you make changes to the ManagementPack and import it into the console you need to increase the version number or your changes will not go into effect.
The naming conventions for the references are fairly standard. Below are the core references you’ll want to use:
Public Key Token
Why use the System.Library? Because it is the core system library that every other library references.
Why is it referenced by every other library? Because, classes are the way you create tables in the SCOM database and classes are required for discoveries, rules and monitors to work correctly.
Why use the Microsoft.Windows.Library? Because it is the core windows library.
Additional usable classes and relationships are standard hardware and software features and, again, are required for discoveries, rules and monitors to work correctly.
Why use the System.Health.Library? All monitoring and the views that represent the data generated by the monitors use the health library.
Why use the System.Performance.Library? Any area that represents performance such as performance rule collections and alerts use the Performance library.
Why use Microsoft.SystemCenter.Library? Essentially, this library binds SCOM to the ManagementPack. From Classes to Views – including folders – this library is used to make the mp and SCOM interactive.
Why use the Microsoft.SystemCenter.DataWarehouse.Library? Long term storage of performance counter information is added by referencing this library.
Why use the Microsoft.SystemCenter.DataWarehouse.Reports.Library? If you plan on using linked reports in the ManagementPack, referencing this library enables you to create and use them.
Why use the Microsoft.SystemCenter.InstanceGroup.Library? If you plan creating groups and adding computers to those groups, referencing this library allows you to discover and bind the computer relationships with the groups.