Verzamelingsregel voor het prestatiemeteritem Logische schijf\Percentage vrije ruimte
Deze regel verzamelt prestatiegegevens voor het prestatiemeteritem Logische schijf\Perentage beschikbare ruimte. De verzamelde waarden zijn beschikbaar in prestatieweergaven en -rapporten.
Met deze metriek wordt het percentage van de totale bruikbare ruimte op de geselecteerde logische schijf (bestandssysteem) die beschikbaar is aangegeven.
De ruimte die op het bestandssysteem voor de hoofdgebruiker is gereserveerd, is opgenomen in de berekende vrije ruimte. Het gebruik van het bestandssysteem wordt berekend op de momenteel beschikbare en totale waarden. Dit is mogelijk geen nauwkeurige weergave van het werkelijke gebruik voor bestandssystemen die ruimte dynamisch toekennen, zoals ZFS.
Target | Microsoft.Linux.SLES.11.LogicalDisk |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Unix.WSMan.PerfCounterProvider.Filtered | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Microsoft.Linux.SLES.11.LogicalDisk.PercentFreeSpace.Collection" Target="Microsoft.Linux.SLES.11.LogicalDisk" Enabled="true" Remotable="true">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Unix!Microsoft.Unix.WSMan.PerfCounterProvider.Filtered">
<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/NetworkName$</TargetSystem>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_FileSystemStatisticalInformation?__cimnamespace=root/scx</Uri>
<Filter/>
<SplitItems>true</SplitItems>
<Interval>300</Interval>
<ObjectName>Logical Disk</ObjectName>
<CounterName>% Free Space</CounterName>
<InstanceName>$Target/Property[Type="Unix!Microsoft.Unix.LogicalDevice"]/DeviceID$</InstanceName>
<InstanceProperty>/DataItem/WsManData/*[local-name(.)='SCX_FileSystemStatisticalInformation']/*[local-name(.)='Name']</InstanceProperty>
<Value>$Data/WsManData/*[local-name(.)='SCX_FileSystemStatisticalInformation']/*[local-name(.)='PercentFreeSpace']$</Value>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>