MSSQL 2016: Erkennen von Ressourcenpools für das Datenbankmodul

Microsoft.SQLServer.2016.Discovery.ResourcePool (Discovery)

Diese Erkennungsregel erkennt alle Ressourcenpools für eine angegebene Instanz des SQL Server 2016-Datenbankmoduls.

Knowledge Base article:

Zusammenfassung

Diese Erkennungsregel erkennt alle Ressourcenpools für eine angegebene Instanz des SQL Server 2016-Datenbankmoduls.

Parameter, die außer Kraft gesetzt werden können

Name

Beschreibung

Standardwert

Aktiviert

Aktiviert oder deaktiviert den Workflow.

Ja

Intervall (Sekunden)

Das periodische Intervall in Sekunden, in dem der Workflow ausgeführt werden soll.

14400

Synchronisierungszeit

Die in einem 24-Stunden-Format angegebene Synchronisierungszeit. Kann ausgelassen werden.

 

Timeout (Sekunden)

Gibt die Zeit an, die der Workflow ausgeführt werden darf, bevor er geschlossen und als fehlgeschlagen markiert wird.

300

Element properties:

TargetMicrosoft.SQLServer.2016.Database
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2016.DataSource.ResourcePool Default

Source Code:

<Discovery ID="Microsoft.SQLServer.2016.Discovery.ResourcePool" Enabled="true" Target="Microsoft.SQLServer.2016.Database">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.2016.InternalPool">
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="PoolID"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="Name"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="MinCpuPercent"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="MaxCpuPercent"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="CapCpuPercent"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="MinMemoryPercent"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="MaxMemoryPercent"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Microsoft.SQLServer.2016.DefaultPool">
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="PoolID"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="Name"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="MinCpuPercent"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="MaxCpuPercent"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="CapCpuPercent"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="MinMemoryPercent"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="MaxMemoryPercent"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Microsoft.SQLServer.2016.UserDefinedPool">
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="PoolID"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="Name"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="MinCpuPercent"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="MaxCpuPercent"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="CapCpuPercent"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="MinMemoryPercent"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="MaxMemoryPercent"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2016.DataSource.ResourcePool">
<IntervalSeconds>14400</IntervalSeconds>
<SyncTime/>
<ComputerID>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerID>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<SQLInstanceName>$Target/Host/Property[Type="Microsoft.SQLServer.2016.ServerRole"]/InstanceName$</SQLInstanceName>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</Discovery>