Generates alert if physical memory utilization on Desktop OS machine is high.
Helps to identify Desktop OS sessions that host memory hungry applications/processes.
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
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.
If all processes/services work within normal parameters and the level of memory consumption is as expected, consider adding additional memory to this system in the future.
If a process/service that works outside normal parameters can be identified, the process should be killed. Please note that killing a process can cause unsaved data to be lost.
In addition to alert description, some information is also available in Alert Context tab:
DateTime - Date and time when the data was gathered.
SiteName - Name of the site.
DeliveryGroupName - Name of the delivery group of machine hosting the session.
MachineName - Host name of the machine hosting the session.
VDAVersion - Version of the Citrix Virtual Delivery Agent (VDA) installed on the machine.
HypervisorName - Hostname of the machine’s hypervisor (for virtual machines only).
MachineOSType - Identifies the operating system that is running on the machine.
User - Name of the user connected to the desktop or application.
SessionStart - Date and time value indicating the start time of the session.
SessionType - Indicates if this is an Application or Desktop session.
SessionState - Indicates the state of the session.
SessionKey - Citrix unique identifier for this session.
CPU - CPU utilization of Desktop OS machine.
PhysicalMem/PhysicalMemUtil - Values indicating physical memory usage, in MB and percentage.
VirtualMem/VirtualMemUtil - Values indicating virtual memory usage, in MB and percentage.
PageFaultsPerSec - Memory hard page faults per second for Desktop OS machine.
NetworkReceive/NetworkSend – Desktop OS machine’s network receive/send values in KBps.
NetworkTraffic - Desktop OS machine’s network bandwidth consumption (send and receive) in KBps.
DiskIOPS - Rate of read and write operations on disk per second.
DiskRead/DiskWrite - Disk read/write values in KBps.
DiskQueue - Disk queue length.
DiskLatency - Disk latency in milliseconds.
SessionInput – Citrix session input bandwidth used (KBps). It includes all session traffic from Citrix Receiver to VDA machine.
SessionOutput – Citrix session output bandwidth used (KBps). It includes all the session traffic from VDA machine to Citrix Receiver.
SessionBandwidthUsage – Citrix session bandwidth used (KBps). It includes all the session traffic from VDA machine to Citrix Receiver and in opposite direction.
SessionLatency – Network latency detected between the Citrix Receiver and the VDA machine (ms).
SessionRTT – ICA Round Trip Time (ms). The time interval measured at the client between the first step (user action) and the last step (graphical response displayed).
Applications – List of application in use.
Target | ComTrade.Citrix.XenDesktop.MachineAgentProxy.ComputerRole | ||
Category | Alert | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Warning | ||
Alert Priority | Normal | ||
Remotable | True | ||
Alert Message |
|
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Comtrade.Citrix.XenDesktop.EndUser.DS.Session.AlertProvider | Default |
Alert | WriteAction | System.Health.GenerateAlert | Default |