I’m running 2.0.0p5 and trying to monitor ESXi 7.0. I have already added vCenter Server.
I’ve created a local user on the host, given it the read-only role and created a rule:
vsphere user name: monitor
vsphere secret: pasword
type of query: queried host is a host system
Retrieve information about:
Condition type: Explicit Conditions
Explicit host: esxhost.domain.com
The host properties are:
Check agent/API Integrtation: API Integration if configured, else Checkmk agent
The host and it’s monitored services are discovered correctly and it shows as piggybacked off of the vCenter server.
However, the connection test for the host fails with:
Agent exited with code 1: Cannot login to vSphere Server (reason:  Internal Server Error). Please check the credentials.
And there is a critical for the host in monitoring:
[special_vsphere] Agent exited with code 1: Cannot login to vSphere Server (reason:  Internal Server Error). Please check the credentials.CRIT, [piggyback] Valid sources: vcenter.domain.com, execution time 5.2 sec
Not sure what I can do to get this error resolved so my host doesn’t show a critical error.