[使用されていません] レプリケーション: エージェントが失敗しました

Microsoft.SQLServer.2008.ReplicationAgentFailureRule (Rule)

Knowledge Base article:

概要

このエラーは、すべてのレプリケーション エージェントのエラーに対して発生します。

原因

正確な問題は、エラーのコンテキストに依存し、[アラートの説明] で確認できます。

解決方法

以下の操作を行ってください。

外部資料

レプリケーション エージェントの起動および停止方法 (SQL Server Management Studio)

レプリケーション モニターを使用したレプリケーションの監視

サブスクリプションに関連付けられているエージェントの情報を表示し、タスクを実行する方法 (レプリケーション モニター)

SQL Server のレプリケーション エージェントで出力ファイルへのログ出力を有効にする方法

レプリケーション エージェントのセキュリティ モデル

上書き可能なパラメーター

名前

説明

既定値

有効

ワークフローを有効または無効にします。

いいえ

優先度

アラートの優先順位を定義します。

2

重大度

アラートの重大度を定義します。

2

Element properties:

TargetMicrosoft.SQLServer.2008.DBEngine
CategoryEventCollection
EnabledFalse
Alert GenerateTrue
Alert SeverityError
Alert PriorityHigh
RemotableTrue
Alert Message
レプリケーション: エージェントが失敗しました
{0}

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2008.EventProvider Default
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.SQLServer.2008.ReplicationAgentFailureRule" Target="SQL2008Core!Microsoft.SQLServer.2008.DBEngine" Enabled="false" ConfirmDelivery="true">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2008.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<PublisherName>$Target/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/ServiceName$</PublisherName>
<EventNumber>20536</EventNumber>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>2</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.SQLServer.2008.ReplicationAgentFailureRule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>Event ID: $Data/EventDisplayNumber$. $Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/LoggingComputer$</SuppressionValue>
<SuppressionValue>$Data/PublisherName$</SuppressionValue>
<SuppressionValue>$Data/EventDisplayNumber$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>