Citrix Disconnects Test

A user session is terminated when a user logs off from the Citrix Virtual Apps 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 Virtual Apps 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. This test measures the number of disconnected user sessions.

Target of the test : Citrix Virtual Apps

Agent deploying the test : An internal agent

Outputs of the test : One set of results for the Citrix Virtual Apps server that is to be 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 – The port number at which the specified HOST listens to. By default, this is 1494.
  4. RECONNECT PERIOD – This parameter is used by the test while computing the value for the Quick reconnects measure. This measure counts all the users who reconnected to the Citrix Virtual Apps within the short period of time (in minutes) specified against reconnect period.
  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 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

New disconnects:

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


The detailed diagnosis of 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:

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. 

Total disconnects:

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