Question

Problème Vmware ESX

  • 24 February 2023
  • 8 replies
  • 252 views

Badge +3

Good morning

I have a problem there but impossible to add a 3rd ESX error: UNKNOWN: Unknown container name 'default12'

Other ESX works fine but not this one

 

Here is my configuration :

 


8 replies

Userlevel 2
Badge +11

I m  not sure but maybe on line 10 after root, you need to add a. Comma  a the end of the line..

And now maybe you need to change the password🤣

Badge +3

I made the change and it didn't change anything.

Userlevel 4
Badge +14

Hello,

You restart your centreon vmware connector ?

Regards

Badge +3

Good morning,

Yes I rebooted but it still doesn't work.

Userlevel 6
Badge +18

Hi @mael35 can you try to run command in a terminal?

su - centreon-engine
/usr/lib/centreon/plugins/centreon_vmware_connector_client.pl --plugin=apps::vmware::connector::plugin --mode=cpu-vm --custommode=connector --connector-hostname='$_HOSTCENTREONVMWAREHOST$' --connector-port='$_HOSTCENTREONVMWAREPORT$' --container='$_HOSTCENTREONVMWARECONTAINER$'

Replace macro by correct values

Badge +3

[root@srv-centreon ~]# su - centreon-engine
/usr/lib/centreon/plugins/centreon_vmware_connector_client.pl --plugin=apps::vmware::connector::plugin --mode=cpu-vm --custommode=connector --connector-hostname='$_HOSTCENTREONVMWAREHOST$' --connector-port='$_HOSTCENTREONVMWAREPORT$' --container='$_HOSTCENTREONVMWARECONTAINER$'Last login: Wed May 18 16:29:21 CEST 2022 on pts/1
[centreon-engine@srv-centreon ~]$ /usr/lib/centreon/plugins/centreon_vmware_connector_client.pl --plugin=apps::vmware::connector::plugin --mode=cpu-vm --custommode=connector --connector-hostname='$_HOSTCENTREONVMWAREHOST$' --connector-port='$_HOSTCENTREONVMWAREPORT$' --container='$_HOSTCENTREONVMWARECONTAINER$'

UNKNOWN: Cannot get response (timeout received)
 

Badge +3

Here is where I got to the problem, I have half of the services coming up, and if I modify the default containers2, no more services come up, I get a default container2 error

Userlevel 6
Badge +18

You need to replace $_HOSTCENTREONVMWAREHOST$' by CENTREONVMWAREHOST value and the same for other macros before to execute command

Reply