Citrix Session Idle Monitor

Citrix.PresentationServer.CitrixSessionIdle.Monitor (UnitMonitor)

Monitors and identifies Citrix sessions that have been idle for longer than a predefined period of time

Knowledge Base article:

Citrix ® Management Pack

Summary

A session has been idle for longer than the period allowed. The session may no longer be in use and may be consuming resources (including licenses) unnecessarily.

Note that the rule that governs this alert is one of two rules that control how the Management Pack processes and responds to information about sessions that have been idle for too long. For more information about configuring and enabling these rules, see the Citrix Knowledge Base (see below for the link).

 
Summary

A session has been idle for longer than the period allowed. The session may no longer be in use and may be consuming resources (including licenses) unnecessarily.

 
Causes

This alert may indicate problems with the session. A session is idle when no user input is detected for some time. All sessions, including idle sessions, consume resources on the server. Therefore, idle sessions can cause problems where server resource is limited.

 
Resolutions

If the idle session is not in use at present, disconnect it; for example, using the Presentation Server Console. Disconnecting a session terminates the connection between the server and client. However, the user is not logged off and all running programs remain active, and the user can later reconnect to the disconnected session. Disconnecting the session ensures any licenses consumed by the session are made available to other users.

If the idle session is no longer required, log it off. Logging off a session terminates the connection and all running programs. The user cannot reconnect to the session. This will free up the resources consumed by this session for other users.

You can automatically disconnect sessions that have been idle for a specified time using the Microsoft Terminal Services Configuration utility. For more information, see the help file for this utility.

If this alert is generated because user sessions remain connected during non-working hours, consider limiting this rule's schedule to company working hours.

 
External Knowledge Sources

The following sources of information can be helpful when dealing with this error:

Or search the Citrix knowledge base for more information.

 
Sample Event

A Citrix session has been idle for too long (session %1 for user %2)

 
Other Information

This alert is disabled by default because the acceptable length of time for which a session should be idle varies between sites. The default limit before the "session idle for too long" alert is raised is currently set at 120 seconds.

 
© 2002-2008 Citrix Systems, Inc. All rights reserved.

Element properties:

TargetCitrix.PresentationServer.ManagedServer
Parent MonitorCitrix.PresentationServer.IMA.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateFalse
Alert Auto ResolveFalse
Monitor TypeCitrix.PresentationServer.CitrixSessionIdle.MonitorType
RemotableTrue
AccessibilityPublic
RunAsCitrix.PresentationServer.CitrixAdministratorAccount

Source Code:

<UnitMonitor ID="Citrix.PresentationServer.CitrixSessionIdle.Monitor" Accessibility="Public" Enabled="true" Target="Citrix.PresentationServer.ManagedServer" ParentMonitorID="Citrix.PresentationServer.IMA.AvailabilityState" Remotable="true" Priority="Normal" RunAs="CtxLibrary!Citrix.PresentationServer.CitrixAdministratorAccount" TypeID="Citrix.PresentationServer.CitrixSessionIdle.MonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<OperationalStates>
<OperationalState ID="Warning" MonitorTypeStateID="SessionIdle" HealthState="Warning"/>
<OperationalState ID="Success" MonitorTypeStateID="SessionActive" HealthState="Success"/>
</OperationalStates>
<Configuration>
<IntervalInSeconds>3600</IntervalInSeconds>
<MinutesIdle>120</MinutesIdle>
</Configuration>
</UnitMonitor>