Session Disconnects - AVD Test

A user session is terminated when a user logs off from the AVD or when the session is abruptly interrupted (e.g., due to system, network, or application errors). When a user logs off, all the applications started by the user are terminated. However, when a user disconnects, the applications started by the user will keep running on the AVD consuming resources. Hence, the number of disconnected sessions on an AVD should be kept to a minimum. Abrupt disconnects can significantly impact the end user experience, and hence, it is important to monitor the number of disconnected sessions at any point of time.

Target of the test : An Azure Virtual Desktop

Agent deploying the test : An internal agent.

Outputs of the test : One set of results for the chosen Session Host / Azure Virtual Desktop

Configurable parameters for the test
Parameters Description

Test Period

How often should the test be executed.

Host

The host for which the test is to be configured.

Port

The default port is NULL.

Reconnect Period

This parameter is used by the test while computing the value for the Quick reconnects by users measure. This measure counts all the users who reconnected to the AVD within the short period of time (in minutes) specified against Reconnect Period.

Report By Domain Name

By default, this flag is set to Yes. This implies that by default, the detailed diagnosis of this test will display the domainname\username of each user who logged into the chosen Session Host / Azure Virtual Desktop. This way, administrators will be able to quickly determine which user logged in from which domain. If you want the detailed diagnosis to display the username alone, then set this flag to No.

DD Frequency

Refers to the frequency with which detailed diagnosis measures are to be generated for this test. The default is 1:1. This indicates that, by default, detailed measures will be generated every time this test runs, and also every time the test detects a problem. You can modify this frequency, if you so desire. Also, if you intend to disable the detailed diagnosis capability for this test, you can do so by specifying none against DD Frequency.

Detailed Diagnosis

To make diagnosis more efficient and accurate, the eG Enterprise embeds an optional detailed diagnostic capability. With this capability, the eG agents can be configured to run detailed, more elaborate tests as and when specific problems are detected. To enable the detailed diagnosis capability of this test for a particular server, choose the On option. To disable the capability, click on the Off option.

The option to selectively enable/disable the detailed diagnosis capability will be available only if the following conditions are fulfilled:

  • The eG manager license should allow the detailed diagnosis capability
  • Both the normal and abnormal frequencies configured for the detailed diagnosis measures should not be 0.
Measurements made by the test
Measurement Description Measurement Unit Interpretation

Total disconnected sessions

Indicates the total number of sessions that are in the disconnected state.

Number

To view all disconnected sessions, use the detailed diagnosis of this measure.

New disconnects

Indicates the number of sessions that were disconnected in the last measurement period.

Number

The detailed diagnosis for this measure indicates the user and session ID for each newly disconnected session. This information can be used to track whether specific users are being disconnected often

Quick reconnects by users

Indicates the number of users who reconnected soon after a disconnect.

Number

The detailed diagnosis of this measure, if enabled lists the users who have reconnected quickly. 

To view all disconnected sessions on the chosen Session Host, use the detailed diagnosis of the Total disconnected sessions measure.

Figure 3 : Detailed diagnosis of the Total disconnected sessions measure

The detailed diagnosis for the New disconnects measure indicates the user and session ID for each newly disconnected session. This information can be used to track whether specific users are being disconnected often.

Figure 4 : Detailed diagnosis of the New disconnects measure

Use the detailed diagnosis of the Quick reconnects measure to know which user sessions reconnected quickly. 

Figure 5 : Detailed diagnosis of the Quick reconnects measure