3.6 MachineRegistration

Use the XenDesktop_MachineRegistration Knowledge Script to monitor the registration state of servers running Citrix XenDesktop or XenApp.

This script raises an event when a server remains in the Unregistered, Initializing, or AgentError states for longer than the thresholds you set.

NOTE:The XenDesktop_MachineRegistration script only monitors machines with a power state of On. The script ignores machines that are powered off or in other states, including servers that are in maintenance mode. This script also does not monitor servers that are configured as remote servers, as opposed to server operating system servers or desktop operating system servers, which are the types this script monitors.

3.6.1 Resource Objects

Citrix XenDesktop or XenApp Delivery Group object or Catalog object

3.6.2 Default Schedule

The default schedule is every 5 minutes.

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

Monitor Machines in Unregistered State

Event Notification

Raise event if a machine is in the Unregistered state?

Select Yes to raise an event if a machine is in the Unregistered state. The default is Yes.

Threshold - Maximum amount of time for a machine to remain in the Unregistered state

Specify the maximum amount of time for a machine to remain in the Unregistered state before an event is raised. The default is 0 minutes.

Event severity when a machine is found to be in the Unregistered state

Set the event severity level, from 1 to 40, to indicate the importance of the event in which a machine is found to be in the Unregistered state. The default is 5.

Monitor Machines in Initializing State

Event Notification

Raise event if a machine is in the Initializing state?

Select Yes to raise an event if a machine is in the Initializing state. The default is Yes.

Threshold - Maximum amount of time for a machine to remain in the Initializing state

Specify the maximum amount of time for a machine to remain in the Initializing state before an event is raised. The default is 0 minutes.

Event severity when a machine is found to be in the Initializing state

Set the event severity level, from 1 to 40, to indicate the importance of the event in which a machine is found to be in the Initializing state. The default is 5.

Monitor Machines in AgentError State

Event Notification

Raise event if a machine is in the AgentError state?

Select Yes to raise an event if a machine is in the AgentError state. The default is Yes.

Threshold - Maximum amount of time for a machine to remain in the AgentError state

Specify the maximum amount of time for a machine to remain in the AgentError state before an event is raised. The default is 0 minutes.

Event severity when a machine is found to be in the AgentError state

Set the event severity level, from 1 to 40, to indicate the importance of the event in which a machine is found to be in the AgentError state. The default is 5.