총 활성 세션 수

Microsoft.Windows.Server.10.0.RemoteDesktopServicesRole.Service.RDSessionHost.ActiveSessions (UnitMonitor)

이 개체는 RD 세션 호스트 서버의 총 활성 세션수를 모니터링합니다.

Knowledge Base article:

요약

RD 세션 호스트(원격 데스크톱 세션 호스트)의 활성 사용자 세션 수가 정상적인 작동 조건을 벗어납니다.

원인

RD 세션 호스트 서버의 총 활성 사용자 세션 수가 RD 세션 호스트 역할 서비스를 설치한 컴퓨터 하드웨어의 성능 제한에 접근하고 있습니다.

해결 방법

이 문제를 방지하려면 RD 세션 호스트 역할 서비스가 설치된 컴퓨터 하드웨어의 성능 제한에 따라 허용되는 최대 활성 세션 수를 구성합니다.

이 RD 세션 호스트 서버가 허용되는 최대 활성 세션 수를 구성하려면 원격 데스크톱 세션 호스트 구성의 연결 속성 대화 상자에서 세션 탭의 활성 세션 제한 설정을 구성합니다.

이 설정은 그룹 정책 콘솔을 사용해서도 제어할 수 있습니다. 탐색 창에서 컴퓨터 구성, 관리 템플릿, Windows 구성 요소, Remote Desktop Services, 세션을 차례로 연 다음 허용되는 최대 활성 세션 속성을 필요한 대로 변경하십시오.

Element properties:

TargetMicrosoft.Windows.Server.10.0.RemoteDesktopServicesRole.Service.RDSessionHost
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledFalse
Instance NameTerminal Services
Counter NameActive Sessions
Frequency900
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeSystem.Performance.TwoStateBaseliningMonitorWithoutCompression
RemotableTrue
AccessibilityPublic
Alert Message
기준선을 초과하는 원격 데스크톱 활성 세션 메트릭
활성 세션 메트릭이 계산된 기준선을 초과합니다. 현재 값은 {0}보다 큽니다.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.10.0.RemoteDesktopServicesRole.Service.RDSessionHost.ActiveSessions" Accessibility="Public" Enabled="false" Target="Microsoft.Windows.Server.10.0.RemoteDesktopServicesRole.Service.RDSessionHost" ParentMonitorID="SystemHealth!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="SystemPerf!System.Performance.TwoStateBaseliningMonitorWithoutCompression" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.10.0.RemoteDesktopServicesRole.Service.RDSessionHost.ActiveSessions.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>&gt;$Data/Context/Property[@Name='Average']$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ActiveSessionsNormal" MonitorTypeStateID="WithinEnvelope" HealthState="Success"/>
<OperationalState ID="ActiveSessionsHigh" MonitorTypeStateID="OutsideEnvelope" HealthState="Error"/>
</OperationalStates>
<Configuration>
<SignatureID>Microsoft.Windows.Server.10.0.RemoteDesktopServicesRole.Service.RDSessionHost.ActiveSessions.Sig</SignatureID>
<DataSourceSettings>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ObjectName>Terminal Services</ObjectName>
<CounterName>Active Sessions</CounterName>
<InstanceName/>
<AllInstances>false</AllInstances>
<Frequency>900</Frequency>
</DataSourceSettings>
<LearningAndBaseliningSettings>
<BusinessCycleLengthUnit>Week</BusinessCycleLengthUnit>
<BusinessCycleLengthInGivenUnit>1</BusinessCycleLengthInGivenUnit>
<LearningType>Continuous</LearningType>
<Offset1>3</Offset1>
<Offset2>3</Offset2>
<Offset3>3</Offset3>
<LearningRate>2.33</LearningRate>
<InitialNoAlertPeriodInBizCycles>1</InitialNoAlertPeriodInBizCycles>
<OuterSensitivity>3.31</OuterSensitivity>
<InnerSensitivity>2.81</InnerSensitivity>
</LearningAndBaseliningSettings>
<SignatureCollectionSettings>
<DBUpdatePeriodInSeconds>900</DBUpdatePeriodInSeconds>
</SignatureCollectionSettings>
</Configuration>
</UnitMonitor>