Plugins Does not Work in RHEL 7.5 (Maipo)
Posted: Wed Mar 27, 2019 2:22 am
Hi,
I have a plugin called check_jmx4perl and centreon_plugins.pl. It worked perfectly fine in Red Hat Enterprise Linux Server release 6.9 (Santiago) but in Red Hat Enterprise Linux Server release 7.5 (Maipo) it didn't work.
Here is the error details:
[root@nagios yum.repos.d]# /usr/local/nagios/libexec/jmx4perl-master/scripts/check_jmx4perl --url='http://10.200.8.32:8087/jolokia/' --mbean java.lang:type=Threading --operation findDeadlockedThreads --null no-deadlock --string --critical '!no-deadlock' --critical 10
Can't locate Monitoring/Plugin/Functions.pm in @INC (@INC contains: /root/perl5/lib/perl5/5.16.3/x86_64-linux-thread-multi /root/perl5/lib/perl5/5.16.3 /root/perl5/lib/perl5/x86_64-linux-thread-multi /root/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/nagios/libexec/jmx4perl-master/scripts/check_jmx4perl line 6.
BEGIN failed--compilation aborted at /usr/local/nagios/libexec/jmx4perl-master/scripts/check_jmx4perl line 6.
Is there anything I need to install in RHEL 7 to make it work? I appreciate any inputs.
Thanks and Godbless!!
Albert Villaester
I have a plugin called check_jmx4perl and centreon_plugins.pl. It worked perfectly fine in Red Hat Enterprise Linux Server release 6.9 (Santiago) but in Red Hat Enterprise Linux Server release 7.5 (Maipo) it didn't work.
Here is the error details:
[root@nagios yum.repos.d]# /usr/local/nagios/libexec/jmx4perl-master/scripts/check_jmx4perl --url='http://10.200.8.32:8087/jolokia/' --mbean java.lang:type=Threading --operation findDeadlockedThreads --null no-deadlock --string --critical '!no-deadlock' --critical 10
Can't locate Monitoring/Plugin/Functions.pm in @INC (@INC contains: /root/perl5/lib/perl5/5.16.3/x86_64-linux-thread-multi /root/perl5/lib/perl5/5.16.3 /root/perl5/lib/perl5/x86_64-linux-thread-multi /root/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/nagios/libexec/jmx4perl-master/scripts/check_jmx4perl line 6.
BEGIN failed--compilation aborted at /usr/local/nagios/libexec/jmx4perl-master/scripts/check_jmx4perl line 6.
Is there anything I need to install in RHEL 7 to make it work? I appreciate any inputs.
Thanks and Godbless!!
Albert Villaester