Citrix XA Disconnects Test

A user session is terminated when a user logs off from the Citrix/Terminal server or when the session is abruptly interrupted (e.g., due to server, 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 server consuming resources. Hence, the number of disconnected sessions on a Citrix/Terminal server 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 : Any Citrix server

Agent deploying the test : An internal agent

Outputs of the test : One set of results is reported for each Citrix server being monitored

Configurable parameters for the test
  1. TEST PERIOD – How often should the test be executed
  2. Host – The host for which the test is to be configured
  3. Port – Refers to the port used by the Citrix server
  4. reconnectperiod - 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 Citrix server within the short period of time (in minutes) specified against reconnectperiod.
  5. 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 disconnected from the server recently. This way, administrators will be able to quickly determine which user belongs to which domain. If you want the detailed diagnosis to display the username alone, then set this flag to No
  6. 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.
  7. DETAILED DIAGNOSIS - To make diagnosis more efficient and accurate, the eG Enterprise suite 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.



New disconnects:

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


The detailed diagnosis for this measure indicates the user, session ID, and client type 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.


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