Hello,
I'm trying to set up monitoring for an ESX server and I've encountered some difficulties that I'd like to share here to get some help.
I've installed the Vmware ESX plugin and configured the container as follows:
When executing the command: /usr/lib/centreon/plugins/centreon_vmware_connector_client.pl --plugin=apps::vmware::connector::plugin --custommode=connector --connector-hostname=127.0.0.1 --container=default --verbose --mode=tools-vm -- display-description --vm-hostname='vxr1-witness' --filter
I get the following error message: UNKNOWN: Container connection problem.
I also checked the Centreon interface, where I receive the same error message :
Additionally, it's worth mentioning that the ping to the ESX server is functioning properly :
The user configured in the container is an administrator, so it doesn't seem to be a permissions issue.
Checking the logs in /var/log/centreon/centreon_vmware.log
, I found the following lines:
Use of uninitialized value $server_from_url in transliteration (tr///) at /usr/local/lib64/perl5/VMware/VICommon.pm line 465.
2024-04-11 12:14:14 - 'default' Login to VirtualCenter server failed: Can't call method "getChildrenByTagName" on an undefined value at /usr/local/lib64/perl5/VMware/VICommon.pm line 2383.
I also tried recreating a new user on our ESX, but the problem persists. I'm at a loss as to how to resolve this issue. Has anyone here encountered this problem before or have any ideas on what might be wrong with my configuration?
Thanks in advance for your help and have a great day!