Individuazione database per un motore di database

Microsoft.SQLServer.2005.DatabaseDiscoveryRule (Discovery)

Consente di individuare tutti i database in esecuzione per un'istanza specifica del motore di database di SQL Server 2005. Per impostazione predefinita, tutti i database vengono individuati e monitorati. L'elenco di esclusione consente di escludere uno o più database dall'individuazione. L'elenco è composto dai nomi dei database separati da virgole e il carattere jolly * consente di escludere tutti i database.

Knowledge Base article:

Riepilogo

Questo processo di individuazione oggetti individua tutti i database in esecuzione per un'istanza specifica del motore di database di SQL Server 2005. Per impostazione predefinita, tutti i database vengono individuati e monitorati. È possibile eseguire l'override dell'individuazione per escludere uno o più database dall'individuazione usando l'elenco di esclusione. Questo elenco accetta un elenco con valori delimitati da virgole di nomi di database o il carattere * per escludere tutti i database.

Configurazione

Elenco di esclusione: elenco con valori delimitati da virgole delle istanze di database che devono essere escluse dall'individuazione. È possibile usare il carattere jolly * per escludere tutte le istanze.

Element properties:

TargetMicrosoft.SQLServer.2005.DBEngine
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:
  • Microsoft.SQLServer.2005.Database
    • DatabaseName
    • RecoveryModel
    • DatabaseAutogrow
    • DatabaseSize
    • DatabaseSizeNumeric
    • LogAutogrow
    • Updateability
    • UserAccess
    • Collation
    • LogSize
    • LogSizeNumeric
    • Owner

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2005.DBDiscovery Default

Source Code:

<Discovery ID="Microsoft.SQLServer.2005.DatabaseDiscoveryRule" Enabled="true" Target="Microsoft.SQLServer.2005.DBEngine">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.2005.Database">
<Property TypeID="SQL!Microsoft.SQLServer.Database" PropertyID="DatabaseName"/>
<Property TypeID="SQL!Microsoft.SQLServer.Database" PropertyID="RecoveryModel"/>
<Property TypeID="SQL!Microsoft.SQLServer.Database" PropertyID="DatabaseAutogrow"/>
<Property TypeID="SQL!Microsoft.SQLServer.Database" PropertyID="DatabaseSize"/>
<Property TypeID="SQL!Microsoft.SQLServer.Database" PropertyID="DatabaseSizeNumeric"/>
<Property TypeID="SQL!Microsoft.SQLServer.Database" PropertyID="LogAutogrow"/>
<Property TypeID="SQL!Microsoft.SQLServer.Database" PropertyID="Updateability"/>
<Property TypeID="SQL!Microsoft.SQLServer.Database" PropertyID="UserAccess"/>
<Property TypeID="SQL!Microsoft.SQLServer.Database" PropertyID="Collation"/>
<Property TypeID="SQL!Microsoft.SQLServer.Database" PropertyID="LogSize"/>
<Property TypeID="SQL!Microsoft.SQLServer.Database" PropertyID="LogSizeNumeric"/>
<Property TypeID="SQL!Microsoft.SQLServer.Database" PropertyID="Owner"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2005.DBDiscovery">
<IntervalSeconds>14400</IntervalSeconds>
<SyncTime/>
<ComputerID>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerID>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<SQLConnectionString>$Target/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/ConnectionString$</SQLConnectionString>
<SQLInstanceName>$Target/Property[Type="SQL!Microsoft.SQLServer.ServerRole"]/InstanceName$</SQLInstanceName>
<ExcludeList/>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</Discovery>