LS Find Discovery Candidates

Microsoft.LS.2010.Discovery.WatcherNode.CentralDiscoveryCandidate (Discovery)

Knowledge Base article:

Summary

This discovers an instance of the LS Central DiscoveryCandidate class. This instance represents the list of possible SCOM agents from which the entire product topology including all the server roles, components, Sites, Pools etc. are discovered and monitored by the management pack.

Here is the algorithm that is used to pick the server where the LS Central DiscoveryCandidate instance is discovered:

This discovery rule runs on a periodic basis to check if the Front-end pool member servers have changed and updates discovered instances automatically.

Element properties:

TargetMicrosoft.Windows.Server.Computer
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.FilteredRegistryDiscoveryProvider Default

Source Code:

<Discovery ID="Microsoft.LS.2010.Discovery.WatcherNode.CentralDiscoveryCandidate" Enabled="true" Target="Windows!Microsoft.Windows.Server.Computer" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.LS.2010.WatcherNode.CentralDiscoveryCandidate"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.FilteredRegistryDiscoveryProvider">
<ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>Role</AttributeName>
<Path>Software\Microsoft\Real-Time Communications\{8D6164AA-D7B8-44A2-8125-E6C0DC7D4E9E}</Path>
<PathType>0</PathType>
<AttributeType>0</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>RoleOverride</AttributeName>
<Path>Software\Microsoft\Real-Time Communications\Health\CentralDiscoveryCandidate</Path>
<PathType>0</PathType>
<AttributeType>0</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<Frequency>14400</Frequency>
<ClassId>$MPElement[Name="Microsoft.LS.2010.WatcherNode.CentralDiscoveryCandidate"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
<Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
<Value>Microsoft Lync Server 2010 Candidate Discovery Watcher Node</Value>
</Setting>
</Settings>
</InstanceSettings>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Boolean">Values/Role</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Boolean">true</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Boolean">Values/RoleOverride</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Boolean">true</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</DataSource>
</Discovery>