Dynamics CRM Servers Seed Discovery

Microsoft.Dynamics.CRM.SeedDiscovery (Discovery)

Discovers all Dynamics CRM servers in the monitored servers and instantiates a seed class. Seed objects are used by another discovery script which creates the health facade.

Knowledge Base article:

Summary

This object discovery discovers all instances of Microsoft Dynamics CRM servers in the monitored servers and instantiates a seed class.

Seed objects are used by the Microsoft.Dynamics.CRM.Discovery.vbs script to create the health facade. If discovery does not find all expected objects, review the System Center Operations Manager event log for errors.

Element properties:

TargetMicrosoft.Windows.Server.Computer
EnabledTrue
Frequency43200
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:
Discovered relationships and their attribuets:

Member Modules:

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

Source Code:

<Discovery ID="Microsoft.Dynamics.CRM.SeedDiscovery" Enabled="true" Target="Windows!Microsoft.Windows.Server.Computer" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Dynamics.CRM.Servers">
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
<DiscoveryRelationship TypeID="Windows!Microsoft.Windows.ComputerHostsComputerRole"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.FilteredRegistryDiscoveryProvider">
<ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>CrmVersion</AttributeName>
<Path>SOFTWARE\Microsoft\MSCRM\CRM_Server_Version</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<Frequency>43200</Frequency>
<ClassId>$MPElement[Name="Microsoft.Dynamics.CRM.Servers"]$</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>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
</Settings>
</InstanceSettings>
<Expression>
<Or>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">Values/CrmVersion</XPathQuery>
</ValueExpression>
<Operator>MatchesWildcard</Operator>
<Pattern>6.*</Pattern>
</RegExExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">Values/CrmVersion</XPathQuery>
</ValueExpression>
<Operator>MatchesWildcard</Operator>
<Pattern>7.*</Pattern>
</RegExExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">Values/CrmVersion</XPathQuery>
</ValueExpression>
<Operator>MatchesWildcard</Operator>
<Pattern>8.*</Pattern>
</RegExExpression>
</Expression>
</Or>
</Expression>
</DataSource>
</Discovery>