You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please use this form for actual bugs only. See Other requests for more details.
All existing and future issues related to questions, new plugins or enhancements will be closed.
Bug report
After migration from debian 11 to debian 12 bookworm and upgrading centreon from 24.04.7 to 24.10, i got this error with the plugin esxi and vcenter : centreon_vmware_connector_client.pl
UNKNOWN: Cannot load module --custommode.
Can't locate ZMQ/Constants.pm in @inc (you may need to install the ZMQ::Constants module) (@inc contains: /usr/lib/centreon/plugins FatPacked::93992349264784=HASH(0x557c4c96eb90) /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.36.0 /usr/local/share/perl/5.36.0 /usr/lib/x86_64-linux-gnu/perl5/5.36 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.36 /usr/share/perl/5.36 /usr/local/lib/site_perl) at /usr/local/lib/x86_64-linux-gnu/perl/5.36.0/ZMQ/LibZMQ4.pm line 6.
BEGIN failed--compilation aborted at /usr/local/lib/x86_64-linux-gnu/perl/5.36.0/ZMQ/LibZMQ4.pm line 6.
Can't locate ZMQ/Constants.pm in @inc (you may need to install the ZMQ::Constants module) (@inc contains: /usr/lib/centreon/plugins FatPacked::94047597611648=HASH(0x558929a5ca80) /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.36.0 /usr/local/share/perl/5.36.0 /usr/lib/x86_64-linux-gnu/perl5/5.36 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.36 /usr/share/perl/5.36 /usr/local/lib/site_perl) at /usr/local/lib/x86_64-linux-gnu/perl/5.36.0/ZMQ/LibZMQ4.pm line 6.
BEGIN failed--compilation aborted at /usr/local/lib/x86_64-linux-gnu/perl/5.36.0/ZMQ/LibZMQ4.pm line 6.
Other requests
Questions
The text was updated successfully, but these errors were encountered:
Hi @NTIC94130
The ZMQ/Constants.pm library comes with libzmq-constants-perl which is provided by our plugins repo. Make sure you have this in your APT sources:
deb https://packages.centreon.com/apt-plugins-stable/ bookworm main
Thank you for using Centreon plugins!
Please use this form for actual bugs only. See Other requests for more details.
All existing and future issues related to questions, new plugins or enhancements will be closed.
Bug report
After migration from debian 11 to debian 12 bookworm and upgrading centreon from 24.04.7 to 24.10, i got this error with the plugin esxi and vcenter : centreon_vmware_connector_client.pl
UNKNOWN: Cannot load module --custommode.
Can't locate ZMQ/Constants.pm in @inc (you may need to install the ZMQ::Constants module) (@inc contains: /usr/lib/centreon/plugins FatPacked::93992349264784=HASH(0x557c4c96eb90) /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.36.0 /usr/local/share/perl/5.36.0 /usr/lib/x86_64-linux-gnu/perl5/5.36 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.36 /usr/share/perl/5.36 /usr/local/lib/site_perl) at /usr/local/lib/x86_64-linux-gnu/perl/5.36.0/ZMQ/LibZMQ4.pm line 6.
BEGIN failed--compilation aborted at /usr/local/lib/x86_64-linux-gnu/perl/5.36.0/ZMQ/LibZMQ4.pm line 6.
After installing:
sudo apt-get install libzmq3-dev
sudo cpan ZMQ::Constants
I got a new error with UUID.pm
so i have installed : cpan UUID
And now i have a message : time connexion error
I have this error for all probes on esxi and vcenter
How to reproduce
Please provide below the initial conditions to reproduce the bug
Linux srvcentreon 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux
Debian 12.7
PHP 8.2
Monitored resource:
ESXI
and VCCENTER
Command line:
/usr/lib/centreon/plugins//centreon_vmware_connector_client.pl --plugin=apps::vmware::connector::plugin --mode=cpu-cluster --custommode=connector --connector-hostname='localhost' --connector-port='5700' --container='zeus' --cluster-name='.*' --filter --warning-total-cpu='' --critical-total-cpu='' --warning-total-cpu-mhz='' --critical-total-cpu-mhz='' --verbose --time-shift=4000
or
/usr/lib/centreon/plugins//centreon_vmware_connector_client.pl --plugin=apps::vmware::connector::plugin --mode=cpu-host --custommode=connector --connector-hostname='localhost' --connector-port='5700' --container='hades' --esx-hostname='HADES.hdv.local' --unknown-status='%{status} !~ /^connected$/i' --warning-status='' --critical-status='' --warning-total-cpu='' --critical-total-cpu='' --warning-total-cpu-mhz='' --critical-total-cpu-mhz='' --warning-cpu='' --critical-cpu='' --time-shift=100
Expected result
Esx-cpu running
Actual result
UNKNOWN: Cannot load module --custommode.
Can't locate ZMQ/Constants.pm in @inc (you may need to install the ZMQ::Constants module) (@inc contains: /usr/lib/centreon/plugins FatPacked::94047597611648=HASH(0x558929a5ca80) /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.36.0 /usr/local/share/perl/5.36.0 /usr/lib/x86_64-linux-gnu/perl5/5.36 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.36 /usr/share/perl/5.36 /usr/local/lib/site_perl) at /usr/local/lib/x86_64-linux-gnu/perl/5.36.0/ZMQ/LibZMQ4.pm line 6.
BEGIN failed--compilation aborted at /usr/local/lib/x86_64-linux-gnu/perl/5.36.0/ZMQ/LibZMQ4.pm line 6.
Other requests
Questions
The text was updated successfully, but these errors were encountered: