Hi
I have had a problem with centreon updates for some time. My version is 24.10.8. The problem is in the vmware infrastructure monitoring plugin. Previously (based on the centreon_vmware.pm file) everything worked fine. After updates (from several versions within 24.10) the centreon_vmware service does not want to start. When I change the option to old in the /etc/default/centreon_vmware file and restore the centreon_vmware.pm file, everything returns to normal.
Here is the configuration and logs after updates (the last one to 24.10.8), which do not work well.
My instance: Centreon 24.10.8, Debian 12.
$ ls -l
razem 44
-rw-rw---- 1 www-data www-data 1287 2018-10-17 centreon.conf.php
-rw-r----- 1 centreon centreon 390 06-24 08:25 centreontrapd.pm
-rw-rw-r-- 1 centreon centreon 390 2024-05-16 centreontrapd.pm.dpkg-dist
-rw-rw---- 1 centreon-gorgone centreon 626 06-24 08:24 centreon_vmware.json
-rw-r--r-- 1 centreon centreon 812 03-28 09:37 centreon_vmware.pm.deprecated
drwxrwxr-x 2 centreon centreon 4096 2024-05-15 config.d
-rw------- 1 root root 103 04-18 15:14 config.yaml
-rw-rw---- 1 centreon centreon 779 06-24 08:25 conf.pm
-rw-rw-r-- 1 centreon centreon 0 2024-05-16 conf.pm.dpkg-dist
-rw-rw-r-- 1 centreon centreon 0 2020-02-14 conf.pm.rpmnew
-rw-rw-r-- 1 centreon centreon 590 06-18 09:16 instCentPlugins.conf
-rw-rw-r-- 1 centreon centreon 909 06-18 09:16 instCentWeb.conf
drwxrwxr-x 2 centreon centreon 4096 2023-06-05 license.d
$ sudo cat centreon_vmware.json
{
"vsphere_server" :
{
"url" : "https://vcenter02-drc.xxx/sdk",
"name" : "drc",
"password" : "xxx",
"username" : "centreon@vsphere.local"
},
{
"url" : "https://vcenter01-pdc.xxx/sdk",
"password" : "xxx",
"name" : "pdc",
"username" : "centreon@vsphere.local"
}
],
"port" : 5700
}
sudo cat /etc/default/centreon_vmware
# centreon_vmware command line options
#OPTIONS="--logfile=/var/log/centreon_vmware.log --severity=error"
+OPTIONS="--config-extra=/etc/centreon/centreon_vmware.json --logfile=/var/log/centreon/centreon_vmware.log --severity=info"
I have entries in the logs
$ sudo tail -f /var/log/centreon/centreon_vmware.log
r2025-03-28 09:09:40] 4error] 'drc' SOAP request error - possibly a protocol issue: Server closed connection without sending any data back at /usr/share/perl5/Net/HTTP/Methods.pm line 397.
r2025-03-28 09:09:40] 4error] 'drc' SOAP request error - possibly a protocol issue: Server closed connection without sending any data back at /usr/share/perl5/Net/HTTP/Methods.pm line 397.
r2025-03-28 09:09:41] 4error] 'pdc' SOAP request error - possibly a protocol issue: Server closed connection without sending any data back at /usr/share/perl5/Net/HTTP/Methods.pm line 397.
Do you have any ideas what happened? As I wrote earlier, returning to the centreon_vmware.pm file solves the problem, but I still see these entries in the logs, but I can monitor the datastore