Desktop OS Session Physical Memory Utilization (Alert)

Comtrade.Citrix.XenDesktop.EndUser.Session.DesktopOS.PhysicalMemUtil.Alert (Rule)

Generates alert if physical memory utilization on Desktop OS machine is high.

Knowledge Base article:

Summary

Helps to identify Desktop OS sessions that host memory hungry applications/processes.

Configuration

The following configuration parameters are customizable:

IntervalSeconds

The recurring interval of time in seconds in which to run the rule (the default value is set to 300 seconds). In general this parameter should not be changed. To achieve alert to be triggered after different time than default, update NumberOfSamples parameter.

NumberOfSamples

The number of event occurrences before alert will be triggered (the default value is set to 3). For example, if alert must be triggered after 15 minutes, set it to 3 and set it to 4 if it must be triggered after 20 minutes. NumberOfSamples must not be set to a value less than 2.

Threshold

The value that defines the threshold to be used in the comparison (the default value is set to 80 percent).

ConsolidationInterval

This value must be always set based on NumberOfSamples and IntervalSeconds parameters. Please see the formula below.

Debug

Used for troubleshooting (the default value is set to false).

Formula for ConsolidationInterval:

ConsolidationInterval = ((NumberOfSamples - 1) * IntervalSeconds ) * 1.1

Example for monitor to generate alert only when monitored value is above threshold for 20 minutes (4 consecutive samples):

IntervalSeconds = 300 (5 minutes) NumberOfSamples = 4 ( 20 minutes / 5 minutes = 4) ConsolidationInterval = ((4 - 1) * 300) * 1.1 = 990

Resolutions

Troubleshooting

Identify the processes/services consuming memory using Citrix Director (Alert Task: Start Citrix Director) or Task Manager or Resource Monitor locally on the machine.

Additional

In addition to alert description, some information is also available in Alert Context tab:

Element properties:

TargetComTrade.Citrix.XenDesktop.MachineAgentProxy.ComputerRole
CategoryAlert
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
Desktop OS Session Physical Memory Utilization
Physical memory utilization of Desktop OS session on {0} machine is above the threshold for several consecutive samples.

Physical memory utilization: {1} \%

User: {2}
Session type: {3}
Site: {4}
Delivery group: {5}
Hypervisor hostname: {6}
Application: {7}

For more information about session see Alert Context section.

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Comtrade.Citrix.XenDesktop.EndUser.DS.Session.AlertProvider Default
Alert WriteAction System.Health.GenerateAlert Default