Check_oracle db and tns

Dan Newcombe Newcombe at mordor.clayton.edu
Tue May 18 03:31:13 CEST 2004


On Mon, 17 May 2004 bcotta at unimedbh.com.br wrote:
check_command                  check_oracle!TNS.name

I have this in my check oracle (well, with my tns name there instead of
that).  I'm only checking one oracle service so I just have it hard coded.

> Error message:
> Service test - Cannot determine ORACLE_HOME for sid

What I had to do is make sure that my oracle environment was setup before
nagios ran.  I have
export ORAENV_ASK=NO
export ORACLE_SID=oracle
. /usr/local/bin/oraenv

in my nagios startup script, so it is all good to go.


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
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