链接框架完成,但出现错误

Microsoft.SystemCenter.ServiceManager.Lfx.Monitoring.FinishedwithError (Rule)

监视链接框架工作流中的错误。

Knowledge Base article:

摘要

链接框架连接器遇到了同步错误。

原因

链接框架连接器遇到了同步错误。原因可能多种多样,确切的原因取决于源。

解决方法

Element properties:

TargetMicrosoft.SystemCenter.ServiceManager.SmManagementServer
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
链接框架工作流已完成,但出错
链接框架连接器 {2} 运行完成,但出错。

Member Modules:

ID Module Type TypeId RunAs 
DBProbe DataSource Microsoft.SystemCenter.ServiceManager.Monitoring.OledbProbe.LfxWorkflows Default
Filter ConditionDetection System.ExpressionFilter Default
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.SystemCenter.ServiceManager.Lfx.Monitoring.FinishedwithError" Enabled="true" Target="SM!Microsoft.SystemCenter.ServiceManager.SmManagementServer" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Custom</Category>
<DataSources>
<DataSource ID="DBProbe" TypeID="Microsoft.SystemCenter.ServiceManager.Monitoring.OledbProbe.LfxWorkflows">
<IntervalSeconds>86400</IntervalSeconds>
<SyncTime/>
<ConnectionString/>
<Query/>
<GetValue>true</GetValue>
<IncludeOriginalItem>true</IncludeOriginalItem>
<OneRowPerItem>true</OneRowPerItem>
</DataSource>
</DataSources>
<ConditionDetection ID="Filter" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Columns/Column[1]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft.SystemCenter.LinkingFramework.SyncStatusEnum.FinishedWithError</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.SystemCenter.ServiceManager.Lfx.Monitoring.Rule.AlertMessageFinishedWithError"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/Columns/Column[1]$</AlertParameter1>
<AlertParameter2>$Data/Columns/Column[2]$</AlertParameter2>
<AlertParameter3>$Data/Columns/Column[3]$</AlertParameter3>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/Columns/Column[1]$</SuppressionValue>
<SuppressionValue>$Data/Columns/Column[3]$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>