트러스트 모니터링 읽기 오류

Microsoft.ActiveDirectoryFederationServices2012R2.TrustManagementTrustMonitoringPolicyStoreErrorMonitor (UnitMonitor)

Knowledge Base article:

요약

정기 예약된 트러스트 모니터링 간격 중 AD FS 구성 데이터베이스에 저장된 데이터를 읽으려고 할 때 오류가 발생했습니다. 이 오류는 다음 트러스트 모니터링 주기가 시작될 때까지 트러스트 모니터링을 중단시킵니다.

AD FS 트러스트 모니터링 시간 간격의 기본 설정은 1일입니다. 이 모니터는 이벤트 ID 164가 5일 동안 4번 이상 발생하는 경우 노란색 상태를 생성합니다. 1.5일 동안 같은 문제가 다시 발생하지 않는 경우 이 모니터의 성능 상태가 다시 녹색 상태로 전환되고 이 모니터에서 생성한 경고가 자동으로 해결됩니다.

원인

이 이벤트가 발생할 수 있는 원인은 다음과 같습니다.

해결 방법

AD FS 구성 데이터베이스에 연결할 수 있으며 AD FS 서비스 사용자 계정 ID에 데이터베이스에 대해 필요한 쓰기 권한이 있는지 확인하십시오. 자세한 내용은 AD FS 문제 해결 가이드의 "페더레이션 서비스가 AD FS 구성 데이터베이스에 연결할 수 있는지 확인" 섹션을 참조하십시오.

데이터베이스 서비스의 상태를 조사한 후 AD FS 구성 데이터베이스에 대한 읽기 권한을 다시 시도하십시오. 트러스트 모니터링 간격을 설정하려면 AD FS용 Windows PowerShell을 사용하면서 Set-ADFSProperties cmdlet의 MonitoringInterval 매개 변수를 사용하십시오.

Element properties:

TargetMicrosoft.ActiveDirectoryFederationServices2012R2.TrustManagement
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.RepeatedEventLogTimer2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
트러스트 모니터링 읽기 오류
AD FS 구성 데이터베이스에 저장된 데이터를 읽으려는 중 오류가 발생했습니다. 트러스트 모니터링이 일시적으로 중단되었지만 모든 트러스트에 대해 설정된 모니터링 간격 값을 기준으로 자동으로 다시 시작될 것입니다.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.ActiveDirectoryFederationServices2012R2.TrustManagementTrustMonitoringPolicyStoreErrorMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.ActiveDirectoryFederationServices2012R2.TrustManagement" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.RepeatedEventLogTimer2StateMonitorType" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.ActiveDirectoryFederationServices2012R2.TrustManagementTrustMonitoringPolicyStoreErrorMonitor_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/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</RepeatedComputerName>
<RepeatedLogName>$Target/Host/Property[Type="Microsoft.ActiveDirectoryFederationServices2012R2.FederationServer"]/ADFSEventLog$</RepeatedLogName>
<RepeatedExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">164</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>MatchesMOM2005RegularExpression</Operator>
<Pattern>(^AD FS$)</Pattern>
</RegExExpression>
</Expression>
</And>
</RepeatedExpression>
<Consolidator>
<ConsolidationProperties/>
<TimeControl>
<WithinTimeSchedule>
<Interval>432000</Interval>
</WithinTimeSchedule>
</TimeControl>
<CountingCondition>
<Count>4</Count>
<CountMode>OnNewItemTestOutputRestart_OnTimerSlideByOne</CountMode>
</CountingCondition>
</Consolidator>
<TimerWaitInSeconds>129600</TimerWaitInSeconds>
</Configuration>
</UnitMonitor>