PROBLEM WITH ORACLE PLUGINS

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
soporte.impala
Posts: 11
Joined: Thu Jul 04, 2013 4:26 am

PROBLEM WITH ORACLE PLUGINS

Post 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?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: PROBLEM WITH ORACLE PLUGINS

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
soporte.impala
Posts: 11
Joined: Thu Jul 04, 2013 4:26 am

Re: PROBLEM WITH ORACLE PLUGINS

Post by soporte.impala »

Hey mate,

yes i did it but just doesnt work :(
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: PROBLEM WITH ORACLE PLUGINS

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
soporte.impala
Posts: 11
Joined: Thu Jul 04, 2013 4:26 am

Re: PROBLEM WITH ORACLE PLUGINS

Post 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#
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: PROBLEM WITH ORACLE PLUGINS

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked