Microsoft.SystemCenter.VirtualMachineManager.PRO.MaxDynMemPerformance.ScriptBasedThresholdType (UnitMonitorType)

Element properties:

RunAsDefault
AccessibilityPublic
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
DataSource DataSource Microsoft.SystemCenter.VirtualMachineManager.PRO.MaxDynamicMemoryDataSource Default
CDError ConditionDetection System.ExpressionFilter Default
CDSuccess ConditionDetection System.ExpressionFilter Default
CDWarn ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelector
IntervalSecondsint$Config/IntervalSeconds$
WarningThresholdint$Config/WarningThreshold$
ErrorThresholdint$Config/ErrorThreshold$

Source Code:

<UnitMonitorType ID="Microsoft.SystemCenter.VirtualMachineManager.PRO.MaxDynMemPerformance.ScriptBasedThresholdType" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="ConditionError"/>
<MonitorTypeState ID="ConditionWarn"/>
<MonitorTypeState ID="ConditionSuccess"/>
</MonitorTypeStates>
<Configuration>
<xsd:element name="IntervalSeconds" type="xsd:unsignedInt"/>
<xsd:element name="VMNames" type="xsd:string"/>
<xsd:element name="WarningThreshold" type="xsd:unsignedInt"/>
<xsd:element name="ErrorThreshold" type="xsd:unsignedInt"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="WarningThreshold" ParameterType="int" Selector="$Config/WarningThreshold$"/>
<OverrideableParameter ID="ErrorThreshold" ParameterType="int" Selector="$Config/ErrorThreshold$"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DataSource" TypeID="Microsoft.SystemCenter.VirtualMachineManager.PRO.MaxDynamicMemoryDataSource">
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<VMNames>$Config/VMNames$</VMNames>
<WarningThreshold>$Config/WarningThreshold$</WarningThreshold>
<ErrorThreshold>$Config/ErrorThreshold$</ErrorThreshold>
</DataSource>
<ConditionDetection ID="CDError" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='HostDynamicMemoryState']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Critical</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="CDWarn" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='HostDynamicMemoryState']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Warning</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="CDSuccess" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='HostDynamicMemoryState']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Success</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="ConditionError">
<Node ID="CDError">
<Node ID="DataSource"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="ConditionWarn">
<Node ID="CDWarn">
<Node ID="DataSource"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="ConditionSuccess">
<Node ID="CDSuccess">
<Node ID="DataSource"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>