RMAD Session Info Health Monitor type

Dell.Recovery.Manager.for.Active.Directory.SessionInfo.Health.MonitorType (UnitMonitorType)

This Monitor type designed to monitor health state of collection item by determining the last session result for it

Element properties:

RunAsDell.Recovery.Manager.for.Active.Directory.PrivilegedMonitoringAccount
AccessibilityInternal
Support Monitor RecalculateTrue

Member Modules:

ID Module Type TypeId RunAs 
SessionsDS DataSource Dell.Recovery.Manager.for.Active.Directory.SessionInfo.Health.DS Default
PassThrough ProbeAction System.PassThroughProbe Default
SessionProbe ProbeAction Dell.Recovery.Manager.for.Active.Directory.SessionInfo.Probe Default
Error_exp ConditionDetection System.ExpressionFilter Default
Succes_expr ConditionDetection System.ExpressionFilter Default
Warning_Expr ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelector
CollectionIDint$Config/CollectionID$
CompNamestring$Config/CompName$
SyncTimestring$Config/SyncTime$
Intervalint$Config/Interval$

Source Code:

<UnitMonitorType ID="Dell.Recovery.Manager.for.Active.Directory.SessionInfo.Health.MonitorType" Accessibility="Internal" RunAs="Dell.Recovery.Manager.for.Active.Directory.PrivilegedMonitoringAccount">
<MonitorTypeStates>
<MonitorTypeState ID="Success" NoDetection="false"/>
<MonitorTypeState ID="Warning" NoDetection="false"/>
<MonitorTypeState ID="Error" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element minOccurs="1" name="Interval" type="xsd:integer"/>
<xsd:element minOccurs="1" name="SyncTime" type="xsd:string"/>
<xsd:element minOccurs="0" name="CompName" type="xsd:string"/>
<xsd:element minOccurs="0" name="CollectionID" type="xsd:integer"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="Interval" Selector="$Config/Interval$" ParameterType="int"/>
<OverrideableParameter ID="SyncTime" Selector="$Config/SyncTime$" ParameterType="string"/>
<OverrideableParameter ID="CompName" Selector="$Config/CompName$" ParameterType="string"/>
<OverrideableParameter ID="CollectionID" Selector="$Config/CollectionID$" ParameterType="int"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="SessionsDS" TypeID="Dell.Recovery.Manager.for.Active.Directory.SessionInfo.Health.DS">
<Interval>$Config/Interval$</Interval>
<SyncTime>$Config/SyncTime$</SyncTime>
<CompName>$Config/CompName$</CompName>
<CollectionID>$Config/CollectionID$</CollectionID>
</DataSource>
<ProbeAction ID="SessionProbe" TypeID="Dell.Recovery.Manager.for.Active.Directory.SessionInfo.Probe">
<CompName>$Config/CompName$</CompName>
<CollectionID>$Config/CollectionID$</CollectionID>
</ProbeAction>
<ProbeAction ID="PassThrough" TypeID="System!System.PassThroughProbe"/>
<ConditionDetection ID="Succes_expr" TypeID="System!System.ExpressionFilter">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name="Result"]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Success</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name="Name"]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Config/CompName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name="Collection"]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Config/CollectionID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</ConditionDetection>
<ConditionDetection ID="Warning_Expr" TypeID="System!System.ExpressionFilter">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name="Result"]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Warning</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name="Name"]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Config/CompName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name="Collection"]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Config/CollectionID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</ConditionDetection>
<ConditionDetection ID="Error_exp" TypeID="System!System.ExpressionFilter">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name="Result"]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Error</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name="Name"]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Config/CompName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name="Collection"]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Config/CollectionID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="Success">
<Node ID="Succes_expr">
<Node ID="SessionsDS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="Warning">
<Node ID="Warning_Expr">
<Node ID="SessionsDS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="Error">
<Node ID="Error_exp">
<Node ID="SessionsDS"/>
</Node>
</RegularDetection>
</RegularDetections>
<OnDemandDetections>
<OnDemandDetection MonitorTypeStateID="Success">
<Node ID="Succes_expr">
<Node ID="SessionProbe">
<Node ID="PassThrough"/>
</Node>
</Node>
</OnDemandDetection>
<OnDemandDetection MonitorTypeStateID="Warning">
<Node ID="Warning_Expr">
<Node ID="SessionProbe">
<Node ID="PassThrough"/>
</Node>
</Node>
</OnDemandDetection>
<OnDemandDetection MonitorTypeStateID="Error">
<Node ID="Error_exp">
<Node ID="SessionProbe">
<Node ID="PassThrough"/>
</Node>
</Node>
</OnDemandDetection>
</OnDemandDetections>
</MonitorImplementation>
</UnitMonitorType>