Enabling agentless Guest (VM) RAM monitoring with vRealize Operations 6.3+

Share this:

Agentless monitoring of the Guest RAM metrics is one of the new feature introduced with vRealize Operations 6.3 with vSphere 6.0 U1. I was really happy to finally see this functionality, as memory metrics which are provided by default are not accurate and I would say almost useless when trying to right sizing your VMs.

Active memory metric (old one) is telling you about memory which was accessed by VM during some interval, but it says nothing about real usage. Especially if you want to prevent swapping (which you should in the virtualized environments with shared storage) of the idle pages. Swapping is what will happen most of the time, if you downsize your VM based on the active memory metric only and completely ignore construct of the memory usage inside the VM.

This is where the new Guest metrics come into play, where you can see real memory usage inside VM and metrics like free memory, active file system cache, swap and so on…

However I had big troubles to get this functionality working, it was working for some hosts only in one vCenter and not at all in another.  I engaged VMware support and it tooks them “only” 4months to figure it out, but luckily they did.

  1. you need to have vCenter 6.0 U1, ESXi 6.0 U1, VMware tools from 6.0U1 (this part was easy)
  2. verify if you have enabled collection of the new metrics (easy part as well)
  3. Tricky one: As those metrics are internal, its collection by vCenter is not enabled by default. In this case you need to have special permission configured for an account which you are using for connection to your vCenter:
    Performance>Modify Intervals
    according to the support this is needed only once, when you are registering vCenter Adapter. If you have your vCenter Adapter already registered you need to restart it.

I recommend you to check out http://virtual-red-dot.info, which is great blog about vRealize Operations.

To read more about new metrics, check out this blogpost. And to see how you can right size your VMs using them this one.

The following two tabs change content below.
Dusan has over 8 years experience in the Virtualization field. Currently working as Senior VMware plarform Architect at one of the biggest retail bank in Slovakia. He has background in closely related technologies including server operating systems, networking and storage. Used to be a member of VMware Center of Excellence at IBM, co-author of several Redpapers. His main scope of work consists from designing and performance optimization of business critical virtualized solutions on vSphere, including, but not limited to Oracle WebLogic, MSSQL and others. He holds several IT industry leading certifications like VCAP-DCD, VCAP-DCA, MCITP and the others. Honored with #vExpert2015-2018 awards by VMware for his contribution to the community. Opinions are my own!

About Dusan Tekeljak

Dusan has over 8 years experience in the Virtualization field. Currently working as Senior VMware plarform Architect at one of the biggest retail bank in Slovakia. He has background in closely related technologies including server operating systems, networking and storage. Used to be a member of VMware Center of Excellence at IBM, co-author of several Redpapers. His main scope of work consists from designing and performance optimization of business critical virtualized solutions on vSphere, including, but not limited to Oracle WebLogic, MSSQL and others. He holds several IT industry leading certifications like VCAP-DCD, VCAP-DCA, MCITP and the others. Honored with #vExpert2015-2018 awards by VMware for his contribution to the community. Opinions are my own!
Bookmark the permalink.

2 Comments

  1. Thanks for posting, I assume the “Guest” metrics are populated by VMware Tools back to vCenter ?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.