catching output from get oracle home function
This commit is contained in:
parent
877309adf3
commit
ad326d409a
@ -1796,6 +1796,11 @@ fi
|
||||
SSH="ssh ${ORACLE_OSUSER}@${REMOTE_SERVER} -xq"
|
||||
|
||||
get_remote_oraclehome
|
||||
RES=$?
|
||||
if [[ ${RES} -ne 0 ]] ; then
|
||||
echo "CRITICAL - ORACLE_HOME not found"
|
||||
exit ${STATE_CRITICAL}
|
||||
fi
|
||||
|
||||
# SQLPLUS FOR CONNECTIONS
|
||||
SQLPLUS="sqlplus -s '${ORACLEUSER}/${ORACLEUSERPASSWORD}@${ORACLE_SID}'"
|
||||
|
Loading…
Reference in New Issue
Block a user