Issues installing Oracle plugin in NagiosXI
Posted: Wed Mar 30, 2016 4:49 pm
Hi Team,
I'm trying to install the oracle client and plugin on to our nagios server
Below is the document which i'm following
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
If you see the last part in the above mentioned document, it says
=====================================
Nagios gives this error:
CRITICAL - cannot connect to 192.168.5.55:1521. install_driver(Oracle) failed: Can't locate DBD/Oracle.pm in @INC (@INC
contains: /usr/local/nagios/libexec /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl
This is due to the Perl module not being installed properly. To remedy this problem, execute the following from the command line:
export ORACLE_HOME=<path to your Oracle which was given by the script>
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
cpan -i DBD::Oracle
=====================================
But when i try to install the perl module via cpan, i'm getting the attached error.
I have already refered older topics, but it did not helped me
https://support.nagios.com/forum/viewto ... f=6&t=5462
Need your assistance on this on high priority.
Below are some additional details
# uname -a
Linux nagmonusdev1 2.6.32-431.20.3.el6.x86_64 #1 SMP Fri Jun 6 18:30:54 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
I'm trying to install the oracle client and plugin on to our nagios server
Below is the document which i'm following
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
If you see the last part in the above mentioned document, it says
=====================================
Nagios gives this error:
CRITICAL - cannot connect to 192.168.5.55:1521. install_driver(Oracle) failed: Can't locate DBD/Oracle.pm in @INC (@INC
contains: /usr/local/nagios/libexec /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl
This is due to the Perl module not being installed properly. To remedy this problem, execute the following from the command line:
export ORACLE_HOME=<path to your Oracle which was given by the script>
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
cpan -i DBD::Oracle
=====================================
But when i try to install the perl module via cpan, i'm getting the attached error.
I have already refered older topics, but it did not helped me
https://support.nagios.com/forum/viewto ... f=6&t=5462
Need your assistance on this on high priority.
Below are some additional details
# uname -a
Linux nagmonusdev1 2.6.32-431.20.3.el6.x86_64 #1 SMP Fri Jun 6 18:30:54 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux