Skip to main content

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 :

 

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🤣


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


Hello,

You restart your centreon vmware connector ?

Regards


Good morning,

Yes I rebooted but it still doesn't work.


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


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


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


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


Reply