Monitoring VDI-in-a-Box On Hyper-V

To monitor Microsoft Hyper-V and the vdimanager operating on it, use the VDI-in-a-Box / Hyper-V monitoring model.


Figure 1 : Layer model of VDI in a Box/Hyper-V

Each layer of this model is mapped to tests that report a variety of statistics related to the Microsoft Hyper-V and the VDI in a box appliance running on it. While the five layers at the bottom of the layer model focus on the health of the operating system and the network of the Hyper-V host, the top two layers perform ‘In-N-Out’ monitoring of the virtual desktops operating on the target Hyper-V server. To ascertain the status of the vdimanager and its operations on the other hand, you need to use the Virtual Desktops and VDI in a Box Broker layers.

To enable the eG remote agent to pull out all these performance statistics, you first need to make sure that the following pre-requisites are in place:

For monitoring the vdimanager:

  • The eG agent should be able to connect to the vdimanager via SSH and pull out the metrics. For this purpose,  the default SSH port, 22, should be opened on the vdimanager. If your environment has been configured with a different SSH port, then make sure that port is open.
  • The eG agent should be able to login to the vdimanager appliance for monitoring and metrics collection. To enable this, you need to configure all tests that the eG agent executes on the vdimanager with the credentials of a user with login rights. By default, the appliance supports a root user named root and a user named kvm. If you prefer not to expose the credentials of the root user, then you can configure the tests with the credentials of the other user kvm for this purpose. By default, the user root takes the password root, and the user kvm takes the password kaviza123.

For ‘In-N-Out’ monitoring of the Microsoft Hyper-V and its VMs:

  • Make sure that the pre-requisites pertaining to ‘agentless’ monitoring of the Hyper-V server (detailed in Section 1.3 of the Monitoring Microsoft Hyper-V) are fulfilled.

For details on the Virtual Desktops and VDI In a Box Broker layers refer to Managing the VDI-in-a-Box on VMware vSphere. For all the other layers, refer to the Monitoring Microsoft Hyper-V document.