The following procedures explain how to create groups using both the Operations Manager 2007 Authoring Console and Visual Studio Authoring Extensions. This exercise is part of the System Center Operations Manager Management Pack Authoring Center.
This exercise applies to the following products:
Before you perform this procedure, you must first complete the following prerequisite procedures:
The Microsoft System Center team has validated this procedure as of revision #2. We will continue to review any changes and periodically provide validations on later revisions as they are made. Please feel free to make any corrections or additions to this procedure that you think would assist other users
A sample of the completed code for each exercise is available in the TechNet Gallery. There is a separate sample for each exercise that includes the management pack completed at the end of that exercise and each preceding exercise. This strategy allows you to work through each exercise in order and then compare your results. For VSAE, this also includes the Visual Studio solution.
Classes are created in the following procedures for an instance group, a computer group, and a health rollup. They are not populated with any instances yet though. To populate the groups, complete the exercise Populating a Group.
<
ClassType
ID
=
"MyMP.MyInstanceGroup"
Base
"SCIG!Microsoft.SystemCenter.InstanceGroup"
Accessibility
"Internal"
Abstract
"false"
Hosted
Singleton
"true"
>
</
DisplayString
ElementID
Name
>My Instance Group</
Description
></
"MyMP.MyComputerGroup"
"SC!Microsoft.SystemCenter.ComputerGroup"
>My Computer Group</
"MyMP.MyHealthRollup"
"System!System.ComputerRole"
>My Health Rollup</
Richard Mueller edited Revision 3. Comment: Removed blank headings and fixed duplicate <a name> tags in HTML so TOC works properly
Richard Mueller edited Revision 4. Comment: Replaced RGB values with color names in HTML to restore colors
Richard Mueller edited Revision 2. Comment: Added tags