KHI: An error occurred while running the Test-Mailflow diagnostic cmdlet to verify cross-premises mail flow.

_66031D0A_EC28_49bb_9CAE_6A6E22CF0F1A_ (UnitMonitor)

Knowledge Base article:

External Knowledge Sources

For more information, see the respective topic at the Microsoft Exchange Server TechCenter

Element properties:

TargetMicrosoft.Exchange.2010.Mailbox.CrossPremisesMailflowMonitoring
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateFalse
Alert Auto ResolveTrue
Monitor TypeScriptInstanceStatefulEventUnitMonitorType.Execute_Test_Mailflow_CrossPremises_diagnostic_cmdlet.
RemotableTrue
AccessibilityPublic
RunAsDefault
CommentEscalationTeam='High Availability'

Source Code:

<UnitMonitor ID="_66031D0A_EC28_49bb_9CAE_6A6E22CF0F1A_" Target="Microsoft.Exchange.2010.Mailbox.CrossPremisesMailflowMonitoring" Enabled="onEssentialMonitoring" Accessibility="Public" Remotable="true" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" TypeID="ScriptInstanceStatefulEventUnitMonitorType.Execute_Test_Mailflow_CrossPremises_diagnostic_cmdlet." Comment="EscalationTeam='High Availability'">
<Category>AvailabilityHealth</Category>
<OperationalStates>
<OperationalState ID="OperationalGoodState" MonitorTypeStateID="GoodState" HealthState="Success"/>
<OperationalState ID="OperationalProblemState" MonitorTypeStateID="ProblemState" HealthState="Error"/>
</OperationalStates>
<Configuration>
<MonitorType>KHI</MonitorType>
<VoteWeight>-10</VoteWeight>
<GoodStateExpression>
<And>
<Expression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesMOM2005RegularExpression</Operator>
<Pattern>^(500|2000)$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">MSExchange Monitoring Mailflow CrossPremises</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
<Expression>
<Not>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">500</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Not>
</Expression>
</And>
</GoodStateExpression>
<ProblemStateExpression>
<And>
<Expression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesMOM2005RegularExpression</Operator>
<Pattern>^(500|2000)$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">MSExchange Monitoring Mailflow CrossPremises</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">500</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</ProblemStateExpression>
</Configuration>
</UnitMonitor>