Share via


ConditionDetection (Recovery)

Applies To: System Center 2012 - Operations Manager, System Center 2012 R2 Operations Manager, System Center 2012 SP1 - Operations Manager

Represents an implementation of a condition detection module type definition.

Schema Hierarchy

ManagementPack
  Monitoring
    Recoveries
      Recovery
        ConditionDetection

Syntax

<ConditionDetection ID=”ModuleID” Comment=”Comment” TypeID=”ModuleTypeID”>
Custom Schema Defined Parameters
</ConditionDetection>

Attributes and Elements

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

Attributes

Attribute Description

ID

Required attribute. Represents the identity of the element.

Comment

Optional attribute. Represents commentary by the management pack author.

TypeID

Required attribute. Represents the ConditionDetection module type definition from which this ConditionDetection module inherits its configuration schema.

ID Attribute Values

Value Description

The format for the ID attribute should be UniqueElementID.

The ID string must contain the following characteristics:

  • The length is less than 255 characters.

  • The ID begins with a letter (a-z) or a number (0-9).

  • The ID contains only letters, numbers, the period character (.), or the underscore (_) character.

  • The ID is unique across all elements within the scope of the ConditionDetection module’s containing workflow.

  • The ID is case-sensitive.

Child Elements

The child element of the ConditionDetection module is defined by the Configuration (ConditionDetectionModuleType) schema of its base type as referenced in the TypeID attribute.

Parent Elements

Element Description

Recovery

Represents a recovery definition associated with a specific monitor.

Remarks

A condition detection module takes any number of input streams and outputs data based on some kind of filtering of data. Condition detection modules are also used to convert one data type to another data type in a workflow. Because condition detection modules can take multiple data input streams, they are also used to correlate or consolidate data within a workflow. The data types of its input and output data are defined in its InputTypes and OutputType (ProbeActionModuleType) elements, respectively.

Recovery workflows receive either the data item that caused the state change of the monitor or the data item that is outputted by a diagnostic. In the case of a monitor recovery, a condition detection module can be included to filter the incoming data item that is of the type MonitorTaskDataType. In the case of a diagnostic recovery, a ConditionDetection module can be added to filter on the diagnostic output and determine whether to proceed with the recovery WriteAction (Recovery) element. To see samples of both types, see Recovery.

A condition detection module’s base type must always be a descendant of a ConditionDetectionModuleType element.

See Also

Reference

ConditionDetectionModuleType
Recovery