SQL Server 2012 Event Log Collection Target Discovery

Microsoft.SQLServer.2012.Discovery.EventLogCollectionTarget (Discovery)

This discovery rule discovers an event log collection target for a Microsoft SQL Server 2012. This object is used to collect module errors from event log of computers that have SQL Server 2012 components.

Knowledge Base article:

Summary

This discovery rule discovers an event log collection target for a Microsoft SQL Server 2012. This object is used to collect module errors from event log of computers that have SQL Server 2012 components.

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.2012.Seed
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2012.DataSource.EventLogCollectionTarget Default

Source Code:

<Discovery ID="Microsoft.SQLServer.2012.Discovery.EventLogCollectionTarget" Enabled="true" Target="Microsoft.SQLServer.2012.Seed" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="SQL!Microsoft.SQLServer.Library.EventLogCollectionTarget"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2012.DataSource.EventLogCollectionTarget">
<PrincipalName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</PrincipalName>
<Frequency>14400</Frequency>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</Discovery>