Detectar versión del agente
Microsoft.Unix.AgentVersion.Discovery (Discovery)
Esta tarea de detección busca la versión de un agente instalado.
Knowledge Base article:
Element properties:
Object Discovery Details:
Member Modules:
Source Code:
<Discovery ID="Microsoft.Unix.AgentVersion.Discovery" Target="Microsoft.Unix.Computer" Enabled="true" Remotable="true">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Unix.Computer"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.Unix.WSMan.TimedEnumerate.DiscoveryData">
<TargetSystem>$Target/Property[Type="Microsoft.Unix.Computer"]/NetworkName$</TargetSystem>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_Agent?__cimnamespace=root/scx</Uri>
<Filter/>
<SplitItems>false</SplitItems>
<Interval>86400</Interval>
<SyncTime/>
<ClassId>$MPElement[Name="Microsoft.Unix.Computer"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="Microsoft.Unix.Computer"]/PrincipalName$</Name>
<Value>$Target/Property[Type="Microsoft.Unix.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.Unix.Computer"]/AgentVersion$</Name>
<Value>$Data/WsManData/*[local-name(.)='SCX_Agent']/*[local-name(.)='KitVersionString']$</Value>
</Setting>
</Settings>
</InstanceSettings>
</DataSource>
</Discovery>