mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-26 23:24:27 +02:00
fix(oracle): tablespace-usage mode - carriage return error with sqlplus (#2980)
This commit is contained in:
parent
ef557980a0
commit
7dcad24541
@ -334,8 +334,7 @@ sub manage_selection {
|
||||
FROM
|
||||
DBA_TABLESPACE_USAGE_METRICS tum
|
||||
INNER JOIN
|
||||
dba_tablespaces t on tum.tablespace_name=t.tablespace_name
|
||||
%s
|
||||
dba_tablespaces t on tum.tablespace_name=t.tablespace_name %s
|
||||
},
|
||||
defined($self->{option_results}->{notemp}) ?
|
||||
"WHERE (t.contents != 'TEMPORARY' AND t.contents != 'UNDO')" :
|
||||
@ -436,8 +435,7 @@ sub manage_selection {
|
||||
a.tablespace_name = c.tablespace_name (+)
|
||||
AND a.tablespace_name = b.tablespace_name
|
||||
AND a.tablespace_name = d.tablespace_name (+)
|
||||
%s
|
||||
%s
|
||||
%s %s
|
||||
},
|
||||
defined($self->{option_results}->{notemp}) ? $tbs_sql_undo_empty : $tbs_sql_undo,
|
||||
defined($self->{option_results}->{notemp}) ? "AND (b.contents != 'TEMPORARY' AND b.contents != 'UNDO')" : '',
|
||||
|
Loading…
x
Reference in New Issue
Block a user