MSSQL: Preencher o Grupo de Instâncias do SQL Server

Microsoft.SQLServer.2016.GlobalInstanceGroupDiscovery (Discovery)

Esta regra de descoberta irá popular o grupo de Instâncias com todos os Mecanismos de Banco de Dados do SQL Server.

Knowledge Base article:

Resumo

Esta regra de descoberta irá popular o grupo de Instâncias com todos os Mecanismos de Banco de Dados do SQL Server.

Parâmetros Substituíveis

Nome

Descrição

Valor Padrão

Habilitado

Habilita ou desabilita o fluxo de trabalho.

Sim

Element properties:

TargetMicrosoft.SQLServer.Generic.Presentation.SQLServerInstanceGroup
EnabledTrue
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

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

Source Code:

<Discovery ID="Microsoft.SQLServer.2016.GlobalInstanceGroupDiscovery" Target="Generic!Microsoft.SQLServer.Generic.Presentation.SQLServerInstanceGroup" Enabled="true">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Generic!Microsoft.SQLServer.Generic.Presentation.SQLServerInstanceGroup"/>
</DiscoveryTypes>
<DataSource ID="DiscoveryDataSource" TypeID="SC!Microsoft.SystemCenter.GroupPopulator">
<RuleId>$MPElement$</RuleId>
<GroupInstanceId>$Target/Id$</GroupInstanceId>
<MembershipRules>
<MembershipRule>
<MonitoringClass>$MPElement[Name="Discovery!Microsoft.SQLServer.2016.DBEngine"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="Microsoft.SQLServer.2016.GlobalInstanceGroupContainsDBEngine"]$</RelationshipClass>
</MembershipRule>
</MembershipRules>
</DataSource>
</Discovery>