Oledb Monitoring Probe Type

Microsoft.SystemCenter.ServiceManager.Workflows.OLEDB.Monitoring.DBProbeMonitorType (UnitMonitorType)

This is used in monitoring workflows through the Service Manager database.

Element properties:

RunAsDefault
AccessibilityInternal
Support Monitor RecalculateTrue

Member Modules:

ID Module Type TypeId RunAs 
DBProbe DataSource Microsoft.SystemCenter.ServiceManager.Monitoring.OledbProbe Default
State1Filter ConditionDetection System.ExpressionFilter Default
State2Filter ConditionDetection System.ExpressionFilter Default

Source Code:

<UnitMonitorType ID="Microsoft.SystemCenter.ServiceManager.Workflows.OLEDB.Monitoring.DBProbeMonitorType" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="State1" NoDetection="false"/>
<MonitorTypeState ID="State2" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.ExpressionEvaluatorSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element name="IntervalSeconds" type="xsd:integer"/>
<xsd:element name="SyncTime" type="xsd:string"/>
<xsd:element name="ConnectionString" type="xsd:string"/>
<xsd:element name="Query" type="xsd:string"/>
<xsd:element name="State1Filter" type="ExpressionType"/>
<xsd:element name="State2Filter" type="ExpressionType"/>
</Configuration>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DBProbe" TypeID="Microsoft.SystemCenter.ServiceManager.Monitoring.OledbProbe">
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<SyncTime>$Config/SyncTime$</SyncTime>
<ConnectionString>$Config/ConnectionString$</ConnectionString>
<Query>$Config/Query$</Query>
<GetValue>true</GetValue>
<IncludeOriginalItem>true</IncludeOriginalItem>
<OneRowPerItem>true</OneRowPerItem>
</DataSource>
<ConditionDetection ID="State1Filter" TypeID="System!System.ExpressionFilter">
<Expression>$Config/State1Filter$</Expression>
</ConditionDetection>
<ConditionDetection ID="State2Filter" TypeID="System!System.ExpressionFilter">
<Expression>$Config/State2Filter$</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="State1">
<Node ID="State1Filter">
<Node ID="DBProbe"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="State2">
<Node ID="State2Filter">
<Node ID="DBProbe"/>
</Node>
</RegularDetection>
</RegularDetections>
<OnDemandDetections>
<OnDemandDetection MonitorTypeStateID="State1">
<Node ID="State1Filter">
<Node ID="DBProbe"/>
</Node>
</OnDemandDetection>
<OnDemandDetection MonitorTypeStateID="State2">
<Node ID="State2Filter">
<Node ID="DBProbe"/>
</Node>
</OnDemandDetection>
</OnDemandDetections>
</MonitorImplementation>
</UnitMonitorType>