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
Plugins Does not Work in RHEL 7.5 (Maipo)
-
- Posts: 21
- Joined: Fri Nov 17, 2017 11:06 am
Re: Plugins Does not Work in RHEL 7.5 (Maipo)
Make sure the monitoring perl modules are installed on the 7.5 machine:
perl -MCPAN -e 'install Monitoring::Plugin'
perl -MCPAN -e 'install Monitoring::Plugin'
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
- Posts: 21
- Joined: Fri Nov 17, 2017 11:06 am
Re: Plugins Does not Work in RHEL 7.5 (Maipo)
Hi cdienger,
Thank you so much. This solves the problem.
Godbless dude!!!
Thank you so much. This solves the problem.
Godbless dude!!!
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Plugins Does not Work in RHEL 7.5 (Maipo)
Great!acvillaester wrote:Hi cdienger,
Thank you so much. This solves the problem.
Godbless dude!!!
Locking thread