check_oracle tip

Rivanor P. Soares rivanor at linuxmail.org
Tue Jul 29 18:16:29 CEST 2003


Lonny, 
 
I'm running it as user 'nagios'. When it runs with Nagios, the variable is exported by its user (nagios). 
But when I run it on the shell, like 'root',  everything goes OK. 
 
[]'s 
	- Rivanor. 
 
----- Original Message ----- 
From: "Lonny Selinger" <lonny at bangtherockstogether.net> 
Date: Fri, 25 Jul 2003 12:54:28 -0600 (CST)  
To: "Rivanor P. Soares" <rivanor at linuxmail.org> 
Subject: Re: [Nagios-users] check_oracle tip 
 
> > The error, from web interface: 
> > Cannot determine ORACLE_HOME for sid 10.21.200.7 
> > 
> > When I try this check command typing in the shell (/usr/bin/env -i 
> > "ORACLE_HOME=/home/acesso/OraHome1" 
> > /usr/local/nagios/libexec/check_oracle --tns 10.21.200.7) the stdout 
> > is "OK - reply time 20 msec from 10.21.200.7". 
>  
> Who are you running the command as? My guess is you may have set the 
> env and SID as your current user as opposed to nagios (the UID ngios 
> runs as) 
>  
> Are you exporting ORACLE_HOME as a different user? 
>  
> -- 
> Lonny Selinger LPIC-1 
  
-- 
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
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