uberAgent - CVAD Site not visible in Splunk

uberAgent - CVAD Site not visible in Splunk

book

Article ID: CTX692881

calendar_today

Updated On:

Description

Splunk dashboard (CVAD/DaaS Applications & Desktops) does not display CVAD Site on the list. 

 

 

There is no issue with data upload from agent to Splunk as other DDC metrics are available. 

uberAgent.log file located in C:\Windows\Temp on the Delivery Controller shows the error if you search for: GetSiteGeneralInformation

 

2025-04-03 12:00:21.811 -0500,ERROR,DOMAIN,MACHINENAME$,11452,GetSiteGeneralInformation,The script failed with the following error: 
{powershell script content here}
You do not have the required permissions to perform this operation. 

 

You can also find the Warning in the event logs (Application log) on the Citrix Delivery Controller:

Source: Citrix Configuration Service
Event ID: 1030

 

Otherwise unhandled exception in WCF call : System.UnauthorizedAccessException: Operation is not permitted GetSite
   at Citrix.Fma.Sdk.ServiceCommon.DelegatedAdmin.DelegatedAdminProvider.DemandPermission(String operation)
   at Citrix.Configuration.WcfService.<>c__DisplayClass34_0.<GetSite>b__0()
   at Citrix.Fma.Sdk.ServiceCore.ServiceCore.CheckedCall[T](String name, Func`1 operation, Func`2 defaultValue, ReturnCode code)

 

 

Environment

The above mentioned sample code is provided to you as is with no representations, warranties or conditions of any kind. You may use, modify and distribute it at your own risk. CITRIX DISCLAIMS ALL WARRANTIES WHATSOEVER, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that (a) the sample code may exhibit errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (b) it may not be possible to make the sample code fully functional; and (c) Citrix may, without notice or liability to you, cease to make available the current version and/or any future versions of the sample code. In no event should the code be used to support ultra-hazardous activities, including but not limited to life support or blasting activities. NEITHER CITRIX NOR ITS AFFILIATES OR AGENTS WILL BE LIABLE, UNDER BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY, FOR ANY DAMAGES WHATSOEVER ARISING FROM USE OF THE SAMPLE CODE, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Although the copyright in the code belongs to Citrix, any distribution of the sample code should include only your own standard copyright attribution, and not that of Citrix. You agree to indemnify and defend Citrix against any and all claims arising from your use, modification or distribution of the sample code.

Resolution

The following script template can be used to grant the required permissions. Fill in the names of your domain and of your Citrix DDCs before running it in an elevated PowerShell console on the Delivery Controller. 

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\DDC_MACHINE_ACC$ -Enabled $true
Add-AdminRight -Role 0a05f0c6-0153-4852-a55a-989d6a95c0eb -Administrator DOMAIN\DDC_MACHINE_ACC$ -All

 


Problem Cause

uberAgent requires read-only administrator permissions for:

  • each delivery controller’s computer account
  • the local SYSTEM account

Additional Information

You can find more information about Citrix Site Monitoring and requirements here: https://docs.citrix.com/en-us/uberagent/7-3-1/uxm-features-configuration/citrix-site-monitoring