update config files baed on oracle versions

This commit is contained in:
Abdur Rehman 2024-09-13 12:53:12 +05:00
parent 5057d6ca51
commit 375d58876f
3 changed files with 88 additions and 2 deletions

View File

@ -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
},
{

86
src/config_cloud_db.json Normal file
View File

@ -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
}
]
}
}