Nieprzydzielone miejsce na dysku logicznym w megabajtach
Ta zasada umożliwia zbieranie danych licznika wydajności Dysk logiczny\Wolne megabajty.
Licznik wydajności Dysk logiczny\Wolne megabajty przedstawia ilość nieprzydzielonego miejsca w megabajtach na stacji dysków.
Target | Microsoft.Windows.Server.2003.LogicalDisk |
Category | PerformanceCollection |
Enabled | True |
Instance Name | LogicalDisk |
Counter Name | Free Megabytes |
Frequency | 600 |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
PerformanceDS | DataSource | System.Performance.OptimizedDataProvider | Default |
FilterPerf | ConditionDetection | System.ExpressionFilter | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Microsoft.Windows.Server.2003.LogicalDisk.FreeMB.Collection" Enabled="true" Target="Microsoft.Windows.Server.2003.LogicalDisk">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="PerformanceDS" TypeID="SystemPerf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Free Megabytes</CounterName>
<ObjectName>LogicalDisk</ObjectName>
<InstanceName/>
<AllInstances>true</AllInstances>
<Frequency>600</Frequency>
<Tolerance>10</Tolerance>
<ToleranceType>Percentage</ToleranceType>
<MaximumSampleSeparation>6</MaximumSampleSeparation>
</DataSource>
</DataSources>
<ConditionDetection ID="FilterPerf" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">InstanceName</XPathQuery>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="String">_Total</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>