Репликация MSSQL 2014: правило оповещения об ошибке модуля пакета управления репликации

Microsoft.SQLServer.2014.Replication.ModuleErrorEvent (Rule)

Правило оповещения об ошибках модулей пакета управления репликации Microsoft SQL Server 2014

Knowledge Base article:

Сводка

Это правило оповещений самостоятельной диагностики, предоставляющее сведения об ошибках при выполнении модуля, управляемого пакетом управления репликации версии 2014.

Переопределяемые параметры

Имя

Описание

Значение по умолчанию

Включено

Включает или отключает рабочий процесс

Да

Приоритет

Определяет приоритет предупреждения

2

Серьезность

Определяет серьезность предупреждения

2

Element properties:

TargetMicrosoft.SQLServer.2014.Replication.EventLogCollectionTarget
CategoryAlert
EnabledTrue
Event_ID6202
Event SourceSQL Server 2014 Replication MP
Alert GenerateTrue
Alert SeverityError
Alert PriorityHigh
RemotableTrue
Alert Message
Репликация MSSQL 2014: при выполнении управляемого модуля пакета управления репликации SQL Server 2014 произошла ошибка.
{0}
Event LogOperations Manager

Member Modules:

ID Module Type TypeId RunAs 
BasicEventDetection DataSource Microsoft.Windows.EventProvider Default
Alert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.SQLServer.2014.Replication.ModuleErrorEvent" ConfirmDelivery="true" DiscardLevel="100" Enabled="true" Priority="Normal" Remotable="true" Target="MS2RD!Microsoft.SQLServer.2014.Replication.EventLogCollectionTarget">
<Category>Alert</Category>
<DataSources>
<DataSource ID="BasicEventDetection" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<LogName>Operations Manager</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">6202</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">SQL Server 2014 Replication MP</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>2</Priority>
<Severity>2</Severity>
<AlertName/>
<AlertDescription/>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.SQLServer.2014.Replication.ModuleErrorEvent.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
<Custom1/>
<Custom2/>
<Custom3/>
<Custom4/>
<Custom5/>
<Custom6/>
<Custom7/>
<Custom8/>
<Custom9/>
<Custom10/>
</WriteAction>
</WriteActions>
</Rule>