How to monitor your
VMware vSphere environment
You do not know PRTG yet?
Then test it now for free!
Unlimited version of PRTG for 30 days. After 30 days, PRTG reverts to a free version.
Or, you can upgrade to a paid license anytime.
VMware monitoring on different layers
Server virtualization using VMware vSphere has been widely adopted for many years and has gained a wide market share. Monitoring a virtualized environment is very critical because any failure will have impact on much more services compared to a non-virtualized environment.
But if you’re new to PRTG, you might ask yourself:
How can PRTG assist me in monitoring this VMware environment?
You can monitor the environment on the different layers. PRTG offers monitoring capabilities for all of them. Therefore, PRTG can monitor the entire stack down from the hardware up to the services within your virtual machines.
Many servers provide an out-of-band-management controller to control environmental parameters.
Examples are HPE iLO for the ProLiant servers, or Dell iDrac, Fujitsu iRMC, IBM IMM.
PRTG has built-in sensors for HPE ProLiant, Dell, Fujitsu and IBM X series servers to monitor server hardware health using the out-of-band-management controllers.
These controllers work independent of any operating system and usually provide a good overview about your server’s hardware, like temperatures, fans, power supplies, and more.
Here is an overview of the PRTG sensors:
- SNMP HPE ProLiant System Health sensor
- SNMP HPE ProLiant Physical Disk sensor
- SNMP HPE ProLiant Memory Controller sensor
- SNMP Fujitsu System Health sensor
PRTG provides two different sensors using two different protocols to get hardware related information from the ESXi hosts. You can use them in addition to the above described out-of-band-management-controller sensors or as a replacement for them if you use servers without such interfaces or are not using them.
The VMware Host Hardware Status (SOAP) sensor monitors the hardware status of a VMware host server using Simple Object Access Protocol (SOAP). It shows the total number of items in normal, warning, and alert status, just as the vSphere client reports. This sensor is intended to give you a general status overview for your host. Any states other than "normal" will be reported in the sensor message. This is a nice sensor to see the overall status, but you don’t get details on the hardware metrics.
To see more details on the hardware, please use the VMware Host Hardware (WBEM) sensor using the management IP address of your ESXi server as parent device.
ESXi uses WBEM providers to query hardware related information from the devices. During the sensor creation you can select which component you would like to monitor. Each selected component will be monitored by one sensor. Examples are temperature, power and fans.
Let’s summarize: The VMware Host Hardware Status (SOAP) sensor shows the total number of items in normal, warning or alert status in one single sensor. The VMware Host Hardware (WBEM) sensor shows detailed hardware related info, each one in its own separate sensor.
Let’s leave the hardware and ESXi layer and head on to the next level, the virtual machines or in short VMs. VMs can be monitored from outside, so from the VMware ESXi layer, or from inside, so from within the running guest operating system. Of course, PRTG can do both.
Let’s start with monitoring the VMs from the outside, using VMware’s view on the VMs.
The VMware Virtual Machine (SOAP) sensor monitors the VM using VMWare SOAP protocol. It covers metrics like CPU, memory, disk and network usage within a single sensor per VM.
If your VMware environment consists of multiple servers where VMs are not bound to specific ESXi server, make sure you place this sensor on the Virtual Center, instead of the ESXi server. Otherwise a simple migration (like vMotion) of the VM between ESXi hosts would cause a false down alarm for the VM. PRTG creates one sensor per VM that you choose in the Add Sensor dialog.
To integrate a new VM, create another VMware Virtual Machine (SOAP) sensor and select your VM. When you remove a VM, make sure you remove the sensor as well to avoid false alarms and downtime notifications from PRTG.
You can monitor your guest operating system using the standard OS sensors available, like the sensors for Windows or Linux, to name the most common ones. These sensors get further details of the guest OS, like running processes/services or disk usage.
We’ve now covered the monitoring of the underlying server hardware, the virtualization layer itself and the virtual machines.
Let’s look at two more sensors as they provide a high added value and should be used in every virtualization environment.
VMware Datastore (SOAP) Sensor
- The VMware Datastore (SOAP) sensor can be added to your vCenter server or the ESXi server device.
- It monitors the disk usage of the datastore and its availability.
- Keep an eye on this, especially when using thin provisioned virtual machine disks and if the sum of your VM disks is larger than the datastore capacity!
- Make sure you set a warning and alarm limit once the datastore fills. Under all circumstances avoid the datastore to be filled up entirely. All virtual machines on this datastore will have dramatic impact (freezing, kernel panics, data corruption)!
- With thin provisioned disks that are able to grow up to their maximum size you might not even recognize on time that your datastore is low on space.
So it’s is highly advised and best practice to put a notification on the channel Free Space of this VMware Datastore (SOAP) sensor.
VMware Host Performance (SOAP) Sensor
- The VMware Host Performance (SOAP) sensor provides the most important performance relevant measurements, like CPU, memory and disk related values.