Oracle plugin check_oracle

Jason Martin jhmartin at toger.us
Mon Jul 10 20:14:59 CEST 2006


On Mon, Jul 10, 2006 at 05:57:08PM +0100, Hari Sekhon wrote:
> "Cannot determine ORACLE_HOME for sid <dbname>" with status UNKNOWN
> This happened to me before but since it was working earlier I don't
> see how this could have broken...
Soemthing must have changed...


> For one, why do I need ORACLE_HOME, 
sql/plus requires this since it uses it to find the tnsnames.ora
file as well as the location of the error messages translation
file.

> nagios user environment when I "su - nagios", and three sqlplus is in
> the nagios user's path and I can do "sqlplus <user/password at dbname>"
> and successfully get a login prompt on the database server.
How does it get in the nagios users's path? Could Nagios have
been restarted in such a way that the profile or whatever didn't
get sourced? 

-Jason Martin
-- 
This message is PGP/MIME signed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 213 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060710/da7f071d/attachment.sig>
-------------- next part --------------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
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