<P>
hi,<BR>
<BR>
Thank You very much. Its working. <BR>
<BR>
rgds,<BR>
kumar <BR>
<BR>
<BR>
On Mon, 08 Nov 2004 Phil Costelloe wrote :<BR>
>kumar s k wrote:<BR>
> > hi,<BR>
> ><BR>
> > pl. after i did below steps. still not working.<BR>
> ><BR>
> > rgds,<BR>
> > kumar<BR>
> ><BR>
> > On Tue, 02 Nov 2004 kumar s k wrote :<BR>
> >> hi,<BR>
> >><BR>
> >> i added below mentioned in remote server nepe.cfg.<BR>
> >><BR>
> >> command[check_oralogin]=ORACLE_HOME=/oracle/ora92; export<BR>
> >> ORACLE_HOME; TNS_ADMIN=/oracle/ora92/network/admin; export<BR>
> >> TNS_ADMIN; /usr/local/nagios/libexec/check_oracle --login<BR>
> >> MY_SID_NAME<BR>
> >><BR>
> >> i added in services.cfg in my nagios server<BR>
> >><BR>
> >> check_command check_nrpe!check_oralogin<BR>
> >><BR>
> >> i got the same error message<BR>
> >><BR>
> >> Cannot determine ORACLE_HOME for sid MY_SID_NAME.<BR>
><BR>
>That error comes up if the environment variable $ORACLE_HOME is empty<BR>
>(which the command should have ensured isn't the case) or the directory<BR>
>it refers doesn't exist. Are you sure it exists on the remote server.<BR>
><BR>
>Without having access to your server, it's very difficult to debug this<BR>
>kind of thing so you're just going to have to run through possibilities<BR>
>until you pin down the problem. Try running the plugin from the command<BR>
>line on the remote server as the nagios user with the same environment<BR>
>variables set up. Might give you some hints.<BR>
><BR>
>Phil<BR>
><BR>
><BR>
>-------------------------------------------------------<BR>
>This SF.Net email is sponsored by:<BR>
>Sybase ASE Linux Express Edition - download now for FREE<BR>
>LinuxWorld Reader's Choice Award Winner for best database on Linux.<BR>
>http://ads.osdn.com/?ad_idU88&alloc_id065&opick<BR>
>_______________________________________________<BR>
>Nagios-users mailing list<BR>
>Nagios-users@lists.sourceforge.net<BR>
>https://lists.sourceforge.net/lists/listinfo/nagios-users<BR>
>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<BR>
>::: Messages without supporting info will risk being sent to /dev/null<BR>
</P>
<br><br>
<A target="_blank" HREF="http://clients.rediff.com/signature/track_sig.asp"><IMG SRC="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com/inbox.htm@Bottom" BORDER=0 VSPACE=0 HSPACE=0></a>