installed centreon, attached to it two pollers, and i git cloned the repos from the current git like they are, when i tested a basic command like the one you mentioned aka
'centreon_plugins.pl --plugin=apps::protocols::http::plugin --mode=response --hostname=www.google.com --proto='https' --port='443' --urlpath='/' --warning-time='5' --critical-time='10' --change-short-output=':'~': www.google.com''
it worked just fine, as well as any other command where the target is localhost or idk, i also believe i installed all needed libraries, however when i try other plugins to test on remote machines like this:
perl centreon_plugins.pl \
--plugin=apps::vmware::connector::plugin \
--custommode=connector \
--mode=status-host \
--connector-hostname=127.0.0.1 \
--connector-port=5700 \
--username='your_vmware_user' \
--password='your_vmware_password'
I get this 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 /root/perl5/lib/perl5/5.32.1/x86_64-linux-thread-multi /root/perl5/lib/perl5/5.32.1 /root/perl5/lib/perl5/x86_64-linux-thread-multi /root/perl5/lib/perl5 /usr/local/lib64/perl5/5.32 /usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5)
at /usr/lib/centreon/plugins/centreon-plugins/src/apps/vmware/connector/custom/connector.pm line 26.
BEGIN failed--compilation aborted at /usr/lib/centreon/plugins/centreon-plugins/src/apps/vmware/connector/custom/connector.pm line 26.
Compilation failed in require at /usr/lib/centreon/plugins/centreon-plugins/src/centreon/plugins/misc.pm line 223.
or I get similar errors, it literally happens with anything else other than the localhost stuff, i have no clue how to fix it, i do have the ZMG library, there is a confclit,The
code:
ZMQ::LibZMQ4
Perl module is installed.
The native system library
code:
zeromq-4.3.4
is also installed.
Attempting to install the version needed for
code:
ZMQ::LibZMQ4
(i.e.,
code:
libzmq5-4.3.5
) creates a conflict with
code:
zeromq
, which breaks Gorgone and other dependencies., but i have no clue how to solve this, my manager hates me lol