Generates alert if duration of the complete user logon process exceeds a threshold value.
Helps to identify a user whose logon process was very slow. It provides also information about duration for various logon phases.
The complete logon duration is not an exact sum of all phases. For example, some phases occur in parallel, and in some phases, additional processing occurs that might result in a longer logon duration than the sum.
Overridable parameters:
IntervalSeconds | The recurring interval of time in seconds in which to run the rule (the default value is set to 300 seconds). |
InfoThreshold | Info alert threshold (the default value is set to 120 seconds). |
WarningThreshold | Warning alert threshold (the default value is set to 180 seconds). |
CriticalThreshold | Critical alert threshold (the default value is set to 240 seconds). |
Debug | Used for troubleshooting (the default value is set to false). |
There are various reasons for a slower user logon including:
A new application was installed.
An operating system update occurred.
Configuration changes were made.
Also, check root causes of all logon phases which are included into the complete logon duration.
To identify if this is a general issue on a delivery group, compare the user's logon time to the average time for all users in this Delivery Group for the last seven days.
See Delivery Group Average Logon Performance
Check also the User - Logon Activity (Troubleshooting) report to get information about this user's logons in the past.
User logon is a complex and a resource intensive process on a Citrix server or desktop OS machine. It is initiated when Citrix delivery group load balancing algorithm selects the system where published application and/or desktop that user has selected will be started, and ends when the application and/or desktop is running and the user is able to interact with it.
Management Pack breaks down the Citrix XenApp/XenDesktop logon process into the following phases.
Phase 1: Brokering
The time taken to decide which desktop to assign to the user.
Phase 2: VM start
In case the session required a machine to be started, the time taken to boot the desktop.
Phase 3: HDX connection
The time taken to complete the steps required in setting up the HDX connection from the client to the VM, dependding on the network.
Phase 4: Authentication
The time taken to complete authentication to the remote session.
Phase 5: Profile load
The phase starts just after the user credentials are validated and lasts until the profile is downloaded from the profile storage (network share).
Phase 6: GPOs
During this phase, group policy objects are applied/defined on the Domain Controller.
Phase 7: Logon scripts
This phase covers the time taken for the logon scripts to be executed.
Phase 8: Interactive session
The phase starts in parallel with GPOs phase and covers Citrix specific activity before it launches the requested application: launching seamless windows engine shell, auto creation of client printers and ICA client update process.
Additional logon information
In addition to alert description, some information is also available in Alert Context tab:
MachineIP/MachineHostname - The IP address/host name of the machine hosting the session.
ClientIP/ClientHostname - The IP address/host name of the client connected to the desktop or application.
ClientVersion - The version of the Citrix Receiver running on the client connected to the session.
ConnectedViaIP/ConnectedViaHostname - The IP address/host name of the incoming connection. This is usually a gateway, router or client.
LaunchedViaIP/LaunchedViaHostname - The IP address/host name of the StoreFront server used to launch the session.
ControllerHostname - The host name of the controller that the session's hosting machine is registered with.
SessionType - Indicates if this is an Application or Desktop session.
IsReconnect - Indicates if the user has reconnected to an already existing session or launched a new one.
BrokeringUsername - The user name of the brokering user.
Click the following link to get more info about logon process:
XenApp/XenDesktop Connection Process and Communication Flow
Also, please see the following Citrix article on troubleshooting slow XenApp logons:
How to Troubleshoot Slow Logons
You may also want to check out the Citrix logon optimization guide:
Target | Citrix.XenDesktop.DataWatcher |
Category | Alert |
Enabled | True |
Alert Generate | True |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Citrix.XenDesktop.EndUser.DS.Logons.AlertProvider | Default |
filterProper | ConditionDetection | Citrix.XenDesktop.EndUser.CD.Logons.Alert.ConditionDetection | Default |
Alert | WriteAction | System.Health.GenerateAlert | Default |