Share via


Overrides

Applies To: Operations Manager 2007 R2, System Center Operations Manager 2007

Contains property and configuration overrides.

Schema Hierarchy

ManagementPack
  Monitoring
    Overrides

Syntax

<Overrides>   <CategoryOverride ID=”OverrideID” Comment=”Comment” Context=”ClassID” ContextInstance=”” Enforced=”True/False” Category=”CategoryName>…</CategoryOverride>   <MonitoringOverride ID=”OverrideID” Comment=”Comment” Context=”ClassID” ContextInstance=”” Enforced=”True/False” >..</MonitoringOverride>
   <RuleConfigurationOverride ID=”OverrideID” Comment=”Comment” Context=”ClassID” ContextInstance=”” Enforced=”True/False” Rule=”RuleID” Parameter=”ParameterID” Module=”ModuleID”>…</RuleConfigurationOverride>
   <RulePropertyOverride ID=”OverrideID” Comment=”Comment” Context=”ClassID” ContextInstance=”” Enforced=”True/False” Rule=”RuleID” Property=”PropertyID” ></RulePropertyOverride>
   <MonitorConfigurationOverride ID=”OverrideID” Comment=”Comment” Context=”ClassID” ContextInstance=”” Enforced=”True/False” Monitor=”MonitorID” >…</MonitorConfigurationOverride>
   <MonitorPropertyOverride ID=”OverrideID” Comment=”Comment” Context=”ClassID” ContextInstance=”” Enforced=”True/False” Monitor=”MonitorID” Property=”PropertyID” >…</MonitorPropertyOverride>
   <DiagnosticConfigurationOverride ID=”OverrideID” Comment=”Comment” Context=”ClassID” ContextInstance=”” Enforced=”True/False” Diagnostic=”DiagnosticID” Parameter=”ParameterID” Module=”ModuleID” >…</DiagnosticConfigurationOverride>
   <DiagnosticPropertyOverride ID=”OverrideID” Comment=”Comment” Context=”ClassID” ContextInstance=”” Enforced=”True/False” Diagnostic=”DiagnosticID” Property=”PropertyID”>…</DiagnosticPropertyOverride>
   <RecoveryConfigurationOverride ID=”OverrideID” Comment=”Comment” Context=”ClassID” ContextInstance=”” Enforced=”True/False” Recovery=”RecoveryID” Parameter=”ParameterID” Module=”ModuleID” >…</RecoveryConfigurationOverride>
   <RecoveryPropertyOverride ID=”OverrideID” Comment=”Comment” Context=”ClassID” ContextInstance=”” Enforced=”True/False” Recovery =”RecoveryID” Property=”PropertyID” >…</RecoveryPropertyOverride>
   <DiscoveryConfigurationOverride ID=”OverrideID” Comment=”Comment” Context=”ClassID” ContextInstance=”” Enforced=”True/False” Discovery=”DiscoveryID” Parameter=”ParameterID” Module=”ModuleID” >…</DiscoveryConfigurationOverride>
   <DiscoveryPropertyOverride ID=”OverrideID” Comment=”Comment” Context=”ClassID” ContextInstance=”” Enforced=”True/False” Discovery=”DiscoveryID” Property=”PropertyID” >…</DiscoveryPropertyOverride>
</Overrides>

Attributes and Elements

The following sections describe attributes, child elements, and the parent element of the Overrides element.

Attributes

None.

Child Elements

Element Description

CategoryOverride

Optional. Represents a category override for the specified element ID.

MonitoringOverride

For internal usage only.

RuleConfigurationOverride

Optional. Represents a rule configuration override for the specified element ID.

RulePropertyOverride

Optional. Represents a rule property override for the specified element ID.

MonitorConfigurationOverride

Optional. Represents a monitor configuration override for the specified element ID.

MonitorPropertyOverride

Optional. Represents a monitor property override for the specified element ID.

DiagnosticConfigurationOverride

Optional. Represents a diagnostic configuration override for the specified element ID.

DiagnosticPropertyOverride

Optional. Represents a diagnostic property override for the specified element ID.

RecoveryConfigurationOverride

Optional. Represents a recovery configuration override for the specified element ID.

RecoveryPropertyOverride

Optional. Represents a recovery property override for the specified element ID.

DiscoveryConfigurationOverride

Optional. Represents a discovery configuration override for the specified element ID.

DiscoveryPropertyOverride

Optional. Represents a discovery property override for the specified element ID.

Parent Elements

Element Description

Monitoring

Contains the workflow definitions that are used to discover and monitor the service model of a management pack.

Remarks

Overrides fall into two categories: configuration overrides and property overrides. Configuration overrides allow the user to override configuration elements defined in a workflow. Property overrides allow the user to override the property values that are common amongst all workflows or of a particular type of workflow.

Overrides can be created for the following workflow types.

Overrides cannot be defined for just any configuration parameter or a workflow property. In the case of configuration parameter overrides, the management pack developer must first specify which configuration elements are overrideable by the user. These are specified within module type definitions. For more information about defining overrideable parameters within module type definitions, see OverrideableParameter (DataSourceModuleType).

The workflows that contain modules with overrideable parameters can be targeted by overrides.

In the case of property overrides, there are two existing sets of properties that may be overwritten. One set applies to monitor overrides only, and the other set applies to rules, discoveries, diagnostics, and recoveries.

Following are the two sets of properties you can use when defining an override.

  1. Monitor Properties

    • Enabled

    • TraceEnabled

    • Algorithm

    • AlgorithmPercentage

    • DefaultState

    • GenerateAlert

    • AutoResolve

    • AlertPriority

    • AlertOnState

    • AlertSeverity

    • AlertMessage

    • AlertParameter1

    • AlertParameter2

    • AlertParameter3

    • AlertParameter4

    • AlertParameter5

    • AlertParameter6

    • AlertParameter7

    • AlertParameter8

    • AlertParameter9

    • AlertParameter10

    • MemberInMaintenance

    • IgnoreMemberInMaintenance

    • IgnoreMemberUnavailable

  2. Rule, Discovery, Diagnostic, Recovery Properties

    • Enabled

    • TraceEnabled

Example

The following XML sample demonstrates a RecoveryConfigurationOverride element that overrides the value of the Timeout configuration parameter to a value of 60. The Timeout parameter is an overrideable parameter defined in one of the module types implemented in the workflow.

<RecoveryConfigurationOverride ID="Microsoft.Exchange2007.Agent.HealthService.RestartTimeout.Override" Context="Microsoft.Exchange2007.ComputerGroup" Enforced="false" Recovery="SC2007!Microsoft.SystemCenter.Agent.RestartHealthService.HealthServicePerfCounterThreshold" Parameter="Timeout" Module="RestartService">
  <Value>60</Value>
</RecoveryConfigurationOverride>

See Also

Reference

Monitoring