Individuazione di file

Microsoft.SQLServer.2008.DBFilesDiscoveryRule (Discovery)

Questo processo di individuazione oggetti individua le informazioni sui file per ogni database di SQL Server 2008. L'individuazione viene usata in database specifici o istanze del motore di database in cui è necessario un monitoraggio dei file più approfondito.

Knowledge Base article:

Riepilogo

Questo processo di individuazione oggetti individua le informazioni sui file per ogni database di SQL Server 2008. L'individuazione viene usata in database specifici o istanze del motore di database in cui è necessario un monitoraggio dei file più approfondito.

Parametri di cui è possibile eseguire l'override

Nome

Descrizione

Valore predefinito

Abilitato

Abilita o disabilita il flusso di lavoro.

Timeout (secondi)

Specifica il tempo di esecuzione consentito per il flusso di lavoro prima che venga chiuso e contrassegnato come non riuscito.

300

Element properties:

TargetMicrosoft.SQLServer.2008.DBEngine
EnabledTrue
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2008.DBFilesDiscovery Default

Source Code:

<Discovery ID="Microsoft.SQLServer.2008.DBFilesDiscoveryRule" Enabled="true" Target="Microsoft.SQLServer.2008.DBEngine">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.2008.DBFile">
<Property TypeID="SQL!Microsoft.SQLServer.DBFile" PropertyID="FileID"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBFile" PropertyID="FileName"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBFile" PropertyID="FilePath"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBFile" PropertyID="Size"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBFile" PropertyID="Drive"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Microsoft.SQLServer.2008.DBLogFile">
<Property TypeID="SQL!Microsoft.SQLServer.DBFile" PropertyID="FileID"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBFile" PropertyID="FileName"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBFile" PropertyID="FilePath"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBFile" PropertyID="Size"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBFile" PropertyID="Drive"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2008.DBFilesDiscovery">
<NetworkName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</NetworkName>
<SQLConnectionString>$Target/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/ConnectionString$</SQLConnectionString>
<SQLInstanceName>$Target/Property[Type="SQL!Microsoft.SQLServer.ServerRole"]/InstanceName$</SQLInstanceName>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</Discovery>