Percent of Used Bandwidth Monitor Type

Microsoft.Windows.Server.10.0.NetworkAdapter.PercentBandwidthUsed.MonitorType (UnitMonitorType)

Monitor type to check percentage of used network adapter bandwidth.

Element properties:

RunAsDefault
AccessibilityInternal
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.Server.10.0.NetworkAdapter.BandwidthUsed.ModuleType Default
FilterNotOk ConditionDetection System.ExpressionFilter Default
FilterOk ConditionDetection System.ExpressionFilter Default
SamplesCondition ConditionDetection System.Performance.ConsecutiveSamplesCondition Default
TargetFilter ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
Thresholddouble$Config/Threshold$Threshold (percentage)The threshold (in percentage) over which the monitor will change state.
IntervalSecondsint$Config/IntervalSeconds$Interval secondsHow frequently (in seconds) the value should be sampled.
NumOfSamplesint$Config/NumOfSamples$Number of samplesThe number of consecutive samples that need to be over the threshold before the monitor will change state.

Source Code:

<UnitMonitorType ID="Microsoft.Windows.Server.10.0.NetworkAdapter.PercentBandwidthUsed.MonitorType" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="HealthyState" NoDetection="false"/>
<MonitorTypeState ID="WarningState" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="ComputerName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="InstanceName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="CounterName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="Threshold" type="xsd:double"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="NumOfSamples" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="IntervalSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="IsDiscoverDisabled" type="xsd:boolean"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="IsUseMacAddress" type="xsd:boolean"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="Threshold" Selector="$Config/Threshold$" ParameterType="double"/>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="NumOfSamples" Selector="$Config/NumOfSamples$" ParameterType="int"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.10.0.NetworkAdapter.BandwidthUsed.ModuleType">
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<IsDiscoverDisabled>$Config/IsDiscoverDisabled$</IsDiscoverDisabled>
<IsUseMacAddress>$Config/IsUseMacAddress$</IsUseMacAddress>
<ComputerName>$Config/ComputerName$</ComputerName>
<InstanceName>$Config/InstanceName$</InstanceName>
<CounterName>$Config/CounterName$</CounterName>
</DataSource>
<ConditionDetection ID="TargetFilter" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">/DataItem/InstanceName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Config/InstanceName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="SamplesCondition" TypeID="SystemPerf!System.Performance.ConsecutiveSamplesCondition">
<Threshold>$Config/Threshold$</Threshold>
<Direction>greaterequal</Direction>
</ConditionDetection>
<ConditionDetection ID="FilterOk" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">Value</XPathQuery>
</ValueExpression>
<Operator>Less</Operator>
<ValueExpression>
<Value Type="Integer">$Config/NumOfSamples$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="FilterNotOk" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">Value</XPathQuery>
</ValueExpression>
<Operator>GreaterEqual</Operator>
<ValueExpression>
<Value Type="Integer">$Config/NumOfSamples$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="HealthyState">
<Node ID="FilterOk">
<Node ID="SamplesCondition">
<Node ID="TargetFilter">
<Node ID="DS"/>
</Node>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="WarningState">
<Node ID="FilterNotOk">
<Node ID="SamplesCondition">
<Node ID="TargetFilter">
<Node ID="DS"/>
</Node>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>