Freigeben über


How to Create an Override

Applies To: System Center 2012 - Operations Manager

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

A management pack contains default settings and thresholds that are set by the vendor of the management pack. These settings represent a vendor's definition of a healthy state for its product. You can use overrides to adjust these default settings and customize them for your network.

The ManagementPackOverride class is the abstract base type that all override classes are derived from. To be able to get or set information for an override object (such as the value of the override), you must use one of the derived classes.

You can create an override for a property or configuration parameter for a monitor, rule, discovery object, recovery object, or a diagnostic object. A property override changes the default value of a class property, while a configuration override changes the default value of a custom configuration setting for a class.

Overrides for Monitors

If you want to create an override for a monitor, use the ManagementPackMonitorPropertyOverride or ManagementPackMonitorConfigurationOverride class. These classes are derived from the ManagementPackMonitorOverrideclass. For an example of creating an override for a monitor, see How to Create an Override for a Monitor.

Overrides for Rules

If you want to create an override for a rule, use the ManagementPackRulePropertyOverride or ManagementPackRuleConfigurationOverride class. These classes are derived from the ManagementPackRuleOverride class. For an example of creating an override for a rule, see How to Create an Override for a Rule.

Overrides for Discoveries

If you want to create an override for a discovery, use the ManagementPackDiscoveryPropertyOverride or ManagementPackDiscoveryConfigurationOverride class. These classes are derived from the ManagementPackDiscoveryOverride class. For an example of creating an override for a discovery, see How to Create an Override for a Discovery.

Overrides for Diagnostics

If you want to create an override for a diagnostic, use the ManagementPackDiagnosticPropertyOverride or ManagementPackDiagnosticConfigurationOverride class. These classes are derived from the ManagementPackDiagnosticOverride class. For an example of creating an override for a diagnostic, see How to Create an Override for a Diagnostic.

Overrides for Recoveries

If you want to create an override for a recovery, use the ManagementPackRecoveryPropertyOverride or ManagementPackRecoveryConfigurationOverride class. These classes are derived from the ManagementPackRecoveryOverride class. For an example of creating an override for a recovery, see How to Create an Override for a Recovery.