MSSQL 2014: 填入 SQL Server 2014 元件群組

Microsoft.SQLServer.2014.ComponentsGroupDiscovery (Discovery)

此探索規則會在元件群組中填入所有 SQL Server 2014 相關元件

Knowledge Base article:

摘要

此探索規則會在元件群組中填入所有 SQL Server 2014 相關元件。

可覆寫的參數

名稱

描述

預設值

已啟用

啟用或停用該工作流程。

Element properties:

TargetMicrosoft.SQLServer.2014.ComponentsGroup
EnabledTrue
RemotableFalse

Object Discovery Details:

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

Member Modules:

ID Module Type TypeId RunAs 
DiscoveryDataSource DataSource Microsoft.SystemCenter.GroupPopulator Default

Source Code:

<Discovery ID="Microsoft.SQLServer.2014.ComponentsGroupDiscovery" Target="Microsoft.SQLServer.2014.ComponentsGroup" Enabled="true">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.2014.ComponentsGroup"/>
<DiscoveryRelationship TypeID="Microsoft.SQLServer.2014.ComponentsGroupContainsEntity"/>
</DiscoveryTypes>
<DataSource ID="DiscoveryDataSource" TypeID="SC!Microsoft.SystemCenter.GroupPopulator">
<RuleId>$MPElement$</RuleId>
<GroupInstanceId>$Target/Id$</GroupInstanceId>
<MembershipRules>
<MembershipRule>
<MonitoringClass>$MPElement[Name="Microsoft.SQLServer.2014.ServerRole"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="Microsoft.SQLServer.2014.ComponentsGroupContainsEntity"]$</RelationshipClass>
</MembershipRule>
<MembershipRule>
<MonitoringClass>$MPElement[Name="Microsoft.SQLServer.2014.Component"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="Microsoft.SQLServer.2014.ComponentsGroupContainsEntity"]$</RelationshipClass>
</MembershipRule>
<MembershipRule>
<MonitoringClass>$MPElement[Name="Microsoft.SQLServer.2014.Database"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="Microsoft.SQLServer.2014.ComponentsGroupContainsEntity"]$</RelationshipClass>
</MembershipRule>
<MembershipRule>
<MonitoringClass>$MPElement[Name="Microsoft.SQLServer.2014.DBPerspective"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="Microsoft.SQLServer.2014.ComponentsGroupContainsEntity"]$</RelationshipClass>
</MembershipRule>
</MembershipRules>
</DataSource>
</Discovery>