Configuring Citrix XenApp/XenDesktop Site Monitoring

What is Citrix XenApp/XenDesktop Site Monitoring?

Citrix site monitoring is a new feature introduced with uberAgent 4.0. The endpoint agent detects if it is running on a delivery controller (DDC) or a VDA. On DDCs it automatically activates additional metrics like machine registration status, license usage and published application inventory.

Enabling or Disabling Site Monitoring

Citrix site monitoring is enabled by default, but is only activated on Citrix delivery controllers as explained above. To disable Citrix site monitoring disable the following metrics in the configuration:

  • CitrixDCDesktopGroup
  • CitrixDCCatalog
  • CitrixDCMachine
  • CitrixDCHypervisor
  • CitrixDCGeneralInformation
  • CitrixDCLicenseInformation
  • CitrixDCApplication
  • CitrixDCPublishedDesktops

Installation and Configuration

Install the uberAgent endpoint agent on at least one delivery controller per site. Installation on more than controller is optional – it helps ensure uninterrupted data collection even when individual DDCs are unavailable.

Grant read-only administrator permissions to each delivery controller’s computer account and the local SYSTEM account by running the following PowerShell code in an elevated console:

Add-PSSnapin Citrix.DelegatedAdmin.Admin.V1
New-AdminAdministrator -Sid S-1-5-18 -Enabled $true
Add-AdminRight -Role 0a05f0c6-0153-4852-a55a-989d6a95c0eb -Administrator S-1-5-18 -All
New-AdminAdministrator -Name <Domain>\<computer account> -Enabled $true
Add-AdminRight -Role 0a05f0c6-0153-4852-a55a-989d6a95c0eb -Administrator <Domain>\<computer account> -All

Configuration example

Add-PSSnapin Citrix.DelegatedAdmin.Admin.V1
New-AdminAdministrator -Sid S-1-5-18 -Enabled $true
Add-AdminRight -Role 0a05f0c6-0153-4852-a55a-989d6a95c0eb -Administrator S-1-5-18 -All
New-AdminAdministrator -Name CONTOSO\CTX-DDC1$ -Enabled $true
Add-AdminRight -Role 0a05f0c6-0153-4852-a55a-989d6a95c0eb -Administrator CONTOSO\CTX-DDC1$ -All
New-AdminAdministrator -Name CONTOSO\CTX-DDC2$ -Enabled $true
Add-AdminRight -Role 0a05f0c6-0153-4852-a55a-989d6a95c0eb -Administrator CONTOSO\CTX-DDC2$ -All

Sizing Guidelines

Sizing recommendations for delivery controllers with uberAgent:

  • 1,000 machines: minimal CPU usage, 30 MB RAM
  • 25,000 machines: 0.5 CPU cores, 500 MB RAM

System Requirements

The following services need to be started on delivery controllers with uberAgent:

  • Citrix Delegated Administration Service
  • Citrix Monitor Service

Please see the system requirements page for supported product versions.

Questions?

Do you have questions that were not answered here? Please ask us, we are happy to help!