I will discuss Today how to discover URL watcher node in SCOM.

 

I am using the following management packs.

Skype for Business Server 2015 Management Pack

Microsoft.LS.2015.Monitoring.ComponentAndUser :: 6.0.9319.273

While looking at the discovery, found that it is a registry based discovery where we are looking for the following registry values under the registry “Software\Microsoft\Real-Time Communications\Health”.

IsUrlWatcherNode = true

More information about the discovery can be found in the below link.

 

https://systemcenter.wiki/?GetElement=Microsoft.LS.2015.Discovery.WatcherNode.Url&Type=Discovery&ManagementPack=Microsoft.LS.2015.Monitoring.ComponentAndUser&Version=6.0.9319.273

 

Here is the complete discovery details.

 


 

<Discovery ID="Microsoft.LS.2015.Discovery.WatcherNode.Url" Enabled="true" Target="Windows!Microsoft.Windows.Server.Computer" ConfirmDelivery="false" Remotable="true">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.LS.2015.WatcherNode.Url"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.FilteredRegistryDiscoveryProvider">
<ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>IsUrlWatcherNode</AttributeName>
<Path>Software\Microsoft\Real-Time Communications\Health\IsUrlWatcherNode</Path>
<PathType>1</PathType>

<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<Frequency>14400</Frequency>
<ClassId>$MPElement[Name="Microsoft.LS.2015.WatcherNode.Url"]$</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>Skype for Business Server 2015 Synthetic Transaction URL Watcher Node</Value>
</Setting>
</Settings>
</InstanceSettings>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Values/IsUrlWatcherNode</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">true</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</DataSource>
</Discovery>

 

Most of the time, IsUrlWatcherNode registry key will not be present on the watcher node. So we need to create the following registry to get the server discovered as URL Watcher Node.

Software\Microsoft\Real-Time Communications\Health\IsUrlWatcherNode

We need to create a String key as IsUrlWatcherNode = true

– Once we create the above registry on the watcher node, SCOM is able to discover the machine successfully.