VMware ESX/ESXi Server Monitoring


VMware ESX/ESXi Server Monitoring - An Overview

ManageEngine Applications Manager provides comprehensive performance metrics to monitor your VMware ESX/ESXi servers and their guest virtual machines, and helps you ensure they are performing well at all times.

Applications Manager connects with VMware ESX/ESXi servers through standard APIs and determines the health status as well as the performance of the host servers and their corresponding virtual machines. It provides a single console to monitor physical, virtual and cloud components of your IT infrastructure.

Creating a new monitor

Supported Versions: ESX 3.5 and above; ESXi 3 and above.

Follow the steps given below to create a new VMware ESX/ESXi server monitor:

  • Click on New Monitor link.
  • Select VMware ESX/ESXi under Virtualization category.
  • Specify the Display Name of the VMware ESX server
  • Enter the Host Name or IP Address of the host where the VMware server is running.
  • Enter the Port where the server is running.
  • Enter User Name and Password for authentication.
  • Select the VM Discovery option. The available options are Do not discover, Discover VM but do not monitor metrics, and Discover and Monitor VM metrics.
  • Specify the Polling Interval in minutes.
  • If you are adding a new monitor from an Admin Server, select a Managed Server.
  • Choose the Monitor Group with which you want to associate the VMware ESX server to, from the combo box (optional). You can choose multiple groups to associate your monitor.
  • Click Add Monitor(s). This discovers the VMware ESX/ESXi server from the network and starts monitoring it.

User Permissions

In order to add VMWare ESX/ESXi servers for monitoring, we recommend to use the root account. However, in case you are unable to use the root account, you can use a 'view-only' profile to add the servers. This profile has enough rights to be used for monitoring. The user you create must be:

  • a member of the group user
  • based on the profile 'read only'

Monitored Parameters

Go to the Monitors Category View by clicking the Monitors tab. Click on VMware ESX/ESXi under the Virtualization Table. Displayed is the VMware ESX/ESXi bulk configuration view distributed into three tabs:

  • Availability tab gives the Availability history of the ESX server in the past 24 hours or 30 days.
  • Performance tab gives the Health Status and events for the past 24 hours or 30 days,some key performance indicators of the ESX server such as CPU Utilization, Memory Utilization, Disk Usage and Network Usage along with heat charts for these attributes.
  • List view enables you to perform bulk admin configurations and displays all the VMware ESX/ESXi servers along with an overall idea of their availability and health status.
  • Top ESX/ESXi tab shows graphs for the top CPU consumers, top memory consumers, top disk I/O consumers and top network consumers of the ESX/ESXi server.
  • Infrastructure View tab displays all the virtual machines discovered under each ESX/ESXi server. This view provides an overall idea of the availability, health, CPU (%), Memory (%), Disk I/O and Network traffic of all the virtual machines. Click on the individual virtual machines listed to view detailed VM metrics.

VMware ESX servers are monitored based on the parameters or the attributes listed below. These attributes provide information about the functioning of the monitors of VMware ESX server. You can also configure thresholds to the numerical attributes monitored by the server based on these details.

Click on the monitor listed in the Availability tab to view detailed performance metrics of the ESX/ESXi server. These metrics are categorized into 9 different tabs for easy understanding. Below is an explanation of the metrics shown in these tabs:

Overview

This tab provides a high-level overview of the ESX/ESXi server as well as its resource utilization.

ParameterDescription
Monitor Information
Name The name of VMware ESX/ESXi server monitor
Type Denotes the type of servers you are monitoring.
Health Denotes the health (Clear, Warning, Critical) status of the ESX/ESXi server.
Last Polled at Specifies the time at which the last poll was performed.
Next Poll at Specifies the time at which the next poll is scheduled.
Availability Shows the current status of the server - available or not available.
CPU & Memory Utilization
CPU Utilization The current CPU Utilization value of the ESXi host. (%)
CPU Idle Time The average time that the CPU cores remain in an idle state. (m/sec)
CPU Usage The total CPU usage across the system. (MHz)
CPU Utilization of Cores The average value of CPU Utilization of all the cores combined across the system. (%)
Memory Utilization Percentage of memory used across the system. (%)
Disk & Network Usage
Disk Usage Disk usage of ESX/ESXi server in kbps(kilobytes per second)
Network Usage Network usage of ESX/ESXi server in kbps(kilobytes per second)
Virtual Machines
VM Name Name of the virtual machine(VM) present in the host
Availability Denotes the availability of the VM - available or not available
CPU Utilization The CPU utilization of this VM in percentage
Memory Utilization The memory utilization of this VM in percentage
Disk I/O Utilization The disk input/output utilization of this VM in kilobytes per second
Network Utilization The network usage of this VM in kilobytes per second
Health The health status(Clear, Warning, Critical) of this VM


CPU

This tab provides metrics about CPU Utilization details of the cores.

ParameterDescription
CPU Utilization The cpu utilization of the CPU core over a period of time(in percentage)
Health The overall health of the CPU core
CPU Idle Time The total time that each CPU core remains in an idle state (ms)


Memory

This tab provides metrics about memory utilization of the ESX server.

ParameterDescription
Consumed Memory The value of total memory minus free memory, in mega bytes.
Active Memory Amount of memory that is actively used
Overhead Memory Sum of overhead memory across all VMs
Reserved Memory Amount of memory currently utilized to satisfy minimum memory values set for all VMs.
Shared Memory Amount of memory shared between virtual machines
Granted Memory Amount of physical memory granted
Swapped Memory Amount of memory that is swapped
Heap Memory Amount of memory allocated for heap
VMKernel Memory Amount of memory used by the VMKernel


Datastore

This tab displays metrics pertaining to the data stores of the server.

ParameterDescription
Datastore Name of the datastore
Type Type of datastore (example: VMFS or VMware File System)
Capacity GB The total space available in this datastore in gigabytes
Used GB The used space of this datastore in gigabytes
Free GB The free space of this datastore in gigabytes
Utilization % Percentage of used space in this datastore
Free Space % Percentage of free space in this datastore
Health Overall health of the datastore
Read Rate The rate at which data is read from the datastore (kbps)
Write Rate The rate at which data is written to the datastore (kbps)
Read Latency The average time taken for a read from the datastore (ms)
Write Latency The average time taken for a write to the datastore (ms)
Note: The capacity, used and free metrics are not supported for NFS datastores.

Network

This tab provides metrics about network utilization

ParameterDescription
Name Name of the network interface card (NIC) of the host
Data Receive Rate The rate at which this NIC receives data(Kbps)
Data Transfer Rate The rate at which this NIC transfers data (Kbps)
Packets received Number of network packets received by this NIC
Packets Transmitted Number of network packets transmitted by this NIC
Health Overall health of this NIC


Disk I/O

This tab shows detailed disk I/O(Input/Output) stats of the ESX/ESXi server

ParameterDescription
LUN Logical unit number associated with the physical disk
Disk Read Rate Disk read rate of this LUN(Kbps)
Disk Write Rate Disk write rates of this LUN(Kbps)
Disk Reads Number of reads to this LUN
Disk Writes Number of writes to this LUN
Health Overall health of this LUN
Read Latency The average amount of time taken during the collection interval to process a SCSI read command issued from the Guest OS to the virtual machine (ms).
Write Latency Average amount of time taken during the collection interval to process a SCSI write command issued by the Guest OS to the virtual machine (ms).
Commands Aborted The number of SCSI commands aborted during the collection interval.
Bus Resets The number of SCSI-bus reset commands issued during the collection interval.


Event Log

This tab shows a detailed Event List for monitoring of ESX Events.

ParameterDescription
Event Name The name of the event.
Description A description of the Event.
Severity The severity of the log event.
Generated Time The time at which the event is generated.
Note: To configure new events, Click the Monitor Actions button in the right-hand corner of the page and in the drop-down menu, click Configure Events.

Configuration

This tab provides info on the ESX/ESXi server's configuration details.

ParameterDescription
Host Name The name of VMware ESX/ESXi server monitor
Power The power status of the server. The values include poweredOn, poweredOff and standBy
Vendor Name The name of the vendor offering Virtualization(VMware)
Version Version of ESX/ESXi server
Hardware Vendor Name Hardware vendor identification
Hardware Model System model identification
CPU Model Information about the overall CPU
CPU Capacity MHz The overall CPU capacity in Mega Hertz
CPU Cores Number of CPU cores present in the server
Number of VMs Number of virtual machines discovered in the server


Storage

Applications Manager automatically maps VMware vSphere servers and their VMs to their underlying physical storage arrays. You can track the vSphere servers and their VMs to the datastores, to the host bus adapters and the actual physical storage. This tab displays a storage mapping table displaying Virtual Machine, Datastore, Storage Array and corresponding LUN statistics.

ParameterDescription
STORAGE ADAPTERS
Adapter Name  The  name of the Storage Adapter.
Adapter Status The status of the Storage Adapter: Online, Offline, Fault, Unknown.
Model The model of the storage adapter.
Type The type of storager adapter.
Driver The driver details of the storage adapter.
Target Count The Target Count for that storage adapter.
LUN Count The number of array LUNs on the host.
Path Count The number of total storage paths on the server.

 

ParameterDescription
Virtual Machine The name of VMware ESX/ESXi server monitor
Datastore The name of the datastore
LUN Virtual disk information for the corresponding LUN


Hardware

The folloiwng are metrics pertaining to the hardware of the server.

ParameterDescription
Power Sensor Reading will be monitored in watts
Fan Sensor Reading will be monitored in percentage
Temperature Sensor Reading will be monitored in Degree Celsius
Processors Health status of the sensor will be monitored.
Memory Health status of the sensor will be monitored.
  • If a component is functioning normally, the status indicator is green.
  • The status indicator changes to orange or red if a system component violates a performance threshold or is not functioning properly. Generally, an orange indicator signifies degraded performance.
  • A red indicator signifies that a component stopped operating or exceeded the highest threshold.
  • If the status is blank, then the health monitoring service cannot determine the status of the component.
  • The Reading column displays the current values for the sensors. For instance, the column displays watts consumed for System Board and degrees Celsius for temperature.

Frequently Asked Questions (FAQ):

1. How can I check if the Managed Object Browser (MOB) service is enabled in the ESX host?

  • Connect to the host using the ESXi Shell.
  • Determine if the managed object browser (MOB) is enabled, by running the following command:
vim-cmd proxysvc/service_list
If the service is running, the following text appears in the list of services:
...
serverNamespace = '/mob',
accessMode = "httpsWithRedirect",
pipeName = "/var/run/vmware/proxy-mod",
...
  • If the service is not running, enable MOB service using the following command:vim-cmd proxysvc/add_np_service "/mob" httpsWithRedirect /var/run/vmware/proxy-mob
  • To disable the MOB service, use the following command:
vim-cmd proxysvc/remove_service "/mob" "httpsWithRedirect"
 
For ESXi 6.0 and above:

The MOB service is disabled by default. So when you try to access the MOB url of ESX host, the output should look like this:

You can enable MOB service from the VSphere client (or) ESXi shell.
 
From VSphere Client:
  • Connect to the ESX host via VSphere client version 6.
  • In the Configuration tab, go to Software and then Advanced Settings.
  • Enable the Config.HostAgent.plugins.solo.enableMob check box and click ok.
 
From ESXi Shell:
  • Connect to the host using the ESXi Shell.
  • Check the ESXi Advanced Setting using vim-cmd as follows:
vim-cmd hostsvc/advopt/view Config.HostAgent.plugins.solo.enableMob

 

The Output should look like this:

 
Configuring the ESXi Advanced Setting to true:

vim-cmd hostsvc/advopt/update Config.HostAgent.plugins.solo.enableMob bool true

2. What is the MOB URL used to obtain the datastore details in the ESXi host?

The MOB URL we use for obtaining the ESXi host datastore details is as follows:

https://<ESXiHOST_IP>:<ESXiHOST_PORT>/mob/?moid=ha-folder-datastore

where

          ESXiHOST_IP          --->   IP address of the ESXi host server

          ESXiHOST_PORT   --->   Port number of the ESXi host server

After accessing this link, you'll find a list of all the available datastores within the ESXi host under the 'value' field of 'datastore' name field.

Select and click over the required datastore from the list in order to get the complete details of that particular datastore.