Share via


RegularDetection

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

Represents a regular detection workflow that is associated with one of the operational states defined in a unit monitor type.

Schema Hierarchy

ManagementPack
  TypeDefinitions
    MonitorTypes
      UnitMonitorType
        MonitorImplementation
          RegularDetections
            RegularDetection

Syntax

<RegularDetection MonitorTypeStateID="MonitorTypeStateID”>
  <Node ID=”ModuleID”>… </Node>
</RegularDetection>

Attributes and Elements

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

Attributes

Attribute Description

MonitorTypeStateID

Required attribute. Represents the ID of the MonitorTypeState element with which this workflow is associated.

Child Elements

Element Description

Node (RegularDetection)

Required attribute. Represents a module in the linear operational state-based workflow.

Parent Elements

Element Description

RegularDetections

Required element. Contains regular detection workflows for each of the MonitorTypeState elements defined in the unit monitor type, unless the MonitorTypeState’s NoDetection attribute is set to true.

Remarks

Unit monitor workflows are defined with nested Node (RegularDetection) elements. Each node element is associated with any one of the modules listed in the MemberModules element. The inner-most node element’s module is the first step of the workflow. The outer-most node element’s module is the last step in the workflow.

Regular detection workflows must begin with a DataSource (UnitMonitor) module. If the data source module does not return true or false from within an internal ConditionDetection (UnitMonitorType) module, it must be followed a condition detection module that does so.

Example

The following sample shows how to define two regular detection workflows within a unit monitor type. Each workflow is associated with a different state of the monitor. The condition detection modules should return true or false to reflect if the state is achieved. To see the full unit monitor type definition, see the UnitMonitorType topic.

<RegularDetections>
  <RegularDetection MonitorTypeStateID="FirstEventRaised">
    <Node ID="FirstFilterCondition">
      <Node ID="FirstDataSource" />
    </Node>
  </RegularDetection>
  <RegularDetection MonitorTypeStateID="SecondEventRaised">
    <Node ID="SecondFilterCondition">
      <Node ID="SecondDataSource" />
    </Node>
  </RegularDetection>
</RegularDetections>
</MonitorImplementation>

See Also

Reference

ConditionDetection (UnitMonitorType)
DataSource (UnitMonitor)
RegularDetections
UnitMonitorType