ファイルの検出

Microsoft.SQLServer.2008.DBFilesDiscoveryRule (Discovery)

このオブジェクト検出は、各 SQL Server 2008 データベースのファイル情報を検出します。検出は、ファイルを詳しく監視する必要のある特定のデータベースまたは DB エンジン インスタンスで使用されます。

Knowledge Base article:

概要

このオブジェクト検出は、各 SQL Server 2008 データベースのファイル情報を検出します。検出は、ファイルを詳しく監視する必要のある特定のデータベースまたは DB エンジン インスタンスで使用されます。

上書き可能なパラメーター

名前

説明

既定値

有効

ワークフローを有効または無効にします。

はい

タイムアウト (秒)

ワークフローが終了して失敗とマークされるまでの、ワークフローの許容実行時間を指定します。

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>