Check_oracle_health plugin error
Marc Powell
marc at ena.com
Thu Sep 10 16:03:07 CEST 2009
On Sep 10, 2009, at 1:01 AM, <chethan.mnc at wipro.com> <chethan.mnc at wipro.com
> wrote:
> Hi Gerhard,
>
> Thanks for the suggestion... After compiling the plugin when I try
> to run on the command line I am getting the error.
>
>
> ./check_oracle_health -connect=nagios/nagios at sisdev -mode=tnsping
> CRITICAL - cannot connect to nagios/nagios at sisdev. install_driver
> (Oracle) failed: Can't locate DBD/Oracle.pm in @INC (@INC
> contains: . /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /
> usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/
> site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/
> 5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/
> lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/
> perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/
> vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/
> 5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-
> linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-
> thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/
> vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/
> vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/
> i386-linux-thread-multi /usr/lib/perl5/5.8.8) at (eval 13) line 3.
> Perhaps the DBD::Oracle perl module hasn't been fully installed,
> or perhaps the capitalisation of 'Oracle' isn't right.
> Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge.
> at ./check_oracle_health line 3973
>
> Perl and DBI are compiled.
It says you don't have the required perl module DBD::Oracle installed.
Do you? If you believe you do, it's appears that it is not installed
correctly.
--
Marc
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list