Обнаружить глобальные зоны Solaris 10
Microsoft.Solaris.10.GlobalZone.Discovery (Discovery)
Это правило обнаруживает свойство типа зоны для глобальных зон Solaris 10.
Knowledge Base article:
Element properties:
Object Discovery Details:
Member Modules:
Source Code:
<Discovery ID="Microsoft.Solaris.10.GlobalZone.Discovery" Target="Microsoft.Solaris.10.Computer" Enabled="true" Remotable="true">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Solaris.10.Computer"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Unix!Microsoft.Unix.WSMan.TimedEnumerate.Filtered.ContainSubstring.DiscoveryData">
<TargetSystem>$Target/Property[Type="Unix!Microsoft.Unix.Computer"]/NetworkName$</TargetSystem>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem?__cimnamespace=root/scx</Uri>
<Filter/>
<SplitItems>false</SplitItems>
<Interval>28800</Interval>
<SyncTime/>
<FilterProperty>/DataItem/WsManData/*[local-name(.)='SCX_OperatingSystem']/*[local-name(.)='Description']</FilterProperty>
<FilterValue> Global Zone</FilterValue>
<ClassId>$MPElement[Name="Microsoft.Solaris.10.Computer"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="Unix!Microsoft.Unix.Computer"]/PrincipalName$</Name>
<Value>$Target/Property[Type="Unix!Microsoft.Unix.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Solaris!Microsoft.Solaris.Computer"]/ZoneType$</Name>
<Value>Global</Value>
</Setting>
</Settings>
</InstanceSettings>
</DataSource>
</Discovery>