Skip to main content

Hi all,

I'm trying to use the Centreon plugin for VMware (apps::vmware::connector::plugin) on a poller running RHEL 9 / AlmaLinux 9. The plugin fails with the following error:

 

UNKNOWN: Cannot load module --custommode. Can't locate ZMQ/LibZMQ4.pm in @INC (you may need to install the ZMQ::LibZMQ4 module) (@INC contains: /usr/lib/centreon/plugins/centreon-plugins/src ...)

I installed zeromq and zeromq-devel from the default system repo, which provides version 4.3.4. However, ZMQ::LibZMQ4 requires libzmq headers to compile, and Centreon’s own repo (centreon-24.10-stable) provides zeromq-devel-4.3.5, which conflicts with the system-installed version:

 

Error: Problem: package zeromq-devel-4.3.5-1.el9.x86_64 from centreon-24.10-stable requires libzmq5 = 4.3.5-1.el9, but none of the providers can be installed - libzmq5-4.3.5 conflicts with zeromq 4.3.4 from @System

Since Gorgoned is already running using the system version of zeromq, I don't want to risk breaking it by replacing it.

I’m not sure what’s the solution?

Hi ​@xorya on my platform:

# dnf provides "perl(ZMQ::LibZMQ4)"
Last metadata expiration check: 0:25:14 ago on Mon May 19 16:19:10 2025.
perl-ZMQ-LibZMQ4-0.01-1.el9.x86_64 : A libzmq 4.x wrapper for Perl
Repo : @System
Matched from:
Provide : perl(ZMQ::LibZMQ4) = 0.01

perl-ZMQ-LibZMQ4-0.01-1.el9.x86_64 : A libzmq 4.x wrapper for Perl
Repo : centreon-plugins-24.10-stable
Matched from:
Provide : perl(ZMQ::LibZMQ4) = 0.01

perl-ZMQ-LibZMQ4-0.01-1.el9.x86_64 : A libzmq 4.x wrapper for Perl
Repo : centreon-plugins-24.10-stable
Matched from:
Provide : perl(ZMQ::LibZMQ4) = 0.01
# rpm -qa | grep perl-ZMQ-LibZMQ4
perl-ZMQ-LibZMQ4-0.01-1.el9.x86_64

 


Reply