Veeam Hyper-V Virtual Machine CPU Scheduling Monitor Type

Veeam.Virt.Extensions.HyperV.MonitorType.VMPerf.CPUScheduling (UnitMonitorType)

Element properties:

RunAsDefault
AccessibilityInternal
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Veeam.Virt.Extensions.HyperV.Library.ManagedModule.CPUSchedulingPerformance.VM Default
PA ProbeAction Veeam.Virt.Extensions.HyperV.Module.VMCPUScheduling.ScriptProbe Default
AVG ConditionDetection Veeam.Virt.Extensions.HyperV.Library.ManagedModule.CPUScheduling.Averager Default
CDOverThreshold1UnderThreshold2 ConditionDetection System.ExpressionFilter Default
CDOverThreshold2 ConditionDetection System.ExpressionFilter Default
CDUnderThreshold1 ConditionDetection System.ExpressionFilter Default
VMFilter ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
Threshold1double$Config/Threshold1$Threshold1Threshold1
Threshold2double$Config/Threshold2$Threshold2Threshold2
NumSamplesint$Config/NumSamples$NumSamplesNumSamples
Frequencyint$Config/Frequency$FrequencyFrequency

Source Code:

<UnitMonitorType ID="Veeam.Virt.Extensions.HyperV.MonitorType.VMPerf.CPUScheduling" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="UnderThreshold1"/>
<MonitorTypeState ID="OverThreshold1UnderThreshold2"/>
<MonitorTypeState ID="OverThreshold2"/>
</MonitorTypeStates>
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="VMID" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="VMName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Threshold1" type="xsd:double"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Threshold2" type="xsd:double"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="NumSamples" type="xsd:unsignedInt"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Frequency" type="xsd:int"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="Threshold1" ParameterType="double" Selector="$Config/Threshold1$"/>
<OverrideableParameter ID="Threshold2" ParameterType="double" Selector="$Config/Threshold2$"/>
<OverrideableParameter ID="NumSamples" Selector="$Config/NumSamples$" ParameterType="int"/>
<OverrideableParameter ID="Frequency" Selector="$Config/Frequency$" ParameterType="int"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS" TypeID="VVEHL!Veeam.Virt.Extensions.HyperV.Library.ManagedModule.CPUSchedulingPerformance.VM">
<Frequency>$Config/Frequency$</Frequency>
</DataSource>
<ProbeAction ID="PA" TypeID="Veeam.Virt.Extensions.HyperV.Module.VMCPUScheduling.ScriptProbe">
<avgValue>$Data/AveragedValue$</avgValue>
<maxValue>$Data/MaxValue$</maxValue>
<sampleCount>$Config/NumSamples$</sampleCount>
<vmName>$Config/VMName$</vmName>
</ProbeAction>
<ConditionDetection ID="VMFilter" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">ID</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Config/VMID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="AVG" TypeID="VVEHL!Veeam.Virt.Extensions.HyperV.Library.ManagedModule.CPUScheduling.Averager">
<ID>$Config/VMID$</ID>
<NumSamples>$Config/NumSamples$</NumSamples>
</ConditionDetection>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="CDUnderThreshold1">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">AveragedValue</XPathQuery>
</ValueExpression>
<Operator>Less</Operator>
<ValueExpression>
<Value Type="Double">$Config/Threshold1$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="CDOverThreshold1UnderThreshold2">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">AveragedValue</XPathQuery>
</ValueExpression>
<Operator>GreaterEqual</Operator>
<ValueExpression>
<Value Type="Double">$Config/Threshold1$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">AveragedValue</XPathQuery>
</ValueExpression>
<Operator>LessEqual</Operator>
<ValueExpression>
<Value Type="Double">$Config/Threshold2$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</ConditionDetection>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="CDOverThreshold2">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">AveragedValue</XPathQuery>
</ValueExpression>
<Operator>Greater</Operator>
<ValueExpression>
<Value Type="Double">$Config/Threshold2$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="UnderThreshold1">
<Node ID="CDUnderThreshold1">
<Node ID="AVG">
<Node ID="VMFilter">
<Node ID="DS"/>
</Node>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="OverThreshold1UnderThreshold2">
<Node ID="PA">
<Node ID="CDOverThreshold1UnderThreshold2">
<Node ID="AVG">
<Node ID="VMFilter">
<Node ID="DS"/>
</Node>
</Node>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="OverThreshold2">
<Node ID="PA">
<Node ID="CDOverThreshold2">
<Node ID="AVG">
<Node ID="VMFilter">
<Node ID="DS"/>
</Node>
</Node>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>