VMware ESX via vSphere: Only the first 100 VMs are listed when connecting to vcenter 8.0.1

CMK version: 2.1.0p33 Enterprise
OS version: RHEL 8.8

Hi everyone,

I’ve got a strange problem:
Most of our hosts in checkmk are VMs. Some services get their data from piggyback-data from the VMware vcenter.
In my checkmk environment there is a vcenter host version 7.0.3 that works fine. It returns infos and piggyback-data for over 700 VMs.
Now we set up a brand new second VMware farm with version 8.0.1. If checkmk checks this new vcenter using the check “VMware ESX via vSphere” it only lists the first 100 VMs. There should be 286 VMs. I have already checked the permissions, which should be ok. Does anyone know about a limit of 100 objects in the VMware API? I assume this could be a reason, but I didn’t find anything about it on the net.

Thanks in advance,
Michael

Hi everyone,

the problem is solved. The permissions were set on the datacenter-node instead of the vcenter node. After setting them on the vcenter node everything worked fine.

Technical background:
It seems that the plugin requests packets of 100 objects from the webservice. After the first 100 objects the webservice returned “Permission denied” and so the request stopped after the first 100 objects.

Maybe this could help somebody facing the same problem.

Regards,
Michael

3 Likes

Hello,

we got the same issue after updating our VCenter from 7.x to 8.0. Only the first 100vms are being shown. Sadly in our environment setting the permission on the VCenter is not an available option, as we need to limit the access to specific clusters.

Where specifically did you see the “permission denied” of the webservice, I had a look into the special agent after a --debug returned nothing. Is this an issue created by VMware?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.