Percentage beschikbare inodes (Solaris 11)

Microsoft.Solaris.11.LogicalDisk.PercentFreeInodes.Collection (Rule)

Verzamelingsregel voor het prestatiemeteritem Logische schijf\Percentage vrije inodes

Knowledge Base article:

Samenvatting

Deze regel verzamelt prestatiegegevens voor de prestatiemeteritems voor Logische schijf\Percentage vrije inodes. De verzamelde waarden zijn beschikbaar in prestatieweergaven en -rapporten.

Met deze metriek wordt het percentage aangegeven van het totale aantal inodes op het geselecteerde bestandssysteem dat vrij is.

Als het bestandssysteem geen inodes gebruikt, wordt de waarde voor het percentage vrije inodes geretourneerd als 100 procent. Het gebruik van inodes door het bestandssysteem wordt berekend op de momenteel beschikbare en totale waarden. Dit is mogelijk geen nauwkeurige weergave van het werkelijke gebruik voor bestandssystemen die inodes dynamisch toekennen, zoals JFS.

Deze regel is standaard uitgeschakeld. De monitor kan worden ingeschakeld met een onderdrukking, gericht op specifieke exemplaren van de logische schijf of alle exemplaren van de logische schijf.

Element properties:

TargetMicrosoft.Solaris.11.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.Solaris.11.LogicalDisk.PercentFreeInodes.Collection" Enabled="false" Target="Microsoft.Solaris.11.LogicalDisk" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<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 Inodes</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(.)='PercentFreeInodes']$</Value>
<PreMapperFilter>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">/DataItem/WsManData/*[local-name(.)='SCX_FileSystemStatisticalInformation']/*[local-name(.)='PercentFreeInodes']</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^[-]?([0-9]*\.[0-9]+|[0-9]+)$</Pattern>
</RegExExpression>
</PreMapperFilter>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>