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
IntervalSecondsint$Config/IntervalSeconds$間隔秒數間隔時間 (秒)
SystemDriveWarningMBytesThresholddouble$Config/SystemDriveWarningMBytesThreshold$系統磁碟機警告 MB 閾值系統磁碟機警告 MB 閾值
SystemDriveWarningPercentThresholddouble$Config/SystemDriveWarningPercentThreshold$系統磁碟機警告百分比閾值系統磁碟機警告百分比閾值
SystemDriveErrorMBytesThresholddouble$Config/SystemDriveErrorMBytesThreshold$系統磁碟機錯誤 MB 閾值系統磁碟機錯誤 MB 閾值
SystemDriveErrorPercentThresholddouble$Config/SystemDriveErrorPercentThreshold$系統磁碟機錯誤百分比閾值系統磁碟機錯誤百分比閾值
NonSystemDriveWarningMBytesThresholddouble$Config/NonSystemDriveWarningMBytesThreshold$非系統磁碟機警告 MB 閾值非系統磁碟機的警告閾值 (以 MB 為單位)
NonSystemDriveWarningPercentThresholddouble$Config/NonSystemDriveWarningPercentThreshold$非系統磁碟機警告百分比閾值非系統磁碟機警告百分比閾值
NonSystemDriveErrorMBytesThresholddouble$Config/NonSystemDriveErrorMBytesThreshold$非系統磁碟機錯誤 MB 閾值非系統磁碟機錯誤 MB 閾值
NonSystemDriveErrorPercentThresholddouble$Config/NonSystemDriveErrorPercentThreshold$非系統磁碟機錯誤百分比閾值非系統磁碟機錯誤百分比閾值

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>