Analyse des alertes à l'échelle de la batterie

Citrix.PresentationServer.FarmWideAlerts.MonitorType (UnitMonitorType)

Définit un type d'analyse qui permet de contrôler des mesures à l'échelle de la batterie dans une batterie Citrix

Element properties:

RunAsDefault
AccessibilityPublic
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Citrix.PresentationServer.FarmWideAlerts.DataSource Default
FilterActive ConditionDetection System.ExpressionFilter Default
FilterInactive ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelector
IntervalInSecondsint$Config/IntervalInSeconds$

Source Code:

<UnitMonitorType ID="Citrix.PresentationServer.FarmWideAlerts.MonitorType" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="Active" NoDetection="false"/>
<MonitorTypeState ID="Inactive" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IntervalInSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ObjectName" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalInSeconds" Selector="$Config/IntervalInSeconds$" ParameterType="int"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS" TypeID="Citrix.PresentationServer.FarmWideAlerts.DataSource">
<IntervalInSeconds>$Config/IntervalInSeconds$</IntervalInSeconds>
</DataSource>
<ConditionDetection ID="FilterActive" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Property[@Name='$Config/ObjectName$']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>1</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="FilterInactive" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Property[@Name='$Config/ObjectName$']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>0</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="Active">
<Node ID="FilterActive">
<Node ID="DS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="Inactive">
<Node ID="FilterInactive">
<Node ID="DS"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>