How to setup VMware Horizon version 8 monitor with Applications Manager

How to setup VMware Horizon version 8 monitor with Applications Manager

VMware Horizon is a Desktop as a Service(DaaS) solution that helps you achieve Desktop and Application virtualization.

Prerequisites:

  1. Powershell with version above 5.1
  2. VMware PowerCLI Module
Notes
Note: Since this uses Powershell, Horizon monitoring is supported only if Applications Manager has been installed on the Windows platform.

Installing VMware PowerCLI Module via command line and setting it up to facilitate data-collection

Steps to be implemented in Horizon Connection Server machine:
1. Open Powershell in administrator mode.
2. Run the following command to remotely connect with the Horizon Server from Applications Manager server.
Quote
>Set-ExecutionPolicy RemoteSigned -Force -Confirm:$false
Steps to be implemented in Applications Manager installed machine:
1. Open Windows Powershell in administrator mode.
2. Run the following command:
Quote
>Install-Module -Name VMware.VimAutomation.HorizonView -RequiredVersion 12.5.0.19033914 -AllowClobber
3. After the installation is complete, run the following commands to remotely connect with the Horizon Server.
Quote
>Set-ExecutionPolicy RemoteSigned -Force -Confirm:$false
>Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false
>Set-PowerCLIConfiguration -Scope User -ParticipateInCeip $false
4. Check the path of the installed module by executing the following command:
Quote
Get-Module -ListAvailable VMware.VimAutomation.HorizonView
From the above command output we will be able to see the path which has PowerCLI modules installed (as displayed below).


Add the same to the System Environment variable called PSModulePath. Refer the image below for reference.

5. Open command prompt and run the following command:
Quote
>echo %PSModulePath%
Check if the newly added path has been listed.
6. Execute the following PowerCLI command from Applications Manager and check if Horizon server connects.
Quote
Connect-HVServer -Server <CONNECTION_SERVER_HOST> -User <DOMAIN\USERNAME> -Password <PASSWORD>
This command should return the basic details of the Horizon Connection Server. If not, please check the above steps are performed properly.
Once the command executes successfully, Restart Applications Manager service for the Environment Variable changes to take effect.

Then, open Applications Manager, select New Monitor option -> Select monitor type VMware View Connection Broker -> Provide necessary credentials and check if the monitor gets added successfully.

To add Horizon with VCenter, Events Database and AD monitor discovery,
Select New Monitor Group option -> Select VMware Horizon View -> Provide necessary credentials and check if Connection Broker monitor gets added and if the configured VCenter, Events Database(MSSQL or Oracle), AD monitors are discovered successfully.

                    New to ADSelfService Plus?

                      • Related Articles

                      • Self monitor Applications Manager using Real User Monitoring

                        We can monitor the Applications Manager using Real User Monitoring with a Java Script injection and this can be used to measure the Applications Manager's performance continuously. All you need is to install and setup the Real User Monitoring (RUM) ...
                      • Configure Weaviate Monitoring using Prometheus Mode in Applications Manager

                        Overview Applications Manager monitors Weaviate only through Prometheus. Weaviate exposes its own metrics on port 2112, Prometheus scrapes them, and Applications Manager queries Prometheus over its HTTP API on every poll. Each Weaviate monitor is ...
                      • Configure Kubernetes Monitoring using Prometheus Mode in Applications Manager

                        Overview Applications Manager can monitor a Kubernetes cluster without an agent by reading its metrics from a Prometheus server. Prometheus scrapes the cluster exporters, and Applications Manager queries Prometheus over its HTTP API on every poll. ...
                      • Self monitor Applications Manager using APM Insight Java Agent

                        Applications Manager is built with Java, hence we can monitor it using APM Insight Java Agent to measure it's performance continuously, which can be very much useful. Setting up APM Insight Java Agent Follow the below steps to download and set up the ...
                      • Troubleshooting URL Monitor

                        When configuring a URL monitor in Applications Manager, you might encounter several errors related to accessibility, configuration, or server-side issues. Below are common errors along with step-by-step troubleshooting instructions to help you ...