MSSQL on Windows: Discover Local Alert Collections

Microsoft.SQLServer.Windows.LocalAlertCollectionDiscovery (Discovery)

This rule discovers a Local Alert Collection for a MSSQL on Windows. This object is used to collect module errors and warnings from event log of SCOM agents that monitor Local SQL Server DB Engine instances.

Knowledge Base article:

Summary

This rule discovers a Local Alert Collection for a MSSQL on Windows. This object is used to collect module errors and warnings from event log of SCOM agents that monitor Local SQL Server DB Engine instances.

Overridable Parameters

Name

Description

Default Value

Enabled

Enables or disables the workflow.

Yes

Interval (seconds)

The recurring interval of time in seconds in which to run the workflow.

14400

Synchronization Time

The synchronization time specified by using a 24-hour format. May be omitted.

 

Timeout (seconds)

Specifies the time the workflow is allowed to run before being closed and marked as failed.

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>