Oracle - Nagios XI 2014
Posted: Sat Apr 19, 2014 7:51 pm
Hi,
I have a fresh installation of the Nagios XI 2014 on CentOS 6.4, until now, all is working great. I´m monitoring a Windows 2003 Server Enterprise Edition, I have in that server:
MySQL Server 5.x
MongoDB 2.x
Oracle 10g Enterprise
I´ve followed the steps in this document http://assets.nagios.com/downloads/nagi ... lation.pdf in order to install Oracle Clients for making Oracle wizard to work. I've download from oracle website :
oracle-instantclient-basic-10.2.0.5-1.i386.rpm
oracle-instantclient-devel-10.2.0.5-1.i386.rpm
oracle-instantclient-sqlplus-10.2.0.5-1.i386.rpm
and from Nagios Website:
oracleinstall.sh
All files are in the same directory /tmp. I ran oracleinstall.sh but it returns me an error at the end, and in Nagios Web Interface, when I configure to monitor an oracle database I got an error. According to the pdf, there is a way to fix, but it doesn't work.
I´ve made modifications to oracle commands in the nagios xi, according to the document. I noticed that when the script oracleinstall.sh finishes, it returns these path
ORACLE_HOME=/usr/lib/oracle//client
LD_LIBRARY_PATH=/usr/lib/oracle//client/lib
If you see, it doesn´t write the oracle version, I mean, it should have numbers between oracle and client, like this as my case:
ORACLE_HOME=/usr/lib/oracle/10.2.0.5/client
LD_LIBRARY_PATH=/usr/lib/oracle/10.2.0.5/client/lib
I follow the steps on how facing with that error, but my linux box returns me this mesage:
make: *** [dbdimp.o] Error 1
PYTHIAN/DBD-Oracle-1.72.tar.gz
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Attached you will find a complete log of the oracleinstall.sh
I have a fresh installation of the Nagios XI 2014 on CentOS 6.4, until now, all is working great. I´m monitoring a Windows 2003 Server Enterprise Edition, I have in that server:
MySQL Server 5.x
MongoDB 2.x
Oracle 10g Enterprise
I´ve followed the steps in this document http://assets.nagios.com/downloads/nagi ... lation.pdf in order to install Oracle Clients for making Oracle wizard to work. I've download from oracle website :
oracle-instantclient-basic-10.2.0.5-1.i386.rpm
oracle-instantclient-devel-10.2.0.5-1.i386.rpm
oracle-instantclient-sqlplus-10.2.0.5-1.i386.rpm
and from Nagios Website:
oracleinstall.sh
All files are in the same directory /tmp. I ran oracleinstall.sh but it returns me an error at the end, and in Nagios Web Interface, when I configure to monitor an oracle database I got an error. According to the pdf, there is a way to fix, but it doesn't work.
I´ve made modifications to oracle commands in the nagios xi, according to the document. I noticed that when the script oracleinstall.sh finishes, it returns these path
ORACLE_HOME=/usr/lib/oracle//client
LD_LIBRARY_PATH=/usr/lib/oracle//client/lib
If you see, it doesn´t write the oracle version, I mean, it should have numbers between oracle and client, like this as my case:
ORACLE_HOME=/usr/lib/oracle/10.2.0.5/client
LD_LIBRARY_PATH=/usr/lib/oracle/10.2.0.5/client/lib
I follow the steps on how facing with that error, but my linux box returns me this mesage:
make: *** [dbdimp.o] Error 1
PYTHIAN/DBD-Oracle-1.72.tar.gz
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Attached you will find a complete log of the oracleinstall.sh