Skip to main content

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

hello ​@centreon_s 
Thanks for reaching to us !

Could you share the anonymized version of the file centreon_vmware.pm and the logs when you execute the daemon with the old file ?

Can you also share the version you updated from for the centreon application and the plugins ?

 

Regards,


Hello ​@centreon_s, I came to the forum for a similar issue which I think is related to yours. Maybe we can help each other.

I’m also on the latest Centreon version and I realised that my centreon_vmware.pm config got deleted since one of the latest updates (don’t know which one exactly).

It seems that now the config must be managed from the Centreon UI according to the documentation:

https://docs.centreon.com/pp/integrations/plugin-packs/getting-started/how-to-guides/additional-connector-configuration/

The problem is I cannot find the menu “Additional configuration” anywhere in my install.

Can anybody help? 


Hi  ​@pressor

Indeed, since 24.10.0, you must declare all vCenter/ESX configurations using the Configuration > Additional connector configurations page before deploying the configuration of the corresponding poller. 

 

which version are you using ? You should check the dedicated ACL Menu for Additional configuration : Configuration > Connectors > Additional Configurations (or Additional Connector Configuration, depending on your version) 

 

Tell me if it helps.


 

Hello ​@fmattes , thanks for your reply. As you can see I have no “Connector” menu under “Configuration” ?


Hello, 

Did you check the ACL Menu in Administration > ACL > Menu ?

Is Connector enabled for your profile ? 

Are you in Centreon onPrem or Cloud ? 


Hello ​@fmattes I created an ACL for the group ALL with all the checkmarks for every existing menu and I added all the profiles to the group. I still have no access to the menu.

The menu doesn’t even show up in the ACL Menu list.

It’s centreon onPrem that I installed using the OVF (Alma Linux).


@fmattes can you send me a screenshot of your web interface?


hello ​@centreon_s 
Thanks for reaching to us !

Could you share the anonymized version of the file centreon_vmware.pm and the logs when you execute the daemon with the old file ?

Can you also share the version you updated from for the centreon application and the plugins ?

 

Regards,

%centreon_vmware_config = (
vsphere_server => {
'pdc' => {'url' => 'https://vcenter01-pdc/sdk',
'username' => 'centreon@vsphere.local',
'password' => 'password'},
'drc' => {'url' => 'https://vcenter02-drc/sdk',
'username' => 'centreon@vsphere.local',
'password' => 'password'},
'hci' => {'url' => 'https://vcenter03-hci/sdk',
'username' => 'centreon@vsphere.local',
'password' => 'password'}
},
port => 5700
);

1;

My logs from the VMware Centeron daemon are currently empty. The last log is from 2025-03-28

 

$ systemctl status centreon_vmware.service 
● centreon_vmware.service - Centreon VMWare
Loaded: loaded (/lib/systemd/system/centreon_vmware.service; enabled; preset: enabled)
Active: active (running) since Mon 2025-07-14 11:11:20 CEST; 1 day 3h ago
Main PID: 4114413 (perl)
Tasks: 28 (limit: 7009)
Memory: 168.7M
CPU: 35min 51.172s
CGroup: /system.slice/centreon_vmware.service
├─4114413 /usr/bin/perl /usr/bin/centreon_vmware.pl --logfile=/var/log/centreon_vmware.log --severity=error
├─4114422 /usr/bin/perl /usr/bin/centreon_vmware.pl --logfile=/var/log/centreon_vmware.log --severity=error
├─4114429 /usr/bin/perl /usr/bin/centreon_vmware.pl --logfile=/var/log/centreon_vmware.log --severity=error
└─4114436 /usr/bin/perl /usr/bin/centreon_vmware.pl --logfile=/var/log/centreon_vmware.log --severity=error

 

 

$ sudo tail -f  /var/log/centreon/centreon_vmware.log.1 -n 200

.2025-03-28 04:29:33] error] 'pdc' SOAP request error - possibly a protocol issue: Status read failed: Connection reset by peer at /usr/share/perl5/Net/HTTP/Methods.pm line 288.
e2025-03-28 04:45:31] error] '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.
e2025-03-28 04:46:03] error] '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.
e2025-03-28 04:46:13] error] 'hci' 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.
e2025-03-28 05:00:31] error] '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.
e2025-03-28 05:01:03] error] '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.
e2025-03-28 05:01:13] error] 'hci' 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.
e2025-03-28 05:15:31] error] '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.
e2025-03-28 05:16:03] error] '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.
e2025-03-28 05:16:13] error] 'hci' 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.
e2025-03-28 05:30:31] error] '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.
e2025-03-28 05:31:03] error] '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.
e2025-03-28 05:31:13] error] 'hci' 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.
e2025-03-28 05:45:31] error] '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.
e2025-03-28 05:45:31] error] 'drc' SOAP request error - possibly a protocol issue: Status read failed: Connection reset by peer at /usr/share/perl5/Net/HTTP/Methods.pm line 288.
e2025-03-28 05:46:03] error] '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.
e2025-03-28 05:46:13] error] 'hci' 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.
e2025-03-28 06:00:31] error] '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.
e2025-03-28 06:00:31] error] '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.
e2025-03-28 06:01:13] error] 'hci' 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.
e2025-03-28 06:02:02] error] '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.
e2025-03-28 06:15:31] error] '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.
e2025-03-28 06:16:13] error] 'hci' 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.
e2025-03-28 06:17:02] error] '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.
e2025-03-28 06:30:31] error] '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.
e2025-03-28 06:30:31] error] '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.
e2025-03-28 06:31:13] error] 'hci' 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.
e2025-03-28 06:32:02] error] '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.
e2025-03-28 06:45:31] error] '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.
e2025-03-28 06:45:31] error] '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.
e2025-03-28 06:46:13] error] 'hci' 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.
e2025-03-28 06:47:02] error] '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.
e2025-03-28 07:00:31] error] '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.
e2025-03-28 07:01:43] error] 'hci' 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.
e2025-03-28 07:02:02] error] '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.
e2025-03-28 07:15:31] error] '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.
e2025-03-28 07:15:31] error] '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.
e2025-03-28 07:16:43] error] 'hci' 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.
e2025-03-28 07:17:02] error] '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.
e2025-03-28 07:31:01] error] '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.
e2025-03-28 07:31:43] error] 'hci' 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.
e2025-03-28 07:32:02] error] '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.
e2025-03-28 07:46:43] error] 'hci' 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.
e2025-03-28 07:47:01] error] '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.
e2025-03-28 07:47:02] error] '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.
e2025-03-28 08:01:43] error] 'hci' 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.
e2025-03-28 08:02:01] error] '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.
e2025-03-28 08:02:02] error] '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.
e2025-03-28 08:16:43] error] 'hci' 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.
e2025-03-28 08:17:01] error] '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.
e2025-03-28 08:17:02] error] '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.
e2025-03-28 08:31:43] error] 'hci' 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.
e2025-03-28 08:32:01] error] '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.
e2025-03-28 08:32:02] error] '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.
e2025-03-28 08:38:58] error] The given configuration file /var/lib/centreon/vault/vault.json does not exist. Passwords won't be retrieved from Centreonvault. Ignore this if you don't use Centreonvault.
2025-03-28 08:39:25] error] 'hci' 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.
e2025-03-28 08:39:25] error] 'hci' 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.
e2025-03-28 08:39:31] error] '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.
e2025-03-28 08:39:32] error] '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.
e2025-03-28 08:54:25] error] 'hci' 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.
e2025-03-28 08:54:25] error] 'hci' SOAP request error - possibly a protocol issue: Status read failed: Connection reset by peer at /usr/share/perl5/Net/HTTP/Methods.pm line 288.
e2025-03-28 08:54:31] error] '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.
e2025-03-28 08:54:33] error] '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.
e2025-03-28 09:09:34] error] 'hci' 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.
e2025-03-28 09:09:40] error] '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.
e2025-03-28 09:09:40] error] '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.
e2025-03-28 09:09:41] error] '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.

 


I don't have a connector defined in the GUI (configuration->connectors->additional configurations). I'm using vcenter8


Hello ​@centreon_s, I came to the forum for a similar issue which I think is related to yours. Maybe we can help each other.

I’m also on the latest Centreon version and I realised that my centreon_vmware.pm config got deleted since one of the latest updates (don’t know which one exactly).

It seems that now the config must be managed from the Centreon UI according to the documentation:

https://docs.centreon.com/pp/integrations/plugin-packs/getting-started/how-to-guides/additional-connector-configuration/

The problem is I cannot find the menu “Additional configuration” anywhere in my install.

Can anybody help? 

Hi,

Yes, during the update, the pm file is replaced with json. But I restore it again, i.e., I delete the json file and use the .pm file. I restart the daemon and everything is fine.


The problem is I cannot find the menu “Additional configuration” anywhere in my install.

Can anybody help? 

 

Configuration->Connectors->Additional Configuration 


Reply