Use the XenDesktop_ApplicationUsage Knowledge Script to monitor the total instances of all applications and separate instances for each of the applications that are running.
This script raises an event if the total number of application instances or the number of instances of an application exceeds the thresholds you set. You can also choose to collect data on the total number of applications running.
Citrix XenDesktop or XenApp Applications folder object or individual application object
The default schedule is every 15 minutes.
Set the following parameters on the Values tab as needed:
Description |
How to Set It |
---|---|
General Settings |
|
Job failure event notification |
|
Event severity when job fails |
Set the severity level, from 1 to 40, to indicate the importance of an event in which the ApplicationUsage job fails. The default is 5. |
Monitor Total Application Instances |
|
Event Notification |
|
Raise event if total number of application instances exceeds threshold? |
Select Yes to raise an event when the total number of application instances exceeds the threshold you set. The default is Yes. |
Threshold - Maximum number of total application instances |
Specify the maximum number of total applications instances that can exist before an event is raised. The default is 50 applications. |
Event severity when total number of application instances exceeds threshold |
Set the event severity level, from 1 to 40, to indicate the importance of the event in which the total number of application instances is exceeded. The default is 10. |
Data Collection |
|
Collect data for total number of all application instances? |
Select Yes to collect data for the total number of all application instances. The default is unselected. |
Monitor Running Instances per Application |
|
Event Notification |
|
Raise event if number of instances of an application exceeds threshold? |
Select Yes to raise an event when the number of instances of an application exceeds the threshold you set. The default is Yes. |
Threshold - Maximum number of instances of an application |
Specify the maximum number of instances of an application that can exist before an event is raised. The default is 10 instances. |
Event severity when number of instances of an application exceeds threshold? |
Set the event severity level, from 1 to 40, to indicate the importance of the event in which the number of instances of an application is exceeded. The default is 10. |