<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.6000.16587" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=908192708-14052008>
<DIV><SPAN class=126222608-14052008><FONT face=Arial color=#0000ff size=2>You
appear to be running different commands....</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV>command[check_tns]=/usr/local/nagios/libexec/check_oracle --tns
oradb-lnx<BR>command[check_login]=/usr/local/nagios/libexec/check_oracle --login
playdb1<BR><BR>but all commands works if I execute following from 239 machine
(oradb-lnx)<BR><BR>[nagios@oradb-lnx libexec]$ ./check_oracle --tns
playdb1<BR>OK - reply time 10 msec from playdb1<BR>[nagios@oradb-lnx libexec]$
./check_oracle --login playdb1<BR>OK - dummy login connected</DIV>
<DIV> </DIV>
<DIV><SPAN class=126222608-14052008><FONT face=Arial color=#0000ff size=2>Surely
it should be....</FONT></SPAN></DIV>
<DIV><SPAN class=126222608-14052008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN
class=126222608-14052008>command[check_tns]=/usr/local/nagios/libexec/check_oracle
--tns playdb1<BR></SPAN></DIV>
<DIV><SPAN class=126222608-14052008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=126222608-14052008><FONT face=Arial color=#0000ff
size=2>not</FONT></SPAN></DIV>
<DIV><SPAN class=126222608-14052008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN
class=126222608-14052008>command[check_tns]=/usr/local/nagios/libexec/check_oracle
--tns oradb-lnx</SPAN></DIV></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=908192708-14052008><FONT face=Arial color=#0000ff
size=2>Duncan</FONT></SPAN></DIV>
<DIV align=left><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
nagiosplug-help-bounces@lists.sourceforge.net
[mailto:nagiosplug-help-bounces@lists.sourceforge.net] <B>On Behalf Of
</B>asam30@gmail.com<BR><B>Sent:</B> 14 May 2008 08:39<BR><B>To:</B>
nagiosplug-help@lists.sourceforge.net<BR><B>Subject:</B> {Disarmed}
[Nagiosplug-help] check_oracle plug in help<BR><BR></FONT></DIV>Hi,<BR><BR>I
am using check_oracle plug in to monitor some of the oracle database
parameters. But this is reporting the following
error.<BR><BR>[nagios@lnxtestsrv1 libexec]$ ./check_nrpe -H <A
href="http://10.192.2.239"><font color="red"><b>MailScanner has detected a possible fraud attempt from "10.192.2.239" claiming to be</b></font> <FONT color=red><B>MailScanner warning: numerical
links are often malicious:</B></FONT> 10.192.2.239</A> -p 5666 -c
check_tns<BR>No TNS Listener on playdb1<BR><BR>Let me
explain,<BR><BR>lnxtestsrv1 is a box where nagios server is running and this
is monitoring checks(check_http, check_ftp, check_disk, check_swap etc) of
other machines just fine. I now need to monitor oracle db on <A
href="http://10.192.2.239"><font color="red"><b>MailScanner has detected a possible fraud attempt from "10.192.2.239" claiming to be</b></font> <FONT color=red><B>MailScanner warning: numerical
links are often malicious:</B></FONT> 10.192.2.239</A> machine where oracle
server is running and sid is playdb1. i installed oracle client on this
lnxtestsrv1 machine and user nagios has access to sqlplus and tnsping commands
I also add nagios to the oracle group (dba, oinstall). tnsping from nagios
user works fine. telnet to 239 on port 1521 works ok<BR><BR>when I execute
this command on the machine where nagios server is
running,<BR><BR>[nagios@lnxtestsrv1 libexec]$ ./check_nrpe -H <A
href="http://10.192.2.239"><font color="red"><b>MailScanner has detected a possible fraud attempt from "10.192.2.239" claiming to be</b></font> <FONT color=red><B>MailScanner warning: numerical
links are often malicious:</B></FONT> 10.192.2.239</A> -p 5666 -c
check_tns<BR>No TNS Listener on
playdb1<BR><BR><BR>and<BR><BR>[nagios@lnxtestsrv1 libexec]$ ./check_nrpe -H <A
href="http://10.192.2.239"><font color="red"><b>MailScanner has detected a possible fraud attempt from "10.192.2.239" claiming to be</b></font> <FONT color=red><B>MailScanner warning: numerical
links are often malicious:</B></FONT> 10.192.2.239</A> -p 5666 -c
check_login<BR>CRITICAL -<BR><BR>in my 239 machine nrpe.cfg has
following,<BR><BR>command[check_tns]=/usr/local/nagios/libexec/check_oracle
--tns oradb-lnx<BR>command[check_login]=/usr/local/nagios/libexec/check_oracle
--login playdb1<BR><BR>but all commands works if I execute following from 239
machine (oradb-lnx)<BR><BR>[nagios@oradb-lnx libexec]$ ./check_oracle --tns
playdb1<BR>OK - reply time 10 msec from playdb1<BR>[nagios@oradb-lnx libexec]$
./check_oracle --login playdb1<BR>OK - dummy login connected<BR><BR><BR>I did
set the ORACLE_HOME path to where oracle client installed on lnxtestsrv1
machine. Please help me how to fix
this.<BR><BR>Thanks<BR>-Shankar<BR><BR><BR><BR clear=all><BR>-- <BR>Shankar
Asam <BR>-- <BR>This message has been scanned for viruses and <BR>dangerous
content by <A href="http://www.mailscanner.info/"><B>MailScanner</B></A>, and
is <BR>believed to be clean. </BLOCKQUOTE></BODY><br />--
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br />believed to be clean.
</HTML>