TFS VSO Agent Discovery Initial

TeamFoundationServer2015.TfsVsoAgentDiscoveryInitial (Discovery)

Discovery that looks for machines that may be have a VSO Build Agent configured on them

Knowledge Base article:

Summary

This discovers the VSO Agents and establishes the possibility for the presence of the VSO Agents based on the presence of a registry key entry.

Element properties:

TargetMicrosoft.Windows.Computer
EnabledTrue
Frequency300
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
TfsFilteredRegistryPathExistsDisoveryProvider DataSource TeamFoundationServer2015.TfsFilteredRegistryPathExistsDiscoveryDataSource Default

Source Code:

<Discovery ID="TeamFoundationServer2015.TfsVsoAgentDiscoveryInitial" Enabled="true" Target="Windows!Microsoft.Windows.Computer" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="TeamFoundationServer2015.TfsVsoAgentCandidate"/>
</DiscoveryTypes>
<DataSource ID="TfsFilteredRegistryPathExistsDisoveryProvider" TypeID="TeamFoundationServer2015.TfsFilteredRegistryPathExistsDiscoveryDataSource">
<Component>VsoAgents</Component>
<ClassId>$MPElement[Name="TeamFoundationServer2015.TfsVsoAgentCandidate"]$</ClassId>
<ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<IntervalSeconds>300</IntervalSeconds>
</DataSource>
</Discovery>