3.5 MachineFailures

Use the XenDesktop_MachineFailures Knowledge Script to monitor the number and type of failures that have occurred on machines in delivery groups on a XenDesktop or XenApp server. You can filter the monitoring based on failure type or whether the failure occurred for a single-user session or multi-user session.

This script raises an event when the number of machine failures exceed a threshold you set, and you can collect data on the number and type of machine failures.

3.5.1 Resource Objects

Citrix XenDesktop or XenApp Delivery Group object

3.5.2 Default Schedule

The default schedule is every 15 minutes.

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

Monitor Machine Failures

Filters

Sessions to Monitor

Single-user (desktop OS) sessions

Select Yes to monitor single-user, or desktop operating system, sessions. The default is Yes.

Multi-user (server OS) sessions

Select Yes to monitor multi-user, or server operating system, sessions. The default is Yes.

Failure Types to Monitor

Machine failed to start

Select Yes to monitor when a server failed to start. The default is Yes.

Machine stuck on boot

Select Yes to monitor when a server begins to reboot but never completes the process. The default is Yes.

Machine is unregistered

Select Yes to monitor when a server is unregistered. The default is Yes.

Machine is at maximum capacity

Select Yes to monitor when a server is at maximum capacity. The default is Yes.

Event Notification

Raise event if number of machine failures exceeds threshold?

Select Yes to raise an event if the number of server failures exceeds a threshold you set. The default is Yes.

Threshold - Maximum number of machine failures

Specify the maximum number of server failures that can exist before an event is raised. The default is 0 failures.

Event severity when maximum number of failures is exceeded

Set the event severity level, from 1 to 40, to indicate the importance of the event in which the maximum number of failures is exceeded. The default is 10.

Data Collection

Collect data for number of machine failures?

Select Yes to collect data for the number of server failures. The default is unselected.