監視資料庫的資料庫鏈結設定
此監視檢查此資料庫的 [資料庫鏈結] 設定。由於此監視為整體標準需求的一部分,所以如果設定不符合指定的標準,便會產生警示。
[資料庫鏈結] 設定是控制外部資源 (如另一個資料庫的物件) 是否能夠存取資料庫。當 [資料庫鏈結] 設定為 ON 時,資料庫可以是跨資料庫擁有權鏈結的來源或目標。
為減小安全性介面區並防範特定詐騙狀況,DB_CHAINING 應設為 OFF。請只在您確定應用程式需要它時,才設為 ON。
DB_CHAINING {ON | OFF}
如果選項不符合必要的設定,便會引發警告警示。根據預設,當此設定為 "ON" 時,監視器會設定為產生警示。
請按照下列方式解決此問題:
將此資料庫的組態設定變更為符合預期的值。
針對此特定資料庫或所有資料庫覆寫這個單元監視的預期值。
或者,如果此監視與這個資料庫無關:
請對此特定資料庫或所有資料庫使用覆寫來停用監視。
請對此特定資料庫或所有資料庫使用複寫來停用最上層彙總組態監視。
如需有關這項設定的詳細資訊,請參閱:< ALTER DATABASE SET 選項 (Transact-SQL)>
Target | Microsoft.SQLServer.2012.Database | ||
Parent Monitor | Microsoft.SQLServer.2012.Database.ExternalAccessConfiguration | ||
Category | ConfigurationHealth | ||
Enabled | False | ||
Alert Generate | True | ||
Alert Severity | Warning | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.SQLServer.2012.DBConfigurationStatus | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.SQLServer.2012.Database.Configuration.DBChaining" Accessibility="Public" Enabled="false" Target="SQL2012Core!Microsoft.SQLServer.2012.Database" ParentMonitorID="Microsoft.SQLServer.2012.Database.ExternalAccessConfiguration" Remotable="true" Priority="Normal" TypeID="Microsoft.SQLServer.2012.DBConfigurationStatus" ConfirmDelivery="false">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.SQLServer.2012.Database.Configuration.DBChaining.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="SQL!Microsoft.SQLServer.Database"]/DatabaseName$</AlertParameter1>
<AlertParameter2>$Target/Host/Property[Type="SQL!Microsoft.SQLServer.ServerRole"]/InstanceName$</AlertParameter2>
<AlertParameter3>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter3>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ConfigurationValueOK" MonitorTypeStateID="ConfigurationValueOK" HealthState="Success"/>
<OperationalState ID="ConfigurationValueNotOK" MonitorTypeStateID="ConfigurationValueNotOK" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<ConnectionString>$Target/Host/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/ConnectionString$</ConnectionString>
<DatabaseName>$Target/Property[Type="SQL!Microsoft.SQLServer.Database"]/DatabaseName$</DatabaseName>
<IntervalSeconds>43200</IntervalSeconds>
<SyncTime/>
<ConfigValue>DBChaining</ConfigValue>
<ExpectedValue>OFF</ExpectedValue>
<ExcludeOnExpress>false</ExcludeOnExpress>
<SQLSKU>$Target/Host/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/Edition$</SQLSKU>
<TimeoutSeconds>300</TimeoutSeconds>
</Configuration>
</UnitMonitor>