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
check_oracle_health
Re: check_oracle_health
Can you please post the full command, or screenshot of what you're entering, in order to produce this result?
Former Nagios Employee
Re: check_oracle_health
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
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
Re: check_oracle_health
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
[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
Re: check_oracle_health
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
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
Re: check_oracle_health
I have export oracle setting in nagios profilerkennedy wrote:Can you please post the full command, or screenshot of what you're entering, in order to produce this result?
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.
Re: check_oracle_health
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
Re: check_oracle_health
[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 ~]$
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 ~]$
Re: check_oracle_health
We will need to see the screenshot.rkennedy wrote:Can you please post the full command, or screenshot of what you're entering, in order to produce this result?
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
Re: check_oracle_health
Attach is print screen.
Thanks
Thanks
You do not have the required permissions to view the files attached to this post.