ticket_ai_flask_app/src/config_18c.json

74 lines
2.1 KiB
JSON

{
"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"
}
],
"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"
}
],
"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
}
]
}
}