Service-level monitoring is possible for Connection Servers and Unified Access Gateways.Configuring telegraf enables you to monitor Tomcat services as well as perform HTTP Health Checks against the UAG and CS web services. 20-sec monitoring metrics can be enabled in vCenter Adapter for Horizon use cases.
Following three configurations can be used:
-
Configuring Telegraf :
Install the telegraf agent on the CS Server by navigating through Inventory → Manage Telegraf Agents. Telegraf Agent Installation
-
Navigate to Environment -> Applications -> Manage Telegraf Agents page
-
Select the UAG / CS Server click the horizontal ellipsis, and then click Install
-
Provide the server administrator user credentials and install the telegraf.
Note:Telegraf installation for UAG servers with version 21 and above fails and the client receives SOAP fault from server. As a pre-requisite, add a "tmp" folder with "exec" permission. Use the following command and retry installation.<mount -o remount,exec /tmp>
-
Activate Tomcat Application Service Activate Plugins
-
Activate Tomcat Custom Httpcheck Service Enable Httpcheck
Sample Configurations for UAG Server:-
Tomcat
Base URL : http://localhost:8877/
Installed Path : /opt/vmware/gateway/data/authbroker/.extractOR /opt/vmware/gateway/.extract
Note:Install Path is where the horizon client is deployed over UAG server. Precisely where hc.war is extracted
-
HttpCheck :
URL : https://localhost:443/
Method : GET
Skip host and chain verification :true
-
PingCheck
DisplayName :
FQDN / IP : Provide UAG Server IP
Sample Configurations for Connection Server:-
Tomcat
Base URL : http://localhost:48080
Installed Path : C:\Program Files\VMware\VMware View\Server\broker\
-
HttpCheck :
URL : http://localhost:48080
Method : GET
-
PingCheck
DisplayName :
FQDN / IP : Provide CS Server IP
-
-
Enabling 20-sec Monitoring :
Navigate to vSphere Solutions Default Policy.
, and then click-
Click Edit Policy to enable peak metrics for the Virtual Machine.
-
Click Metrics & Properties, and then select the object type as Virtual Machine.
-
Expand Metrics section and edit the state to enable below metrics:
-
Under CPU
-
Peak vCPU Co-Stop within collection cycle
-
Peak vCPU IO wait
-
Peak vCPU overlap
-
Peak vCPU Ready
-
Peak vCPU Swap Wait
-
Peak vCPU System
-
Under Memory->Peak Contention
-
Under Guest
-
Peak CPU Context Switch
-
Peak vCPU Queue
-
Peak vCPU Disk Queue
-
Under Network
-
Peak Usage Rate
-
Virtual Disk
-
Peak Latency
-
-
-
Configuring Unified Access Gateways :
Host name of UAG VM, DNS name, and Unified Access Gateway name provided while deploying the UAG must be in the same order to monitor the metrics & sessions.