diff --git a/src/config_18c.json b/src/config_18c.json deleted file mode 100644 index 6c7c60c..0000000 --- a/src/config_18c.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "APEX Upgrade Request": { - "commands": [ - { - "comm": "df -h | head -n 1 && df -h | grep '^/dev/sd'", - "tag": "disk_usage" - }, - { - "comm": "/opt/ticket-ai/src/scripts/tablespaceUsage.sh;sleep 5;cat /tmp/tablespace_usage.tmp", - "tag": "tablespace_usage" - }, - { - "comm": "/opt/ticket-ai/src/scripts/apexUsage.sh;sleep 5;cat /tmp/apex_usage.tmp", - "tag": "apex_usage" - } - ], - "logs": [ - { - "log_file": "/opt/oracle/diag/rdbms/xe/XE/trace/alert_XE.log", - "lines": 10 - } - ] - }, - - "Server Performance Problem": { - "commands": [ - { - "comm": "top -b -n 1", - "tag": "top" - }, - { - "comm": "df -h", - "tag": "df" - }, - { - "comm": "/opt/ticket-ai/src/scripts/processfinder.sh;sleep 5;cat /tmp/findsql.tmp", - "tag": "processfinder" - }, - { - "comm": "/opt/ticket-ai/src/scripts/tablespaceUsage.sh;sleep 5;cat /tmp/tablespace_usage.tmp", - "tag": "tablespaceusage" - }, - { - "comm": "/opt/ticket-ai/src/scripts/showdbparameter.sh;sleep 2;cat /tmp/database_parameters.tmp", - "tag": "tablespaceusage" - }, - { - "comm": "cat /opt/ords/config/databases/default/pool.xml", - "tag": "ordsconfig" - }, - { - "comm": "echo Current Date and time on server: ; date", - "tag": "datetime" - }, - { - "comm": "find /var/log/virtualmin -type f -name '*error_log*' -mmin -15 -exec sh -c 'echo \"===== {} =====\"; tail -n 50 {}' \\;", - "tag": "apacheerrorlogs" - } - ], - "logs": [ - { - "log_file": "/opt/tomcat/logs/catalina.out", - "lines": 150 - }, - { - "log_file": "/opt/oracle/diag/rdbms/xe/XE/trace/alert_XE.log", - "lines": 50 - }, - { - "log_file": "/var/log/messages", - "lines": 25 - } - ] - }, - "Server Unavailable": { - "commands": [ - { - "comm": "top -b -n 1", - "tag": "top" - }, - { - "comm": "df -h", - "tag": "df" - }, - { - "comm": "/opt/ticket-ai/src/scripts/processfinder.sh;sleep 5;cat /tmp/findsql.tmp", - "tag": "processfinder" - }, - { - "comm": "/opt/ticket-ai/src/scripts/tablespaceUsage.sh;sleep 5;cat /tmp/tablespace_usage.tmp", - "tag": "tablespaceusage" - }, - { - "comm": "/opt/ticket-ai/src/scripts/showdbparameter.sh;sleep 2;cat /tmp/database_parameters.tmp", - "tag": "tablespaceusage" - }, - { - "comm": "cat /opt/ords/config/databases/default/pool.xml", - "tag": "ordsconfig" - }, - { - "comm": "echo Current Date and time on server: ; date", - "tag": "datetime" - }, - { - "comm": "find /var/log/virtualmin -type f -name '*error_log*' -mmin -15 -exec sh -c 'echo \"===== {} =====\"; tail -n 50 {}' \\;", - "tag": "apacheerrorlogs" - } - ], - "logs": [ - { - "log_file": "/opt/tomcat/logs/catalina.out", - "lines": 150 - }, - { - "log_file": "/opt/oracle/diag/rdbms/xe/XE/trace/alert_XE.log", - "lines": 50 - }, - { - "log_file": "/var/log/messages", - "lines": 25 - } - ] - } -} \ No newline at end of file