From 6d0c9cc01faa2847de1278e4a9f05bb9ebc3a92d Mon Sep 17 00:00:00 2001 From: Bill Buchan Date: Fri, 1 Nov 2024 17:33:54 +0000 Subject: [PATCH] Remove obsolete metric --- ...PRESERVED_AUDITED_INTERACTION_DATA_AGE.xml | 9 ------ .../mea.xml | 6 ---- ...PRESERVED_AUDITED_INTERACTION_DATA_AGE.xml | 31 ------------------- .../preserved_audited_interaction_data_age.sh | 18 ----------- 4 files changed, 64 deletions(-) delete mode 100644 ansible/roles/oracle-oms-setup/files/metric_extensions/delius/preserved_audited_interaction_data_age/collection/ME#24#PRESERVED_AUDITED_INTERACTION_DATA_AGE.xml delete mode 100644 ansible/roles/oracle-oms-setup/files/metric_extensions/delius/preserved_audited_interaction_data_age/mea.xml delete mode 100644 ansible/roles/oracle-oms-setup/files/metric_extensions/delius/preserved_audited_interaction_data_age/metadata/ME#24#PRESERVED_AUDITED_INTERACTION_DATA_AGE.xml delete mode 100644 ansible/roles/oracle-oms-setup/files/metric_extensions/delius/preserved_audited_interaction_data_age/scripts/preserved_audited_interaction_data_age.sh diff --git a/ansible/roles/oracle-oms-setup/files/metric_extensions/delius/preserved_audited_interaction_data_age/collection/ME#24#PRESERVED_AUDITED_INTERACTION_DATA_AGE.xml b/ansible/roles/oracle-oms-setup/files/metric_extensions/delius/preserved_audited_interaction_data_age/collection/ME#24#PRESERVED_AUDITED_INTERACTION_DATA_AGE.xml deleted file mode 100644 index 0c15b52e5..000000000 --- a/ansible/roles/oracle-oms-setup/files/metric_extensions/delius/preserved_audited_interaction_data_age/collection/ME#24#PRESERVED_AUDITED_INTERACTION_DATA_AGE.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/ansible/roles/oracle-oms-setup/files/metric_extensions/delius/preserved_audited_interaction_data_age/mea.xml b/ansible/roles/oracle-oms-setup/files/metric_extensions/delius/preserved_audited_interaction_data_age/mea.xml deleted file mode 100644 index d0ccf1117..000000000 --- a/ansible/roles/oracle-oms-setup/files/metric_extensions/delius/preserved_audited_interaction_data_age/mea.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/ansible/roles/oracle-oms-setup/files/metric_extensions/delius/preserved_audited_interaction_data_age/metadata/ME#24#PRESERVED_AUDITED_INTERACTION_DATA_AGE.xml b/ansible/roles/oracle-oms-setup/files/metric_extensions/delius/preserved_audited_interaction_data_age/metadata/ME#24#PRESERVED_AUDITED_INTERACTION_DATA_AGE.xml deleted file mode 100644 index d33a7fef9..000000000 --- a/ansible/roles/oracle-oms-setup/files/metric_extensions/delius/preserved_audited_interaction_data_age/metadata/ME#24#PRESERVED_AUDITED_INTERACTION_DATA_AGE.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - -Preserved Audited Interaction Data Age (days) By Environment - - - - - - - - - - -DAYS -TIME - - - - - - -/bin/bash -%scriptsDir%/preserved_audited_interaction_data_age.sh -%scriptsDir% -| -NAME - - - - \ No newline at end of file diff --git a/ansible/roles/oracle-oms-setup/files/metric_extensions/delius/preserved_audited_interaction_data_age/scripts/preserved_audited_interaction_data_age.sh b/ansible/roles/oracle-oms-setup/files/metric_extensions/delius/preserved_audited_interaction_data_age/scripts/preserved_audited_interaction_data_age.sh deleted file mode 100644 index 1667c4152..000000000 --- a/ansible/roles/oracle-oms-setup/files/metric_extensions/delius/preserved_audited_interaction_data_age/scripts/preserved_audited_interaction_data_age.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -. ~/.bash_profile - -# Exit without failure if database is not up -srvctl status database -d $ORACLE_SID >/dev/null || exit 0 - -sqlplus -s / as sysdba <