I am running Oracle Linux 7.9 x86_64 and Nagios XI 5.7.3.
I am attempting to install the Oracle client and plugins (specifically: check_oracle_health) following these directions:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
I have found that the script mentioned in the directions "https://assets.nagios.com/downloads/gen ... install.sh" has an error for Oracle Linux.
Line 52 of the script...
Code: Select all
if [ "$distro" = "CentOS" ] || [ "$distro" = "CentOSStream" ] || [ "$distro" = "Scientific" ] || [ "$distro" = "Fedora" ] || [ "$distro" = "RedHatEnterpriseServer" ] || [ "$distro" = "RedHatEnterprise" ]; thenCode: Select all
if [ "$distro" = "CentOS" ] || [ "$distro" = "CentOSStream" ] || [ "$distro" = "Scientific" ] || [ "$distro" = "Fedora" ] || [ "$distro" = "RedHatEnterpriseServer" ] || [ "$distro" = "RedHatEnterprise" ] || [ "$distro" = "OracleServer" ]; thenAfter making this change to the script, and following all directions in the pdf (I can provide a terminal log), the script appears to fully complete.
HOWEVER, my "check_oracle_health" service checks report (I've x'ed out private info):
Any thoughts?CRITICAL - cannot connect to x.x.x.x:2021/xxxx. DBI object version 1.627 does not match bootstrap parameter 1.643 at /usr/lib64/perl5/DynaLoader.pm line 213.
BEGIN failed--compilation aborted at /usr/local/lib64/perl5/DBI.pm line 284.
Compilation failed in require at /usr/local/nagios/libexec/check_oracle_health line 6101.
Thank you!!