check_oracle_health stopped working after updating xi

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
paltel
Posts: 64
Joined: Wed Jul 22, 2015 3:47 am

check_oracle_health stopped working after updating xi

Post by paltel »

Hello ,

I've updated nagios XI today to the latest version 5R1.0 , but oracle health plugn stopped working as it was ok before the upgrade .

I tried to reinstall using the documentation but the same error :

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

I got the following error output from GUI :

install_driver(Oracle) failed: Can't load '/usr/local/lib64/perl5/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libclntsh.so.12.1: cannot open shared object file: No such file or directory at /usr
at (eval 19) line 3
Compilation failed in require at (eval 19) line 3.
Perhaps a required shared library or dll isn't installed where expected
at /usr/local/nagios/libexec/check_oracle_health line 4755


again it was working perfectly before the upgrade , any ideas how to fix this one ?

Thanks
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: check_oracle_health stopped working after updating xi

Post by hsmith »

Hi paltel,

Another user found the following:
jstoddart wrote:We have resolved this, for some reason the upgrade changed the $ORACLE_HOME in the commands from `/usr/lib/oracle/11.2/client64` to `/usr/lib/oracle/11.2/client` which does not exist
from this thread.

Can you take a look at this and see if it is your issue as well?


If this is it, I'll let the developers know.
Former Nagios Employee.
me.
paltel
Posts: 64
Joined: Wed Jul 22, 2015 3:47 am

Re: check_oracle_health stopped working after updating xi

Post by paltel »

Yes thats right ,

upgrade reset ORACLE_HOME and LD_LIBRARY_PATH to the defaults , I had to change them again and it works .

Thanks
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: check_oracle_health stopped working after updating xi

Post by hsmith »

I'll talk to the developers and see if this is a bug. Thanks for the follow up.
Former Nagios Employee.
me.
Locked