diff --git a/src/config.json b/src/config.json index 776b388..f437dfc 100644 --- a/src/config.json +++ b/src/config.json @@ -1,111 +1,86 @@ -{ - "--Select Issue Type--": { - "commands": [], - "logs": [] - }, - "Password Reset Request": { - "commands": [], - "logs": [] - }, - "Domain Mapping": { - "commands": [], - "logs": [] - }, - "Wallet/Reverse Proxy Required": { - "commands": [], - "logs": [] - }, - "Others": { - "commands": [], - "logs": [] - }, - "Email Problem": { - "commands": [], - "logs": [ - { - "log_file": "/var/log/messages", - "lines": 50 - } - ] - }, - "Jasper Reports": { - "commands": [ - { - "comm": "top -b -n 1", - "tag": "top" - } - ], - "logs": [ - { - "log_file": "/opt/tomcat/logs/catalina.out", - "lines": 50 - }, - { - "log_file": "/var/log/messages", - "lines": 50 - } - ] - }, - "Server Unavailable": { - "commands": [], - "logs": [ - { - "log_file": "/opt/tomcat/logs/catalina.out", - "lines": 50 - }, - { - "log_file": "/opt/oracle/diag/rdbms/xe/XE/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 - } - ] - } +{ + "Server Performance Problem": { + "commands": [ + { + "comm": "top -b -n 1", + "tag": "top" + } + ], + "logs": [ + { + "log_file": "/opt/tomcat/logs/catalina.out", + "lines": 50 + }, + { + "log_file": "/opt/oracle/diag/rdbms/xe/XE/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": "/opt/oracle/diag/rdbms/xe/XE/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