ESXi hosts Internal Server Error 500 Code

2.0.0p29
Ubuntu 20.04.2

image

Hello CheckMK Community,

Not sure if anyone has run into this issue before, I have a setup where I’m monitoring our vCenter/ESXi hosts and when a site experiences issues or if I reboot the CheckMK laptop the credentials seem to create this 500 internal error code on VMware.

To fix this, I have to run the following commands, after it seems to link back up to the ESXi hosts.

Commands:

Privileged VM Account:
share/check_mk/agents/special/agent_vsphere --no-cert-check --debug --user ‘username’ --secret ‘password’ -D (ESXi Host) | grep -A4 esx_vsphere_objects

CheckMK Read Only VM Account:
share/check_mk/agents/special/agent_vsphere --no-cert-check --debug --user ‘checkmk’ --secret ‘checkmk’ -D (ESXi Host) | grep -A4 esx_vsphere_objects

If I try to run the read only account, the message shows the same 500 internal server error about the credentials, but if I run the elevated account first then checkmk, it seems to work.

1 Like

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.