Discover Solaris 10 Logical Disks

Microsoft.Solaris.10.LogicalDisk.Discovery (Discovery)

This rule discovers Solaris 10 Logical Disks

Knowledge Base article:

Summary

This Discovery Rule discovers and populates the "Solaris 10 Logical Disk" with instances of logical disks discovered on Solaris 10 Computers.

Configuration

The discovery of logical disks (file systems) can be customized through the use of exclusion regular expressions for the file system name and type. Any matching file systems with a name matching the Exclude File System Name Expression or type matching the Exclude File System Type Expression parameters are excluded from discovery.

Element properties:

TargetMicrosoft.Solaris.10.OperatingSystem
EnabledTrue
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Unix.WSMan.TimedEnumerate.LogicalDisk.DiscoveryData Default

Source Code:

<Discovery ID="Microsoft.Solaris.10.LogicalDisk.Discovery" Target="Microsoft.Solaris.10.OperatingSystem" Enabled="true" Remotable="true">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Solaris.10.LogicalDisk"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Unix!Microsoft.Unix.WSMan.TimedEnumerate.LogicalDisk.DiscoveryData">
<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/NetworkName$</TargetSystem>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_FileSystem?__cimnamespace=root/scx</Uri>
<Filter/>
<SplitItems>true</SplitItems>
<Interval>14400</Interval>
<SyncTime/>
<ExcludeFileSystemName>^(none)$</ExcludeFileSystemName>
<ExcludeFileSystemType>^(none)$</ExcludeFileSystemType>
<ClassId>$MPElement[Name="Microsoft.Solaris.10.LogicalDisk"]$</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_FileSystem']/*[local-name(.)='Name']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Unix!Microsoft.Unix.LogicalDevice"]/DeviceName$</Name>
<Value>$Data/WsManData/*[local-name(.)='SCX_FileSystem']/*[local-name(.)='Name']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Unix!Microsoft.Unix.LogicalDisk"]/FileSystem$</Name>
<Value>$Data/WsManData/*[local-name(.)='SCX_FileSystem']/*[local-name(.)='FileSystemType']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Unix!Microsoft.Unix.LogicalDisk"]/Compressed$</Name>
<Value>$Data/WsManData/*[local-name(.)='SCX_FileSystem']/*[local-name(.)='CompressionMethod']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Unix!Microsoft.Unix.LogicalDisk"]/Size$</Name>
<Value>$Data/WsManData/*[local-name(.)='SCX_FileSystem']/*[local-name(.)='FileSystemSize']$</Value>
</Setting>
</Settings>
</InstanceSettings>
</DataSource>
</Discovery>