Citrix Session Down Monitor

Citrix.PresentationServer.CitrixSessionDown.Monitor (UnitMonitor)

Monitors and identifies Citrix sessions in a down state

Knowledge Base article:

Citrix ® Management Pack

Summary

The server has detected that a session has been in the "down" state for longer than the time permitted. This means that the session is not available to the user, and it may indicate that there is a problem on the server.

 
Causes

This can be caused by a process within the session failing to terminate when the user logs off.

This alert may also be due to problems with Terminal Server on the server. If Terminal Server cannot reset the session, the session remains in the down state.

 
Resolutions

Check the Event Viewer for possible Terminal Server errors. You can also run the QWINSTA /DEBUG command to see if the output for this command hangs for this client device.

Try typing "qprocess *" at the command line to see if any processes are still running within this session. If a process is still running, terminate the process to free the session or return it to an idle state.

 
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

Citrix session $Parameter 1$ is down.

 
Other Information

By default, an alert is generated only if a session is in the down state for longer than five seconds. However, you can configure how long a session can be down before an alert is reported. Note that it is normal for sessions to be in the down state for a few seconds. For example, when a session is reset, it is down for a few seconds while the server terminates the processes associated with the session.

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

Element properties:

TargetCitrix.PresentationServer.ManagedServer
Parent MonitorCitrix.PresentationServer.IMA.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeCitrix.PresentationServer.CitrixSessionDown.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Citrix session down
Citrix session {0} is down.
RunAsCitrix.PresentationServer.CitrixAdministratorAccount

Source Code:

<UnitMonitor ID="Citrix.PresentationServer.CitrixSessionDown.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.CitrixSessionDown.MonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Citrix.PresentationServer.CitrixSessionDown.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/SessionId$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Error" MonitorTypeStateID="SessionDown" HealthState="Error"/>
<OperationalState ID="Success" MonitorTypeStateID="SessionActive" HealthState="Success"/>
</OperationalStates>
<Configuration>
<IntervalInSeconds>3600</IntervalInSeconds>
<SecondsDown>120</SecondsDown>
</Configuration>
</UnitMonitor>