Logman Session Health Monitor Type

LogmanSessionHealthMonitorType (UnitMonitorType)

Logman session health monitor type

Element properties:

RunAsDefault
AccessibilityInternal
Support Monitor RecalculateTrue

Member Modules:

ID Module Type TypeId RunAs 
LogmanSessionHealthDataSourceInstance DataSource LogmanSessionHealthDataSourceFiltered Default
PassThru ProbeAction System.PassThroughProbe Default
Probe ProbeAction LogmanSessionHealthProbeAction Default
FilterFailure ConditionDetection System.ExpressionFilter Default
FilterSuccess ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
SyncTimestring$Config/SyncTime$Sync TimeSync time
IntervalSecondsint$Config/IntervalSeconds$Interval SecondsInterval seconds

Source Code:

<UnitMonitorType ID="LogmanSessionHealthMonitorType" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="Success" NoDetection="false"/>
<MonitorTypeState ID="Failure" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="IntervalSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="SyncTime" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="Name" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="SyncTime" Selector="$Config/SyncTime$" ParameterType="string"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="LogmanSessionHealthDataSourceInstance" TypeID="LogmanSessionHealthDataSourceFiltered">
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<SyncTime>$Config/SyncTime$</SyncTime>
<Name>$Config/Name$</Name>
</DataSource>
<ProbeAction ID="PassThru" TypeID="System!System.PassThroughProbe"/>
<ProbeAction ID="Probe" TypeID="LogmanSessionHealthProbeAction"/>
<ConditionDetection ID="FilterSuccess" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='Result']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Good</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="FilterFailure" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='Result']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Bad</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="Success">
<Node ID="FilterSuccess">
<Node ID="LogmanSessionHealthDataSourceInstance"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="Failure">
<Node ID="FilterFailure">
<Node ID="LogmanSessionHealthDataSourceInstance"/>
</Node>
</RegularDetection>
</RegularDetections>
<OnDemandDetections>
<OnDemandDetection MonitorTypeStateID="Success">
<Node ID="FilterSuccess">
<Node ID="Probe">
<Node ID="PassThru"/>
</Node>
</Node>
</OnDemandDetection>
<OnDemandDetection MonitorTypeStateID="Failure">
<Node ID="FilterFailure">
<Node ID="Probe">
<Node ID="PassThru"/>
</Node>
</Node>
</OnDemandDetection>
</OnDemandDetections>
</MonitorImplementation>
</UnitMonitorType>