Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions plugins-scripts/Nagios/DBD/Oracle/Server/Database.pm
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ sub init_invalid_objects {
SELECT 'dba_indexes', index_type||' index '||owner||'.'||index_name||' of '||table_owner||'.'||table_name||' is '||status
FROM dba_indexes
WHERE status <> 'VALID' AND status <> 'N/A'
UNION
SELECT 'dba_indexes', index_type||' index '||owner||'.'||index_name||' of '||table_owner||'.'||table_name||' is domain status '||DOMIDX_STATUS||' and domain opstatus '||DOMIDX_OPSTATUS
FROM dba_indexes
WHERE status = 'VALID' AND ( DOMIDX_STATUS <> 'VALID' OR DOMIDX_OPSTATUS <> 'VALID')
});
# should be only USABLE
@{$self->{invalidobjects}->{invalid_ind_partitions_list}} =
Expand Down