Ever need to view VSphere host utilization from a Windows guest VM? Here’s how

A while back got asked by one of the IT folks here if they could interrogate the current health of the host running the VM he was on. As it was a development environment thought maybe fair game. As it turns out it wasn’t too difficult to get the info.

From : http://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vsphere.vm_admin.doc_50%2FGUID-0D73F44B-A586-41AD-B072-754548DEA1FE.html

“Sending performance counters into PerfMon
You can integrate virtual machine performance counters for CPU and memory into PerfMon for Microsoft Windows guest operating systems. This feature makes detailed information about the physical host available to the guest operating system. An adversary could potentially use this information to inform further attacks on the host. By default this feature is disabled. Retain the following .vmx setting to prevent host information from being sent to the virtual machine:

tools.guestlib.enableHostInfo = “FALSE” This setting blocks some but not all metrics. If you set this property to FALSE, the following metrics are blocked:

■ GUESTLIB_HOST_CPU_NUM_CORES
■ GUESTLIB_HOST_CPU_USED_MS
■ GUESTLIB_HOST_MEM_SWAPPED_MB
■ GUESTLIB_HOST_MEM_SHARED_MB
■ GUESTLIB_HOST_MEM_USED_MB
■ GUESTLIB_HOST_MEM_PHYS_MB
■ GUESTLIB_HOST_MEM_PHYS_FREE_MB
■ GUESTLIB_HOST_MEM_KERN_OVHD_MB
■ GUESTLIB_HOST_MEM_MAPPED_MB
■ GUESTLIB_HOST_MEM_UNMAPPED_MB

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s