Gebruikte megabytes (Universal Linux)

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

Verzamelingsregel voor het prestatiemeteritem Logische schijf\Gebruikte megabytes (MB)

Knowledge Base article:

Samenvatting

Deze regel verzamelt prestatiegegevens voor het prestatiemeteritem Logische schijf\Gebruikte megabytes . De verzamelde waarden zijn beschikbaar in prestatieweergaven en -rapporten.

Met deze metriek wordt de totale hoeveelheid toegewezen ruimte op een specifieke logische schijf (bestandssysteem) in megabytes aangegeven.

De ruimte die op het bestandssysteem voor de hoofdgebruiker is gereserveerd, is opgenomen in de berekende gebruikte 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.

Element properties:

TargetMicrosoft.Linux.Universal.LogicalDisk
CategoryPerformanceCollection
EnabledTrue
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.UsedMegabyte.Collection" Target="Universal!Microsoft.Linux.Universal.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>Used Megabytes</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(.)='UsedMegabytes']$</Value>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>