Typ monitora wolnego miejsca na dysku logicznym w systemie Windows

Microsoft.Windows.Server.2008.FreeSpace.Monitortype (UnitMonitorType)

Element properties:

RunAsDefault
AccessibilityInternal
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.Server.2008.FreeSpace.Moduletype Default
ErrorCD ConditionDetection System.ExpressionFilter Default
HealthyCD ConditionDetection System.ExpressionFilter Default
PerfMapper ConditionDetection System.Performance.DataGenericMapper Default
SamplesCD ConditionDetection System.Performance.ConsecutiveSamplesCondition Default
SamplesCounter ConditionDetection System.ExpressionFilter Default
WarningCD ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
NonSystemDriveErrorPercentThresholddouble$Config/NonSystemDriveErrorPercentThreshold$Próg błędu (\%) dla dysków innych niż systemowePróg błędu (\%) dla dysków innych niż systemowe
NonSystemDriveErrorMBytesThresholddouble$Config/NonSystemDriveErrorMBytesThreshold$Próg błędu (MB) dla dysków innych niż systemowePróg błędu (MB) dla dysków innych niż systemowe
NonSystemDriveWarningPercentThresholddouble$Config/NonSystemDriveWarningPercentThreshold$Próg ostrzeżenia (\%) dla dysków innych niż systemowePróg ostrzeżenia (\%) dla dysków innych niż systemowe
NonSystemDriveWarningMBytesThresholddouble$Config/NonSystemDriveWarningMBytesThreshold$Próg ostrzeżenia (MB) dla dysków innych niż systemowePróg ostrzeżenia w megabajtach dla dysków innych niż systemowe.
SystemDriveErrorPercentThresholddouble$Config/SystemDriveErrorPercentThreshold$Próg błędu (\%) dla dysków systemowychPróg błędu (\%) dla dysków systemowych
SystemDriveErrorMBytesThresholddouble$Config/SystemDriveErrorMBytesThreshold$Próg błędu (MB) dla dysków systemowychPróg błędu (MB) dla dysków systemowych
SystemDriveWarningPercentThresholddouble$Config/SystemDriveWarningPercentThreshold$Próg ostrzeżenia (\%) dla dysków systemowychPróg ostrzeżenia (\%) dla dysków systemowych
SystemDriveWarningMBytesThresholddouble$Config/SystemDriveWarningMBytesThreshold$Próg ostrzeżenia (MB) dla dysków systemowychPróg ostrzeżenia (MB) dla dysków systemowych
IntervalSecondsint$Config/IntervalSeconds$Interwał w sekundachInterwał w sekundach

Source Code:

<UnitMonitorType ID="Microsoft.Windows.Server.2008.FreeSpace.Monitortype" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="UnderWarningThresholds" NoDetection="false"/>
<MonitorTypeState ID="OverWarningUnderErrorThresholds" NoDetection="false"/>
<MonitorTypeState ID="OverErrorThresholds" 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="DiskLabel" type="xsd:string"/>
<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="SystemDriveWarningMBytesThreshold" type="xsd:double"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="SystemDriveWarningPercentThreshold" type="xsd:double"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="SystemDriveErrorMBytesThreshold" type="xsd:double"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="SystemDriveErrorPercentThreshold" type="xsd:double"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="NonSystemDriveWarningMBytesThreshold" type="xsd:double"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="NonSystemDriveWarningPercentThreshold" type="xsd:double"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="NonSystemDriveErrorMBytesThreshold" type="xsd:double"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="NonSystemDriveErrorPercentThreshold" type="xsd:double"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="NumSamples" type="xsd:double"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="SystemDriveWarningMBytesThreshold" Selector="$Config/SystemDriveWarningMBytesThreshold$" ParameterType="double"/>
<OverrideableParameter ID="SystemDriveWarningPercentThreshold" Selector="$Config/SystemDriveWarningPercentThreshold$" ParameterType="double"/>
<OverrideableParameter ID="SystemDriveErrorMBytesThreshold" Selector="$Config/SystemDriveErrorMBytesThreshold$" ParameterType="double"/>
<OverrideableParameter ID="SystemDriveErrorPercentThreshold" Selector="$Config/SystemDriveErrorPercentThreshold$" ParameterType="double"/>
<OverrideableParameter ID="NonSystemDriveWarningMBytesThreshold" Selector="$Config/NonSystemDriveWarningMBytesThreshold$" ParameterType="double"/>
<OverrideableParameter ID="NonSystemDriveWarningPercentThreshold" Selector="$Config/NonSystemDriveWarningPercentThreshold$" ParameterType="double"/>
<OverrideableParameter ID="NonSystemDriveErrorMBytesThreshold" Selector="$Config/NonSystemDriveErrorMBytesThreshold$" ParameterType="double"/>
<OverrideableParameter ID="NonSystemDriveErrorPercentThreshold" Selector="$Config/NonSystemDriveErrorPercentThreshold$" ParameterType="double"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.2008.FreeSpace.Moduletype">
<ComputerName>$Config/ComputerName$</ComputerName>
<DiskLabel>$Config/DiskLabel$</DiskLabel>
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<SystemDriveWarningMBytesThreshold>$Config/SystemDriveWarningMBytesThreshold$</SystemDriveWarningMBytesThreshold>
<SystemDriveWarningPercentThreshold>$Config/SystemDriveWarningPercentThreshold$</SystemDriveWarningPercentThreshold>
<SystemDriveErrorMBytesThreshold>$Config/SystemDriveErrorMBytesThreshold$</SystemDriveErrorMBytesThreshold>
<SystemDriveErrorPercentThreshold>$Config/SystemDriveErrorPercentThreshold$</SystemDriveErrorPercentThreshold>
<NonSystemDriveWarningMBytesThreshold>$Config/NonSystemDriveWarningMBytesThreshold$</NonSystemDriveWarningMBytesThreshold>
<NonSystemDriveWarningPercentThreshold>$Config/NonSystemDriveWarningPercentThreshold$</NonSystemDriveWarningPercentThreshold>
<NonSystemDriveErrorMBytesThreshold>$Config/NonSystemDriveErrorMBytesThreshold$</NonSystemDriveErrorMBytesThreshold>
<NonSystemDriveErrorPercentThreshold>$Config/NonSystemDriveErrorPercentThreshold$</NonSystemDriveErrorPercentThreshold>
</DataSource>
<ConditionDetection ID="SamplesCD" TypeID="SystemPerf!System.Performance.ConsecutiveSamplesCondition">
<Threshold>0</Threshold>
<Direction>greaterequal</Direction>
</ConditionDetection>
<ConditionDetection ID="SamplesCounter" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">Value</XPathQuery>
</ValueExpression>
<Operator>GreaterEqual</Operator>
<ValueExpression>
<Value Type="Integer">$Config/NumSamples$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="HealthyCD" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">/DataItem/SampleValue</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Integer">0</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="WarningCD" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">/DataItem/SampleValue</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Integer">1</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="ErrorCD" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">/DataItem/SampleValue</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Integer">2</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="PerfMapper" TypeID="SystemPerf!System.Performance.DataGenericMapper">
<ObjectName>Logical Disk</ObjectName>
<CounterName>Free Space Counter</CounterName>
<InstanceName>$Config/DiskLabel$</InstanceName>
<Value>$Data/Property[@Name='DiskState']$</Value>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="UnderWarningThresholds">
<Node ID="HealthyCD">
<Node ID="SamplesCD">
<Node ID="PerfMapper">
<Node ID="DS"/>
</Node>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="OverWarningUnderErrorThresholds">
<Node ID="WarningCD">
<Node ID="SamplesCounter">
<Node ID="SamplesCD">
<Node ID="PerfMapper">
<Node ID="DS"/>
</Node>
</Node>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="OverErrorThresholds">
<Node ID="ErrorCD">
<Node ID="SamplesCounter">
<Node ID="SamplesCD">
<Node ID="PerfMapper">
<Node ID="DS"/>
</Node>
</Node>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>