Identifiera Red Hat Enterprise Linux Server 5-operativsystem
Microsoft.Linux.RHEL.5.OperatingSystem.Discovery (Discovery)
Med den här regeln identifieras datorer med operativsystemet Red Hat Enterprise Linux Server 5.
Knowledge Base article: Element properties: Object Discovery Details: Member Modules:
Source Code: <Discovery ID="Microsoft.Linux.RHEL.5.OperatingSystem.Discovery" Target="Microsoft.Linux.RHEL.5.Computer" Enabled="true" Remotable="true">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Linux.RHEL.5.OperatingSystem"/>
</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>14400</Interval>
<SyncTime/>
<FilterProperty>/DataItem/WsManData/*[local-name(.)='SCX_OperatingSystem']/*[local-name(.)='Caption']</FilterProperty>
<FilterValue>Red Hat Enterprise Linux Server release 5</FilterValue>
<ClassId>$MPElement[Name="Microsoft.Linux.RHEL.5.OperatingSystem"]$</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="Unix!Microsoft.Unix.OperatingSystem"]/OSVersion$</Name>
<Value>$Data/WsManData/*[local-name(.)='SCX_OperatingSystem']/*[local-name(.)='Version']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Unix!Microsoft.Unix.OperatingSystem"]/OSVersionDisplayName$</Name>
<Value>$Data/WsManData/*[local-name(.)='SCX_OperatingSystem']/*[local-name(.)='Caption']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
<Value>$Data/WsManData/*[local-name(.)='SCX_OperatingSystem']/*[local-name(.)='Caption']$</Value>
</Setting>
</Settings>
</InstanceSettings>
</DataSource>
</Discovery>