check_oracle_health
Posted: Fri Aug 21, 2015 7:51 am
Hi,
I am trying to monitor oracle using check_oracle_health plugin. I have installed DBD::Oracle modules and oracle client.
I am able to run the script as sudo. But as Nagios user I'm getting the below error.
CRITICAL - cannot connect to xyxy. install_driver(Oracle) failed: Can't locate loadable object for module DBD::Oracle in @INC (@INC contains: /nagiosfs/libexec /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at (eval 14) line 3
Compilation failed in require at (eval 14) line 3.
Perhaps a module that DBD::Oracle requires hasn't been fully installed
at /nagiosfs/libexec/check_oracle_health line 4755
But I'm getting the output while running the plugin as root user. Even I tried setting all the perl modules and Oracle file permission to 777, but no luck.
I am trying to monitor oracle using check_oracle_health plugin. I have installed DBD::Oracle modules and oracle client.
I am able to run the script as sudo. But as Nagios user I'm getting the below error.
CRITICAL - cannot connect to xyxy. install_driver(Oracle) failed: Can't locate loadable object for module DBD::Oracle in @INC (@INC contains: /nagiosfs/libexec /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at (eval 14) line 3
Compilation failed in require at (eval 14) line 3.
Perhaps a module that DBD::Oracle requires hasn't been fully installed
at /nagiosfs/libexec/check_oracle_health line 4755
But I'm getting the output while running the plugin as root user. Even I tried setting all the perl modules and Oracle file permission to 777, but no luck.