Discover SQL Server Components Group membership
Microsoft.SQLServer.ComponentsGroupDiscovery (Discovery)
Populates the Components group with all SQL Server related components
Knowledge Base article:
Element properties:
Object Discovery Details:
Member Modules:
Source Code:
<Discovery ID="Microsoft.SQLServer.ComponentsGroupDiscovery" Target="Microsoft.SQLServer.ComponentsGroup" Enabled="true">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.ComponentsGroup"/>
<DiscoveryRelationship TypeID="Microsoft.SQLServer.ComponentsGroupContainsEntity"/>
</DiscoveryTypes>
<DataSource ID="DiscoveryDataSource" TypeID="SC!Microsoft.SystemCenter.GroupPopulator">
<RuleId>$MPElement$</RuleId>
<GroupInstanceId>$Target/Id$</GroupInstanceId>
<MembershipRules>
<MembershipRule>
<MonitoringClass>$MPElement[Name="Microsoft.SQLServer.ServerRole"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="Microsoft.SQLServer.ComponentsGroupContainsEntity"]$</RelationshipClass>
</MembershipRule>
<MembershipRule>
<MonitoringClass>$MPElement[Name="Microsoft.SQLServer.Component"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="Microsoft.SQLServer.ComponentsGroupContainsEntity"]$</RelationshipClass>
</MembershipRule>
<MembershipRule>
<MonitoringClass>$MPElement[Name="Microsoft.SQLServer.Database"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="Microsoft.SQLServer.ComponentsGroupContainsEntity"]$</RelationshipClass>
</MembershipRule>
<MembershipRule>
<MonitoringClass>$MPElement[Name="Microsoft.SQLServer.DBPerspective"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="Microsoft.SQLServer.ComponentsGroupContainsEntity"]$</RelationshipClass>
</MembershipRule>
</MembershipRules>
</DataSource>
</Discovery>