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
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.
>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:
>Install-Module VMware.PowerCLI -Scope CurrentUser

3. After the installation is complete, run the following commands to remotely connect with the Horizon Server.
>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:
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 shown 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:
>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.
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) ...
                    • Real User Monitor (RUM) - Troubleshooting

                      If the monitor has not polled data for a long time, follow the steps below for troubleshooting: Step 1: Check prerequisites to be done Real User Monitor requires the RUM Agent to be installed and mapped to the Applications Manager. Refer the help ...
                    • 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 ...
                    • REST API Monitor - FAQS

                      1. What should I do when Basic Authentication fails in REST API monitor? Verify if the credentials provided in the Applications Manager are correct. Try if sending username and password in Authorization request header works Get an BASE-64 encoded ...
                    • Troubleshooting URL Monitor

                      Here are few of the common errors you may come across in URL monitor, we have mentioned the steps you can follow to troubleshoot them. General troubleshooting for URL monitor Ensure that the URL is accessible from the server in which Applications ...