Övervakningstyp för OLEDB-avsökning
Microsoft.SystemCenter.ServiceManager.Workflows.OLEDB.Monitoring.DBProbeMonitorType (UnitMonitorType)
Används i övervakning av arbetsflöden via Service Manager-databasen.
Element properties:
Member Modules:
Source Code:
<UnitMonitorType ID="Microsoft.SystemCenter.ServiceManager.Workflows.OLEDB.Monitoring.DBProbeMonitorType" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="State1"/>
<MonitorTypeState ID="State2"/>
</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>