Configuration (ProbeActionModuleType)
Updated: May 18, 2012
Applies To: System Center 2012 - Operations Manager, System Center 2012 R2 Operations Manager, System Center 2012 SP1 - Operations Manager
Represents the parameters for a monitor or module type definition in XSD schema.
<Configuration> <IncludeSchemaTypes>…</IncludeSchemaTypes> <xsd:element name="ElementName" type="xsd:sometype" /> </Configuration>
The following sections describe attributes, child elements, and the parent elements of the Configuration element.
Attributes
None.
Child Elements
| Element | Description |
|---|---|
|
Optional element. Contains references to internal or external complex SchemaType element types. These types are used as parameter data types in the Configuration section of a ModuleTypes or MonitorTypes element. |
Parent Elements
| Element | Description |
|---|---|
|
Represents a data source module type definition in a management pack. |
|
|
Represents a condition detection module type definition in a management pack. |
|
|
Represents a probe action module type definition in a management pack. |
|
|
Represents a unit monitor type definition in a management pack. |
|
|
Represents a write action module type definition in a management pack. |
The Configuration element describes the XSD schema for the parameters of module or monitor type definition elements. Each implementation of the defined module or monitor type must supply the correct configuration parameters in accordance with this XSD schema. For more information about XML schemas, see Understanding XML Schema.
The following example illustrates the Configuration section of the Microsoft.Windows.ProductInstallationProbe probe action module type as defined in the Microsoft.Windows.Library management pack. For the full definition of the probe action module type, see ProbeActionModuleType.
<Configuration>
<xsd:element name="ComputerName" type="xsd:string" />
<xsd:element name="ProductCode" type="xsd:string" />
</Configuration>
The following example illustrates how an implementation of the Microsoft.Windows.ProductInstallationProbe probe action module type would supply the correct configuration parameter values. In this sample, the $Config expression is used because this probe action is part of a composite module. $Config/ComputerName is an expression that refers to the ComputerName parameter declared in the composite module’s Configuration section. For more information about the $Config variable notation, see $Config. For the full definition of the composite module, see ProbeActionModuleType.
<ProbeAction TypeID="Microsoft.Windows.BaseEventProvider" ID="Probe"> <ComputerName>$Config/ComputerName$</ComputerName> <LogName>$Config/ProductCode$</LogName> </ProbeAction>