Monitoring Oracle DB using Nagios XI - error
Posted: Tue Oct 29, 2019 10:44 am
We recently installed the Oracle Client/etc software on our Nagios XI system, so we can monitor our Oracle databases. When trying to use one of the wizards, received the following:
CRITICAL - cannot connect to server1:1521/db1. install_driver(Oracle) failed: Can't load '/usr/local/lib64/perl5/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libclntsh.so.18.1: cannot open shared object file: No such file or direct
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 6151
We are running Nagios XI on CentOS 6. We had trouble getting the latest version of the Oracle software working (19.3), so we uninstalled the 19.3 RPMs, and instead used the 18.5 RPMs.
CRITICAL - cannot connect to server1:1521/db1. install_driver(Oracle) failed: Can't load '/usr/local/lib64/perl5/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libclntsh.so.18.1: cannot open shared object file: No such file or direct
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 6151
We are running Nagios XI on CentOS 6. We had trouble getting the latest version of the Oracle software working (19.3), so we uninstalled the 19.3 RPMs, and instead used the 18.5 RPMs.