<br><tt><font size=2>"Araripe Moreira" <subover@gmail.com>
schrieb am 02.10.2008 19:44:02:<br>
<br>
> I am using check_oracle plug in to monitor some of the oracle database<br>
> service in my network. But this is reporting the following error:<br>
> <br>
> nagios@srvh410k:/opt/nagios/libexec> ./check_nrpe -H 127.0.0.1
-c check_jcma<br>
> No TNS Listener on JCMA<br>
><br>
> when I execute this command on the machine where nagios plug in is
running<br>
> <br>
> nagios@srvh410k:/opt/nagios/libexec> ./check_oracle --tns JCMA
--db<br>
> prod --login oracle<br>
> OK - reply time 890 msec from JCMA<br>
</font></tt>
<br><tt><font size=2>What does 'set | grep ORA' give? Do you have the ORACLE_HOME
set as nagios</font></tt>
<br><tt><font size=2>user? If not - does /etc/oratab contain the path to
the orahome of the JCMA?</font></tt>
<br><tt><font size=2>One of those needs to be true at least, I only use
the oratab entry for</font></tt>
<br><tt><font size=2>example.</font></tt>
<br>
<br><tt><font size=2>Does your tnsnames.ora contain a valid connector for
JCMA?</font></tt>
<br><tt><font size=2>Since it works from the commandline - it seems so,
but you'll never know...</font></tt>
<br>
<br><font size=2 face="sans-serif">S</font>
<br>
<br><font size=2 face="sans-serif">-- <br>
Sascha Runschke<br>
IT-Infrastruktur<br>
<br>
fon : +49 (201) / 102-1879<br>
fax : +49 (201) / 102-1102105<br>
mobil : +49 (173) / 5419665</font>
<br>
<br>
<br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">GFKL Financial Services AG</span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">Vorstand: Dr. Peter Jänsch (Vors.), Jürgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp</span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma</span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522</span>