changes
This commit is contained in:
parent
78252cc2de
commit
877309adf3
@ -72,10 +72,12 @@ RESET="\033[0;00m"
|
||||
|
||||
|
||||
DEBUG=0
|
||||
DEBUG=1
|
||||
|
||||
NOHEAD="SET HEAD OFF
|
||||
SET PAGES 0
|
||||
SET FEED OFF"
|
||||
SET FEED OFF
|
||||
SET TIMING OFF"
|
||||
|
||||
########################################################################
|
||||
#
|
||||
@ -578,7 +580,6 @@ group by username
|
||||
local AUX="${ORAENV} printf \"%s\n${QUERY}\" | ${SQLPLUS}"
|
||||
local RESSULT="$(${SSH} "${AUX}" | awk '{print $1}')"
|
||||
|
||||
|
||||
if [[ "${RESSULT}" =~ .*(ORA\-[0-9]{1,}).* ]] ; then
|
||||
echo "CRITICAL - ${ORACLE_SID} Error getting sessions: ${BASH_REMATCH[1]}"
|
||||
return ${STATE_CRITICAL}
|
||||
|
Loading…
Reference in New Issue
Block a user