diff --git a/src/config_new_ora.json b/src/config_18c.json similarity index 100% rename from src/config_new_ora.json rename to src/config_18c.json diff --git a/src/config_old_ora.json b/src/config_23ai.json similarity index 92% rename from src/config_old_ora.json rename to src/config_23ai.json index f437dfc..8276338 100644 --- a/src/config_old_ora.json +++ b/src/config_23ai.json @@ -12,7 +12,7 @@ "lines": 50 }, { - "log_file": "/opt/oracle/diag/rdbms/xe/XE/trace/alert_XE.log", + "log_file": "/opt/oracle/diag/rdbms/free/FREE/trace/alert_XE.log", "lines": 50 }, { @@ -29,7 +29,7 @@ "lines": 50 }, { - "log_file": "/opt/oracle/diag/rdbms/xe/XE/trace/alert_XE.log", + "log_file": "/opt/oracle/diag/rdbms/free/FREE/trace/alert_XE.log", "lines": 50 }, { diff --git a/src/config_cloud_db.json b/src/config_cloud_db.json new file mode 100644 index 0000000..c7c5910 --- /dev/null +++ b/src/config_cloud_db.json @@ -0,0 +1,86 @@ +{ + "Server Performance Problem": { + "commands": [ + { + "comm": "top -b -n 1", + "tag": "top" + } + ], + "logs": [ + { + "log_file": "/opt/tomcat/logs/catalina.out", + "lines": 50 + }, + { + "log_file": "/u01/app/oracle/diag/rdbms/orcl_jnb1w9/ORCL/trace/alert_XE.log", + "lines": 50 + }, + { + "log_file": "/var/log/messages", + "lines": 50 + } + ] + }, + "Server Unavailable": { + "commands": [], + "logs": [ + { + "log_file": "/opt/tomcat/logs/catalina.out", + "lines": 50 + }, + { + "log_file": "/u01/app/oracle/diag/rdbms/orcl_jnb1w9/ORCL/trace/alert_XE.log", + "lines": 50 + }, + { + "log_file": "/var/log/messages", + "lines": 50 + } + ] + }, + "Demo1": { + "commands": [], + "logs": [ + { + "log_file": "/home/arehman/Documents/Projects/Python/Maxapex/ticket_ai_flask_app/logs/*_error.log", + "lines": 50 + } + ] + }, + "Demo2": { + "commands": [], + "logs": [ + { + "log_file": "/home/arehman/Documents/Projects/Python/Maxapex/ticket_ai_flask_app/logs/a_error.log", + "lines": 50 + } + ] + }, + "Demo3": { + "commands": [ + { + "comm": "top -b -n 1", + "tag": "top" + } + ], + "logs": [] + }, + "Demo": { + "commands": [ + { + "comm": "top -b -n 1", + "tag": "top" + } + ], + "logs": [ + { + "log_file": "/home/arehman/Documents/Projects/Python/Maxapex/ticket_ai_flask_app/logs/a_error.log", + "lines": 50 + }, + { + "log_file": "/home/arehman/Documents/Projects/Python/Maxapex/ticket_ai_flask_app/logs/*_error.log", + "lines": 50 + } + ] + } +} \ No newline at end of file