check_oracle_health

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
fmargari
Posts: 13
Joined: Fri Feb 26, 2016 2:16 pm

check_oracle_health

Post by fmargari »

Hi all,

I am new user in nagios and I have this problem to run check_oracle_helath plugin en Nagios XI

Use of qw(...) as parentheses is deprecated at ./check_oracle_health line 4162.
Use of qw(...) as parentheses is deprecated at ./check_oracle_health line 6166.
CRITICAL - cannot connect to BOW.WORLD. DBI object version 1.627 does not match bootstrap parameter 1.634 at /usr/lib64/perl5/DynaLoader.pm line 213.
BEGIN failed--compilation aborted at /usr/local/lib64/perl5/DBI.pm line 286.
Compilation failed in require at ./check_oracle_health line 4736.

Can help me ?
Thanks
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: check_oracle_health

Post by rkennedy »

Can you please post the full command, or screenshot of what you're entering, in order to produce this result?
Former Nagios Employee
fmargari
Posts: 13
Joined: Fri Feb 26, 2016 2:16 pm

Re: check_oracle_health

Post by fmargari »

in nagios user profile

LD_LIBRARY_PATH=/oracle/product/client/lib
ORACLE_HOME=/oracle/product/client

[nagios@arlxpd60 libexec]$ /usr/local/nagios/libexec/check_oracle_health --connect BOW.WORLD --username nagios --password oracle --mode tnsping
Use of qw(...) as parentheses is deprecated at ./check_oracle_health line 4162.
Use of qw(...) as parentheses is deprecated at ./check_oracle_health line 6166.
CRITICAL - cannot connect to BOW.WORLD. DBI object version 1.627 does not match bootstrap parameter 1.634 at /usr/lib64/perl5/DynaLoader.pm line 213.
BEGIN failed--compilation aborted at /usr/local/lib64/perl5/DBI.pm line 286.
Compilation failed in require at ./check_oracle_health line 4736.

I ran by linux manually , in console I see same error message.

I hope this information help

Thanks and Regards
fmargari
Posts: 13
Joined: Fri Feb 26, 2016 2:16 pm

Re: check_oracle_health

Post by fmargari »

I ran by ssh . I saw same error message in web console


[nagios@arlxpd60 libexec]$ /usr/local/nagios/libexec/check_oracle_health --connect BOW.WORLD --username nagios --username nagios --mode tnsping
Use of qw(...) as parentheses is deprecated at ./check_oracle_health line 4162.
Use of qw(...) as parentheses is deprecated at ./check_oracle_health line 6166.
CRITICAL - cannot connect to BOW.WORLD. DBI object version 1.627 does not match bootstrap parameter 1.634 at /usr/lib64/perl5/DynaLoader.pm line 213.
BEGIN failed--compilation aborted at /usr/local/lib64/perl5/DBI.pm line 286.
Compilation failed in require at ./check_oracle_health line 4736.

I hope this help.

thanks for help
Regards
fmargari
Posts: 13
Joined: Fri Feb 26, 2016 2:16 pm

Re: check_oracle_health

Post by fmargari »

Hi,
I´m running by console.
ORACLE_HOME=/oracle/product/client
LD_LIBRARY_PATH=/oracle/product/client/lib

[nagios@arlxpd60 ~]$ /usr/local/nagios/libexec/check_oracle_health --connect bowsrv.nextel.com.ar:1562/BOW --username nagios --password oracle --mode tnsping
Use of qw(...) as parentheses is deprecated at /usr/local/nagios/libexec/check_oracle_health line 4162.
Use of qw(...) as parentheses is deprecated at /usr/local/nagios/libexec/check_oracle_health line 6166.
CRITICAL - cannot connect to bowsrv.nextel.com.ar:1562/BOW. DBI object version 1.627 does not match bootstrap parameter 1.634 at /usr/lib64/perl5/DynaLoader.pm line 213.
BEGIN failed--compilation aborted at /usr/local/lib64/perl5/DBI.pm line 286.
Compilation failed in require at /usr/local/nagios/libexec/check_oracle_health line 4736.

In web console, I get same error message.
Thanks
fmargari
Posts: 13
Joined: Fri Feb 26, 2016 2:16 pm

Re: check_oracle_health

Post by fmargari »

rkennedy wrote:Can you please post the full command, or screenshot of what you're entering, in order to produce this result?
I have export oracle setting in nagios profile

SO
Linux arlxpd60 3.10.0-327.4.4.el7.x86_64


[nagios@arlxpd60 ~]$ /usr/local/nagios/libexec/check_oracle_health --connect bowsrv.nextel.com.ar:1562/BOW --username nagios --password oracle --mode tnsping
Use of qw(...) as parentheses is deprecated at /usr/local/nagios/libexec/check_oracle_health line 4162.
Use of qw(...) as parentheses is deprecated at /usr/local/nagios/libexec/check_oracle_health line 6166.
CRITICAL - cannot connect to bowsrv.nextel.com.ar:1562/BOW. DBI object version 1.627 does not match bootstrap parameter 1.634 at /usr/lib64/perl5/DynaLoader.pm line 213.
BEGIN failed--compilation aborted at /usr/local/lib64/perl5/DBI.pm line 286.
Compilation failed in require at /usr/local/nagios/libexec/check_oracle_health line 4736.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: check_oracle_health

Post by rkennedy »

Can you please run these two commands on your XI system, and post the result?

Code: Select all

perl -v
perl -MDBI
Former Nagios Employee
fmargari
Posts: 13
Joined: Fri Feb 26, 2016 2:16 pm

Re: check_oracle_health

Post by fmargari »

[nagios@arlxpd60 ~]$ perl -v

This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux-thread-multi
(with 29 registered patches, see perl -V for more detail)



Copyright 1987-2012, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

[nagios@arlxpd60 ~]$ perl -MDBI
DBI object version 1.627 does not match bootstrap parameter 1.634 at /usr/lib64/perl5/DynaLoader.pm line 213.
BEGIN failed--compilation aborted at /usr/local/lib64/perl5/DBI.pm line 286.
Compilation failed in require.
BEGIN failed--compilation aborted.
[nagios@arlxpd60 ~]$
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: check_oracle_health

Post by rkennedy »

rkennedy wrote:Can you please post the full command, or screenshot of what you're entering, in order to produce this result?
We will need to see the screenshot.

Can you please follow this document https://assets.nagios.com/downloads/nag ... ios-XI.pdf and install the 11.2 client?

Let us know if you have any questions.
Former Nagios Employee
fmargari
Posts: 13
Joined: Fri Feb 26, 2016 2:16 pm

Re: check_oracle_health

Post by fmargari »

Attach is print screen.
Thanks
You do not have the required permissions to view the files attached to this post.
Locked