vSphere includes virtual machine performance counters on Windows operating systems where VMware Tools is installed. Performance counters allow virtual machine owners to do accurate performance analysis within the guest operating system. By default, vSphere does not expose host information to the guest virtual machine.
About this task
The ability to send host performance data to a guest virtual machine is disabled by default. This default setting prevents a virtual machine from obtaining detailed information about the physical host, and does not make host data available if a breach of security of the virtual machine occurs.
The procedure below illustrates the basic process. Consider using one of the vSphere command-line interfaces (vCLI, PowerCLI, and so on) for performing this task on all hosts simultaneously.
- On the ESXi system that hosts the virtual machine, browse to the VMX file.
Virtual machine configuration files are located in the /vmfs/volumes/datastore directory, where datastore is the name of the storage device where the virtual machine files are stored.
- In the VMX file, verify that the following parameter is set.
- Save and close the file.
You cannot retrieve performance information about the host from inside the guest virtual machine.