[FIXED] 2.4.0 agent_vsphere: error: argument --vm_pwr_display: invalid choice: 'host' (choose from vm, esxhost)

I cannot figure out what it’s asking me to do here–I’ve re-entered the password for vCenter but it stoped working as soon as we went to 2.4.0. Known issue/bug?

Summary	[special_vsphere] agent_vsphere: error: argument --vm_pwr_display: invalid choice: 'host' (choose from vm, esxhost)CRIT, [piggyback] Success (but no data found for this host), Missing monitoring data for all pluginsWARN, execution time 0.5 sec
Details	Agent exited with code 2: usage: agent_vsphere [-h] [--debug] [--no-cert-check]
[--cert-server-name CERT_SERVER_NAME] [-D] [-P]
[--vcrtrace TRACEFILE] [-t TIMEOUT] [-p PORT]
[-S {cut,underscore}] [-i MODULES]
[--vm_piggyname {hostname,alias}]
[--vm_pwr_display {vm,esxhost}]
[--host_pwr_display {vm,esxhost}] [--snapshots-on-host]
[-H HOSTNAME] [-u USER] [-s SECRET]
HOST
agent_vsphere: error: argument --vm_pwr_display: invalid choice: 'host' (choose from vm, esxhost)CRIT

Settings attached:

For what it’s worth, unchecking “Display VM power state additionally on” (was checked with option “The queried ESX system (Center / Host)” solved the issue. Seems like a bug/migration issue.

1 Like

I will check, if we have to do a migration step here.

That werk doesn’t change however that. I will ask someone to look into it.

Hi @sherman82828 ,

There is an internal ticket for this.
I’ll keep you updated on the solution.

Let me also reference another thread about this here: Checkmk 2.4 is Released! - #8 by DanielDS

2 Likes
2 Likes