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:
Member Modules:
Overrideable Parameters:
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>