Page 1 of 1

PROBLEM WITH ORACLE PLUGINS

Posted: Thu Oct 09, 2014 9:06 am
by soporte.impala
Hi everyone,

I'm trying to configure monitor to Oracle.

We got this result:

CRITICAL - cannot connect to 192.168.1.51:1521/SIP. install_driver(Oracle) failed: Can't locate DBD/Oracle/Object.pm in @INC (@INC contains: /usr/local/nagios/libexec /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/

What am I doing wrong?

Re: PROBLEM WITH ORACLE PLUGINS

Posted: Thu Oct 09, 2014 12:57 pm
by lmiltchev
Did you install the "DBD::Oracle" module? Try fixing the issue by running:

Code: Select all

export ORACLE_HOME=<path to your Oracle which was given by the script>
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
cpan -i DBD::Oracle
http://assets.nagios.com/downloads/nagi ... ios-XI.pdf

Re: PROBLEM WITH ORACLE PLUGINS

Posted: Fri Oct 10, 2014 4:10 am
by soporte.impala
Hey mate,

yes i did it but just doesnt work :(

Re: PROBLEM WITH ORACLE PLUGINS

Posted: Fri Oct 10, 2014 11:01 am
by lmiltchev
So you were able to install the "DBD::Oracle" module successfully, but this didn't solve your issue? Can you run the following command and show us the output?

Code: Select all

perldoc -l DBD::Oracle

Re: PROBLEM WITH ORACLE PLUGINS

Posted: Fri Oct 10, 2014 11:08 am
by soporte.impala
Hey mate, ty for your answer.

Command result are:

-bash-4.1# perldoc -l DBD::Oracle
/usr/local/lib/perl5/DBD/Oracle.pm
-bash-4.1#

Re: PROBLEM WITH ORACLE PLUGINS

Posted: Fri Oct 10, 2014 1:56 pm
by lmiltchev
Actually, I just found out that you have a support ticket open already in our email ticketing system. It is better if we follow this case in one place.

Please, email us the profile.zip, so that we can review your configs. Thank you!

I am locking this topic.