<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
You have to export ORACLE_HOME in your nagios home dir .bash_profile or
whatever and restart Nagios.
<p>Thierry
<br> 
<p>bcotta@unimedbh.com.br wrote:
<blockquote TYPE=CITE>Hi all,
<p>I would like to know what can I do to check_oracle db and tns?
<br>I add the config below in the specific files.
<p>Follow config files:
<br>-checkcommands.cfg
<br>        define command{
<br>               
command_name    check_oradb
<br>               
command_line           
$USER1$/check_oracle    -H
<br>$HOSTADDRESS$ $ARG$
<p>- services.cfg
<br>        .....
<br>        check_command  
check_oracle! --db test
<p>Error message:
<br>Service test - Cannot determine ORACLE_HOME for sid
<p>Which more I have to do?
<p>Thanks,
<br>--
<br>Breno Andrade Cotta
<br>bcotta@unimedbh.com.br
<p>-------------------------------------------------------
<br>This SF.Net email is sponsored by: SourceForge.net Broadband
<br>Sign-up now for SourceForge Broadband and get the fastest
<br>6.0/768 connection for only $19.95/mo for the first 3 months!
<br><a href="http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click">http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click</a>
<br>_______________________________________________
<br>Nagios-users mailing list
<br>Nagios-users@lists.sourceforge.net
<br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
<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</blockquote>
</html>