3.4 LicenseStatus

Use the XenDesktop_LicenseStatus Knowledge Script to monitor the license usage and license expiration of XenDesktop or XenApp servers.

This script raises an event when the percentage of licenses in use exceeds a threshold you set, or if the license expiration date is approaching. You can also choose to collect data for the number of licenses in use.

3.4.1 Resource Objects

Citrix XenDesktop or XenApp License Server object

3.4.2 Default Schedule

The default schedule is daily.

3.4.3 Setting Parameter Values

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 LicenseStatus job fails. The default is 5.

Monitor License Usage

Event Notification

Raise event if percentage of licenses in use exceeds threshold?

Select Yes to raise an event if the percentage of licenses in use exceeds the threshold. The default is Yes.

Threshold - Maximum percentage of licenses in use

Specify the maximum percentage of licenses that can be in use before an event is raised. The default is 80%.

Event severity when maximum percentage of licenses in use is exceeded

Set the event severity level, from 1 to 40, to indicate the importance of the event in which the percentage of licenses in use exceeds the threshold. The default is 10.

Data Collection

Collect data for number of licenses in use?

Select Yes to collect data for the number of licenses in use. The default is unselected.

Collect data for percentage of licenses in use?

Select Yes to collect data for the percentage of licenses in use. The default is unselected.

Monitor License Expiration

Event Notification

Raise event if license expiration date is approaching?

Select Yes to raise an event if the license expiration date is approaching. In the following parameter, you can specify when you want to raise the event based on the number of days before the license expires. The default is Yes.

Threshold - Number of days before license expires

Specify the number of days before the license expires, at which point an event is raised. The default is 5 days.

Event severity when number of days before license expires is reached

Set the event severity level, from 1 to 40, to indicate the importance of the event in which the number of days before the license expires is reached. The default is 15.