Skip to main content
Question

Problème Vmware ESX

  • February 24, 2023
  • 8 replies
  • 440 views

Forum|alt.badge.img+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

sdouce
Forum|alt.badge.img+12
  • Builder **
  • February 26, 2023

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🤣


Forum|alt.badge.img+3
  • Author
  • Steward **
  • February 27, 2023

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


Forum|alt.badge.img+14
  • Builder ***
  • March 1, 2023

Hello,

You restart your centreon vmware connector ?

Regards


Forum|alt.badge.img+3
  • Author
  • Steward **
  • March 2, 2023

Good morning,

Yes I rebooted but it still doesn't work.


lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • March 2, 2023

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


Forum|alt.badge.img+3
  • Author
  • Steward **
  • March 2, 2023

[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)
 


Forum|alt.badge.img+3
  • Author
  • Steward **
  • March 2, 2023

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


lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • March 2, 2023

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