Check_oracle_health plugin error
Gerhard Lausser
Gerhard.Lausser at consol.de
Mon Sep 14 17:35:15 CEST 2009
Hi Marc,
if DBD::Oracle has been installed correctly, then maybe your LD_LIBRARY_PATH
does not include the directory where Oracle's libclntsh.so resides.
In order to run check_oracle_health you must have a working environment with
ORACLE_HOME, TNS_ADMIN,...
Gerhard
> -----Ursprüngliche Nachricht-----
> Von: Marc Powell [mailto:marc at ena.com]
> Gesendet: Donnerstag, 10. September 2009 16:03
> An: nagios List
> Betreff: Re: [Nagios-users] Check_oracle_health plugin error
>
>
> 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
>
------------------------------------------------------------------------------
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