The uberAgent endpoint agent has been installed on a dedicated machine from where it can reach the physical or virtual Citrix NetScaler (ADC) appliance(s).
Agent has been configured correctly (configuration setting [CitrixADC_Config] in uberAgent’s configuration).
uberAgent log file located in C:\Windows\Temp (default location) shows the issue with the script execution (FetchCitrixADCDataFromScript)
Error details:
FetchCitrixADCDataFromScript,The PowerShell script Citrix ADC vServer returned data on StdErr: Get-Data : Error. See response: Cannot convert null to type "System.Net.SecurityProtocolType" due to enumeration values that are not valid. Specify one of the following enumeration values and try again. The possible enumeration values are "SystemDefault,Ssl3,Tls,Tls11,Tls12"
Similar error can be observed when you run a sample line from PowerShell:
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls13
Old System.NET assemblies installed on the OS (System.dll which you can find in C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System\* folder).
TLS13 security protocol not available in SecurityProtocolType Enum which specifies the security protocols that are supported by the Schannel security package.
We installed Microsoft .NET 4.8 runtime on the affected machine.
With Citrix NetScaler (ADC) monitoring enabled, uberAgent should collect appliance & gateway performance, utilization, and inventory data from Citrix NetScaler Application Delivery Controllers.