can you also paste your /etc/centreon/centreon_vmware.pm file (hide your password)
I mainly need to see which url you have setup for the ‘default’ vcenter you should have something like that :
{'url' => 'https://myvcenterser:443/sdk',
try without :443
{'url' => 'https://myvcenterserver/sdk',
or the ip
{'url' => 'https://1.2.3.4/sdk',
(note there is nothing after /sdk in the uri)
remember to restart your daemon/service “centreon_vmware” on the poller after each modification of the config file
(I also suggest you purge/move the log file each time, as there is no timestamp in the log, it’s hard to debug, or open 2 shell, one with tail -f of the log and one to restart the service)
there may also be issue with the login/password itself, account locked out or expired, or a change in role/attribution on the vcenter
first thing first, does this url in you error message anwser and display the xml webservice in a browser
can you also paste your /etc/centreon/centreon_vmware.pm file (hide your password)
I mainly need to see which url you have setup for the ‘default’ vcenter you should have something like that :
{'url' => 'https://myvcenterser:443/sdk',
try without :443
{'url' => 'https://myvcenterserver/sdk',
or the ip
{'url' => 'https://1.2.3.4/sdk',
(note there is nothing after /sdk in the uri)
remember to restart your daemon/service “centreon_vmware” on the poller after each modification of the config file
(I also suggest you purge/move the log file each time, as there is no timestamp in the log, it’s hard to debug, or open 2 shell, one with tail -f of the log and one to restart the service)
there may also be issue with the login/password itself, account locked out or expired, or a change in role/attribution on the vcenter
I also having problem with this plugin.
/var/log/centreon/centreon_vmware.log 2023-04-20 22:13:24 - 'xxxxxx' Login to VirtualCenter server failed: Server version unavailable at 'https://x.x.x.x:443/sdk/vimService.wsdl' at /usr/local/share/perl5/VMware/VICommon.pm line 734.
tried both using ip address and resolution.
also tried curl command and result same as yours.
What should we do to resolve this one?
mmh has there been a change in the centreon daemon?
can you type rpm -qa | grep -i virt
my output is this : centreon-plugin-Virtualization-VMWare-daemon-3.2.5-20220816072422.el7.centos.noarch (I have not updated in a while)
can you check your version? (and if you have a version different 3.2.5 try installing this one, I know it works for me)
but frankly, if the daemon does not work and you did everything correctly i advise both of you to contact the support
could you also post what I asked : the config file .pm (masking just the password)
Hi,
I got centreon-plugin-Virtualization-VMWare-daemon-3.2.4-20220517103908.el7.centos.noarch
how can I update it? tried to update my plugin still same version installed.
3.2.5 is the latest from august last year, I wouldn’t advise you to try and install it manually on your poller, but a few things seems to have been changed between 3.2.4 and 3.2.5 (like ssl connexion options) so maybe it’s that (there are also some perl vmware sdk modifications, for vmware7, i don’t talk git well enough to understand all, except to see that there were changes)
you could try to make a new poller from scratch (new alma 8 vm with the install script), no need to plug it to your existing setup, just install the vmware daemon and try to see if it run before upgrading your full setup
here are a few commands to install a 22.04 poller from scratch on alma8 (basic server install, no packages needed)
then yum install centreon-plugin-Virtualization-VMWare-daemon and try your config file
Hi @FDM31 did the solution you got from this conversation work for you? If yes, could you do us a solid and mark the answer that helped you as the "Best Answer"? That way, other folks who encounter the same issue can find the fix in a jiffy. Thanks
Hello, Same for me the vmware daemon is not found on Centreon 23.04 OS: AlmaLinux 9 :
Same problem with Redhat 9 / Centreon 23.04.Still no date for a solution?
Hi, I can’t give you a release date, but the task is in progress.
Hi @omercier ,
Do you have any updates about this pls ?
Kélian
Hi @Kélian
Sorry, it has been fixed since then. Can you try again?
Hi @Kélian
Sorry, it has been fixed since then. Can you try again?
Ok i’ll try, during my OS migration tests
Hi @Kélian
Sorry, it has been fixed since then. Can you try again?
Hi @omercier,
Thanks, it works on Alma Linux 9 now :)
Hello, I have the next problem:
tail -f /var/log/centreon/centreon_vmware.log
[2024-10-31 17:27:33] [error] 'default' Login to VirtualCenter server failed: Server version '' at 'https://192.168.9.5:5480/sdk/vimService.wsdl' unsupported.
vSphere Client versión 8.0.1.00000
vSphere 8 Standard 1
Última comprobación de caducidad de metadatos hecha hace 0:15:03, el jue 31 oct 2024 17:25:02. Paquetes instalados Nombre : centreon-plugin-Virtualization-VMWare-daemon Versión : 3.3.2 Lanzamiento : 1.el9 Arquitectura : noarch Tamaño : 310 k Fuente : centreon-plugin-Virtualization-VMWare-daemon-3.3.2-1.el9.src.rpm Repositorio : @System Desde repo : centreon-plugins-24.04-stable-noarch Resumen : Perl daemon to monitor VSphere Infrastructure URL : https://centreon.com Licencia : Apache-2.0 Descripción : Perl daemon to monitor VSphere Infrastructure : Commit: 86eb3dafafb216725e7aab45a049012d5fd042b4
>2024-11-05 09:44:01] error] 'default' Login to VirtualCenter server failed: Server version '' at 'https://vcenter-00-02.interno.cedex.es:5480/sdk/vimService.wsdl' unsupported.
[root@vLCENTREON-00-E01 centreon]# dnf info centreon-plugin\*vmware* Última comprobación de caducidad de metadatos hecha hace 0:32:37, el mar 05 nov 2024 09:16:59. Paquetes instalados Nombre : centreon-plugin-Virtualization-VMWare-daemon Versión : 3.3.2 Lanzamiento : 1.el9 Arquitectura : noarch Tamaño : 310 k Fuente : centreon-plugin-Virtualization-VMWare-daemon-3.3.2-1.el9.src.rpm Repositorio : @System Desde repo : centreon-plugins-24.04-stable-noarch Resumen : Perl daemon to monitor VSphere Infrastructure URL : https://centreon.com Licencia : Apache-2.0 Descripción : Perl daemon to monitor VSphere Infrastructure : Commit: 86eb3dafafb216725e7aab45a049012d5fd042b4
vSphere 8 does not support the Perl SDK anymore, so the vmware daemon won’t work with it.
We have started working on new plugins that will use the v8 REST API but it will take some time. You may soon try the first limited features but complete monitoring connectors won’t be available before Q1 2025.