Windows 上的 MSSQL: 探索本機警示收集

Microsoft.SQLServer.Windows.LocalAlertCollectionDiscovery (Discovery)

此規則會探索 Windows 上 MSSQL 的本機警示收集。此物件可用於從監視本機 SQL Server 資料庫引擎執行個體之 SCOM 代理程式的事件記錄檔收集模組錯誤與警告。

Knowledge Base article:

摘要

此規則會探索 Windows 上 MSSQL 的本機警示收集。此物件可用於從監視本機 SQL Server 資料庫引擎執行個體之 SCOM 代理程式的事件記錄檔收集模組錯誤與警告。

可覆寫的參數

名稱

描述

預設值

已啟用

啟用或停用該工作流程。

間隔 (秒)

每次重複執行工作流程之間的時間間隔 (秒)。

14400

同步處理時間

同步處理時間

 

逾時 (秒)

指定工作流程失敗多少次後關閉並標示為失敗。

300

Element properties:

TargetMicrosoft.SQLServer.Windows.LocalDiscoverySeed
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.Windows.DataSource.LocalAlertCollectionDiscovery Default

Source Code:

<Discovery ID="Microsoft.SQLServer.Windows.LocalAlertCollectionDiscovery" Enabled="true" Target="Microsoft.SQLServer.Windows.LocalDiscoverySeed" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.Windows.MonitoringPoolAlertCollection"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.Windows.DataSource.LocalAlertCollectionDiscovery">
<PrincipalName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</PrincipalName>
<DisplayName>Microsoft SQL Server on Windows Local Alert Collection</DisplayName>
<MonitoringPoolClassId>$MPElement[Name='Microsoft.SQLServer.Windows.MonitoringPoolAlertCollection']$</MonitoringPoolClassId>
<IntervalSeconds>14400</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<SyncTime/>
</DataSource>
</Discovery>