同盟伺服器連線等候逾時

Microsoft.ActiveDirectoryFederationServices20.FederationServerProxyFsProxyServiceConnectionFailedTimeoutMonitor (UnitMonitor)

Knowledge Base article:

摘要

這個監視器指出同盟伺服器 Proxy 無法連絡同盟伺服器。這個情況將導致透過同盟伺服器 Proxy 的權仗發佈失敗。如果事件識別碼 222 在 30 分鐘內發生 10 次,這個監視器將產生「黃色」狀態。如果在 15 分鐘內未再度發生相同問題,監視器健康狀態將切換回「綠色」狀態。這個監視器所產生的警示必須手動解除。

原因

同盟伺服器 Proxy 在嘗試連線到同盟伺服器時逾時。這可能表示 Federation Service 目前無法使用。

解決方式

確認 AD FS 2.0 Windows 服務正在遠端同盟伺服器電腦上執行,而且該遠端同盟伺服器可提供連線。如需詳細資訊,請參閱< AD FS 2.0 疑難排解指南>的「確認 AD FS 已安裝並在執行中」和「確認網路連線」(英文) 二節內容。

Element properties:

TargetMicrosoft.ActiveDirectoryFederationServices20.FederationServerProxy
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.RepeatedEventLogTimer2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
同盟伺服器連線等候逾時
同盟伺服器 Proxy 無法連絡同盟伺服器。透過同盟伺服器 Proxy 發行權杖失敗。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.ActiveDirectoryFederationServices20.FederationServerProxyFsProxyServiceConnectionFailedTimeoutMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.ActiveDirectoryFederationServices20.FederationServerProxy" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.RepeatedEventLogTimer2StateMonitorType" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.ActiveDirectoryFederationServices20.FederationServerProxyFsProxyServiceConnectionFailedTimeoutMonitor_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="RepeatedEventRaised" MonitorTypeStateID="RepeatedEventRaised" HealthState="Warning"/>
<OperationalState ID="TimerEventRaised" MonitorTypeStateID="TimerEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<RepeatedComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</RepeatedComputerName>
<RepeatedLogName>$Target/Property[Type="Microsoft.ActiveDirectoryFederationServices20.FederationServerProxy"]/ADFSEventLog$</RepeatedLogName>
<RepeatedExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">222</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>MatchesMOM2005RegularExpression</Operator>
<Pattern>(^AD FS$)|(^AD FS 2.0$)</Pattern>
</RegExExpression>
</Expression>
</And>
</RepeatedExpression>
<Consolidator>
<ConsolidationProperties/>
<TimeControl>
<WithinTimeSchedule>
<Interval>1800</Interval>
</WithinTimeSchedule>
</TimeControl>
<CountingCondition>
<Count>10</Count>
<CountMode>OnNewItemTestOutputRestart_OnTimerSlideByOne</CountMode>
</CountingCondition>
</Consolidator>
<TimerWaitInSeconds>900</TimerWaitInSeconds>
</Configuration>
</UnitMonitor>