\% Boş Alan (Evrensel Linux)

Microsoft.Linux.Universal.LogicalDisk.PercentFreeSpace.Collection (Rule)

Performans sayacı Mantıksal Disk\\% Boş Alan için toplama kuralı

Knowledge Base article:

Özet

Bu kural, Mantıksal Disk\% Boş Alan performans sayacı için performans verilerini toplar. Toplanan değerlere performans görünümlerinde ve raporlarında erişilebilir.

Bu ölçüm, toplam kullanılabilir alan yüzdesini seçilen boş mantıksal diskte (dosya sistemi) kullanıma sunar.

Kök kullanıcı için ayrılan dosya sistemi alanı hesaplanan boş alana dahil edilmez. Dosya sistemi alan kullanımı, geçerli boş ve toplam değerler ile hesaplanır. ZFS gibi alanı dinamik olarak ayıran dosya sistemlerinin kullanımı kesin olarak temsil edilmeyebilir.

Bu kural varsayılan olarak devre dışıdır. Belirli Mantıksal Disk örnekleri veya tüm Mantıksal Disk örnekleri hedeflenerek geçersiz kılma ile etkinleştirilebilir.

Element properties:

TargetMicrosoft.Linux.Universal.LogicalDisk
CategoryPerformanceCollection
EnabledFalse
Alert GenerateFalse
RemotableTrue

Member Modules:

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

Source Code:

<Rule ID="Microsoft.Linux.Universal.LogicalDisk.PercentFreeSpace.Collection" Target="Universal!Microsoft.Linux.Universal.LogicalDisk" Enabled="false" 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>