<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16890" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=468080306-10092009><FONT face=Verdana
color=#0000ff size=2>Hi Gerhard,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=468080306-10092009><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=468080306-10092009><FONT face=Verdana
color=#0000ff size=2>Thanks for the suggestion... After compiling the plugin
when I try to run on the command line I am getting the
error.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=468080306-10092009><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=468080306-10092009><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=468080306-10092009><FONT face=Verdana
size=2>./check_oracle_health <A
href="mailto:-connect=nagios/nagios@sisdev"><FONT
color=#000000>-connect=nagios/nagios@sisdev</FONT></A> -mode=tnsping<BR>CRITICAL
- cannot connect to <A href="mailto:nagios/nagios@sisdev"><FONT
color=#000000>nagios/nagios@sisdev</FONT></A>. 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.<BR>Perhaps the DBD::Oracle perl
module hasn't been fully installed,<BR>or perhaps the capitalisation of 'Oracle'
isn't right.<BR>Available drivers: DBM, ExampleP, File, Gofer, Proxy,
Sponge.<BR> at ./check_oracle_health line 3973<BR></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=468080306-10092009><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=468080306-10092009><FONT face=Verdana
color=#0000ff size=2>Perl and DBI are compiled.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=468080306-10092009><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=468080306-10092009><FONT face=Verdana
color=#0000ff size=2>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=468080306-10092009><FONT face=Verdana
color=#0000ff size=2>Chethan M N</DIV></FONT></SPAN><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Gerhard Lausser
[mailto:Gerhard.Lausser@consol.de] <BR><B>Sent:</B> Thursday, September 10, 2009
1:41 AM<BR><B>To:</B> Chethan M N (WI01 - Manage IT);
Nagios-users@lists.sourceforge.net<BR><B>Subject:</B> AW: [Nagios-users]
Check_oracle_health plugin error<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=688460820-09092009><FONT face=Arial
color=#0000ff size=2>Hi Chetan,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=688460820-09092009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=688460820-09092009><FONT face=Arial
color=#0000ff size=2>looks like your tar command isn't able to handle filenames
longer than 100 characters. (I think SuSE has this problem)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=688460820-09092009><FONT face=Arial
color=#0000ff size=2>So when you unpacked the tar archive, not all of the files
inside were extracted. Please download the .shar.gz file and extract it
with</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=688460820-09092009><FONT face=Arial
color=#0000ff size=2>sh check_oracle_health-1.6.2.shar.gz</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=688460820-09092009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=688460820-09092009><FONT face=Arial
color=#0000ff size=2>Gerhard</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Von:</B> chethan.mnc@wipro.com
[mailto:chethan.mnc@wipro.com] <BR><B>Gesendet:</B> Montag, 7. September 2009
12:38<BR><B>An:</B> Nagios-users@lists.sourceforge.net<BR><B>Betreff:</B>
[Nagios-users] Check_oracle_health plugin error<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN
class=890073810-07092009>Dear All,</SPAN></FONT></DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN
class=890073810-07092009></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN class=890073810-07092009>I
m trying to monitor oracle database hosted on solaris machine. when i try
to configure/compile check_oracle_health plugin I m getting an
error as below...</SPAN></FONT></DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN
class=890073810-07092009></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN
class=890073810-07092009>Please let me know any work around for this
error.</SPAN></FONT></DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN
class=890073810-07092009></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN
class=890073810-07092009>Regards,</SPAN></FONT></DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN
class=890073810-07092009>Chethan M N</SPAN></FONT></DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN
class=890073810-07092009></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN
class=890073810-07092009>============================================================</SPAN></FONT></DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN
class=890073810-07092009>bash-3.00# ./configure<BR>checking for a
BSD-compatible install... ./install-sh -c<BR>checking whether build
environment is sane... yes<BR>checking for a thread-safe mkdir -p...
./install-sh -c -d<BR>checking for gawk... no<BR>checking for mawk...
no<BR>checking for nawk... nawk<BR>checking whether make sets $(MAKE)...
yes<BR>checking how to create a pax tar archive... pax<BR>checking build
system type... sparc-sun-solaris2.10<BR>checking host system type...
sparc-sun-solaris2.10<BR>checking for a BSD-compatible install... ./install-sh
-c<BR>checking whether make sets $(MAKE)... (cached) yes<BR>variable
with_statefiles_dir is /var/tmp/check_oracle_health<BR>checking for sh...
/usr/bin/sh<BR>checking for perl... /usr/bin/perl<BR>checking for gzip...
/usr/bin/gzip<BR>checking for gawk... no<BR>checking for nawk...
/usr/bin/nawk<BR>checking for grep... /usr/bin/grep<BR>checking for echo...
/usr/bin/echo<BR>checking for sed... /usr/bin/sed<BR>checking for cat...
/usr/bin/cat<BR>configure: creating ./config.status<BR>config.status: creating
Makefile<BR>config.status: creating plugins-scripts/Makefile<BR>config.status:
creating plugins-scripts/subst<BR>config.status: creating
t/Makefile<BR>
--with-perl:
/usr/bin/perl<BR>
--with-statefiles-dir:
/var/tmp/check_oracle_health<BR>
--with-nagios-user:
nagios<BR>
--with-nagios-group: nagios<BR>bash-3.00# make<BR>Making all in
plugins-scripts<BR>make: Fatal error: Don't know how to make target
`Nagios/DBD/Oracle/Server/Instance/SGA/SharedPool/DictionaryCache.pm'<BR>Current
working directory /tmp/test/check_oracle_health-1.4.0.1/plugins-scripts<BR>***
Error code 1<BR>The following command caused the error:<BR>failcom='exit 1';
\<BR>for f in x $MAKEFLAGS; do \<BR> case $f in \<BR>
*=* | --[!k]*);; \<BR> *k*) failcom='fail=yes';; \<BR>
esac; \<BR>done; \<BR>dot_seen=no; \<BR>target=`echo all-recursive | sed
s/-recursive//`; \<BR>list='plugins-scripts t'; for subdir in $list; do
\<BR> echo "Making $target in $subdir"; \<BR> if test "$subdir" =
"."; then \<BR> dot_seen=yes; \<BR>
local_target="$target-am"; \<BR> else \<BR>
local_target="$target"; \<BR> fi; \<BR> (cd $subdir &&
make $local_target) \<BR> || eval $failcom; \<BR>done; \<BR>if
test "$dot_seen" = "no"; then \<BR> make "$target-am" || exit 1;
\<BR>fi; test -z "$fail"<BR>make: Fatal error: Command failed for target
`all-recursive'<BR>=================================================================================</SPAN></FONT></DIV></BLOCKQUOTE></BODY></HTML>