VMware Horizon Monitoring

Last updated on 17 October, 2023

Overview

​VMware Horizon is a suite of products and technologies designed to help information technology (IT) administrators deliver desktops and applications and secure data on a variety of endpoint devices.​ Using LogicMonitor’s VMware Horizon package, you can monitor persistent disks, datastore state, desktop pools, vSphere host state, and more.

Setup Requirements

Import LogicModules

From the LogicMonitor Repository, import all VMware Horizon LogicModules, which are listed in the LogicModules in Package section of this support article.

Add Devices Into Monitoring

Add your VMware Horizon devices into monitoring. For more information on adding resources into monitoring, see Adding Devices.

Install the Horizon PowerCLI Module on the Collector Host

The Horizon PowerCLI module must be installed on the Collector host:

Import-Module VMware.VimAutomation.HorizonView
Import-Module VMware.VimAutomation.Core

See the Using the Horizon PowerCLI Module section of the VMware Horizon 7 Product Documentation for more details.​

Entering Credentials as Properties​

LogicMonitor must provide the appropriate credentials in order to successfully access the resource. These credentials must belong to a VMware Horizon user account with the following minimum permissions:

Role

Description

Administrators (Read only) See the Predefined Administrator Roles section of the VMware Horizon 7 Product Documentation for details on the Administrator (Read only) role.

After an Administrator (Read only) user account is established for VMware Horizon, the following custom properties must be set on the VMware Horizon resource within LogicMonitor. For more information on setting properties, see Resource and Instance Properties.

Property

Value

horizon.user VMware Horizon username
horizon.pass VMware Horizon password
horizon.force (Optional) This property is used to bypass using -Force in Connect-HVServer command, which causes timeout for some users. If you do not want to use -force in the connection, set this value to false.
horizon.hostname (Optional) Specify the VMware Horizon hostname when the system.hostname is not applicable during script execution. Depending on configuration, providing the FQDN is necessary to prevent errors during script execution.

Troubleshooting

​Included in this package is the VMware Horizon Troubleshooter ​DataSource, which returns discovered instances if necessary properties are missing.

LogicModules in Package​

LogicMonitor’s package for VMware Horizon consists of the following LogicModules. For full coverage, please ensure that all of these LogicModules are imported into your LogicMonitor platform.

Display Name Type Description
addCategory_VMwareBlastPropertySourceAdds the “VMwareBlast” property to any host where the relevant WMI classes for BLAST are detected.
addCategory_VMwareHorizonConnectionServerPropertySourceApplies the value of “VMwareHorizonConnectionServer” to the system.categories property of machines identified as running VMware Horizon Connection Server via WMI.
VMware_Horizon_Product_InfoPropertySourceDiscovers the Horizon product version and writes it to a property.
VMware Horizon Persistent DisksDataSourceMonitors VMware Horizon Persistent Disks.
VMware Horizon ApplicationsDataSourceMonitors VMware Horizon Applications
VMware Horizon DatastoresDataSourceMonitors the state of Datastores that underpin the Horizon environment.
VMware Horizon vSphere HostsDataSourceMonitors the state of vSphere hosts that underpin the Horizon environment.
VMware Horizon TroubleshooterDataSource– Will only return discovered instances if necessary properties are missing.
VMware Horizon CertificatesDataSourceMonitors individual certificate validity and expiration metrics.
VMware Horizon AD Domain ConnectionsDataSourceMonitors the Connection Server’s connections to AD servers.
VMware Horizon MachinesDataSourceMonitors the state of VMware Horizon Machines.
VMware Horizon SessionsDataSourceMonitors basic state of sessions on this Connection Server.
VMware Horizon Connection DataDataSourceOverview of connection data via PowerCLI
VMware Horizon RDS ServersDataSourceMonitors Remote Desktop Services Servers in a VMware environment.
VMware Horizon Event Database ConnectionDataSourceMonitors the state of the connection to the Event Database
VMware Horizon PCoIP SessionsDataSourceMonitors PCoIP session metrics via WMI.
VMware Horizon Desktop PoolsDataSourceMonitors Desktop Pools in your VMware Horizon Environment
VMware Horizon License InfoDataSourceMonitors license expiration and enabled features.
VMware Horizon Blast SessionsDataSourceMonitors detailed information about VMware BLAST sessions via WMI.
VMware Horizon ServicesDataSourceMonitors state of HorizonView Windows Services.

When setting static datapoint thresholds on the various metrics tracked by this integration package, LogicMonitor follows the technology owner’s best practice KPI recommendations. If necessary, we encourage you to adjust these predefined thresholds to meet the unique needs of your environment. For more information on tuning datapoint thresholds, see Tuning Static Thresholds for Datapoints.

In This Article