MSSQL on Windows Replication: Discover Local Alert Collections

Microsoft.SQLServer.Replication.Windows.LocalAlertCollectionDiscovery (Discovery)

This rule discovers a Local Alert Collection for a MSSQL on Windows Replication. 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 Replication. This object is used to collect module errors and warnings from event log of SCOM agents that monitor Local SQL Server DB Engine instances.

Overrideable Parameters

Name

Description

Default Value

Enabled

Enables or disables the workflow.

Yes

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