Fysieke Red Hat Enterprise Linux Server 7-schijven detecteren
Microsoft.Linux.RHEL.7.PhysicalDisk.Discovery (Discovery)
Met deze regel worden fysieke Red Hat Enterprise Linux Server 7-schijven gedetecteerd
Knowledge Base article: Element properties: Object Discovery Details: Member Modules:
Source Code: <Discovery ID="Microsoft.Linux.RHEL.7.PhysicalDisk.Discovery" Target="Microsoft.Linux.RHEL.7.OperatingSystem" Enabled="false" Remotable="true">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Linux.RHEL.7.PhysicalDisk"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Unix!Microsoft.Unix.WSMan.TimedEnumerate.Filtered.DoesNotContainSubstring.DiscoveryData">
<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/NetworkName$</TargetSystem>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_DiskDrive?__cimnamespace=root/scx</Uri>
<Filter/>
<SplitItems>true</SplitItems>
<Interval>14400</Interval>
<SyncTime/>
<FilterProperty>/DataItem/WsManData/*[local-name(.)='SCX_DiskDrive']/*[local-name(.)='Name']</FilterProperty>
<FilterValue>_Total</FilterValue>
<ClassId>$MPElement[Name="Microsoft.Linux.RHEL.7.PhysicalDisk"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="Unix!Microsoft.Unix.Computer"]/PrincipalName$</Name>
<Value>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Unix!Microsoft.Unix.LogicalDevice"]/DeviceID$</Name>
<Value>$Data/WsManData/*[local-name(.)='SCX_DiskDrive']/*[local-name(.)='Name']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Unix!Microsoft.Unix.LogicalDevice"]/DeviceName$</Name>
<Value>$Data/WsManData/*[local-name(.)='SCX_DiskDrive']/*[local-name(.)='Name']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Unix!Microsoft.Unix.PhysicalDisk"]/InterfaceType$</Name>
<Value>$Data/WsManData/*[local-name(.)='SCX_DiskDrive']/*[local-name(.)='InterfaceType']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Unix!Microsoft.Unix.PhysicalDisk"]/Size$</Name>
<Value>$Data/WsManData/*[local-name(.)='SCX_DiskDrive']/*[local-name(.)='MaxMediaSize']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Unix!Microsoft.Unix.PhysicalDisk"]/TotalCylinders$</Name>
<Value>$Data/WsManData/*[local-name(.)='SCX_DiskDrive']/*[local-name(.)='TotalCylinders']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Unix!Microsoft.Unix.PhysicalDisk"]/TotalHeads$</Name>
<Value>$Data/WsManData/*[local-name(.)='SCX_DiskDrive']/*[local-name(.)='TotalHeads']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Unix!Microsoft.Unix.PhysicalDisk"]/TotalSectors$</Name>
<Value>$Data/WsManData/*[local-name(.)='SCX_DiskDrive']/*[local-name(.)='TotalSectors']$</Value>
</Setting>
</Settings>
</InstanceSettings>
</DataSource>
</Discovery>