From e980c95c95233788f156ba097e6a7a04a1003d7c Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 23 Feb 2024 15:38:38 +0500 Subject: [PATCH] update config --- src/config.json | 119 +++++++++++++++++++++++++++++------------------- 1 file changed, 73 insertions(+), 46 deletions(-) diff --git a/src/config.json b/src/config.json index 655ba61..776b388 100644 --- a/src/config.json +++ b/src/config.json @@ -1,84 +1,111 @@ { "--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 } + { + "log_file": "/var/log/messages", + "lines": 50 + } ] - }, + }, "Jasper Reports": { - "include_top": true, + "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 } + { + "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 } + { + "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": [ - - ], + "commands": [], "logs": [ - { "log_file": "/home/arehman/Documents/Projects/Python/Maxapex/ticket_ai_flask_app/logs/*_error.log", "lines": 50 } + { + "log_file": "/home/arehman/Documents/Projects/Python/Maxapex/ticket_ai_flask_app/logs/*_error.log", + "lines": 50 + } ] }, - "Demo2": { - - "commands": [ - - ], + "commands": [], "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/a_error.log", + "lines": 50 + } ] }, - "Demo3": { - "commands": [ - { "comm": "top -b -n 1", "tag": "top" } - ], - "logs": [ - ] - }, - + { + "comm": "top -b -n 1", + "tag": "top" + } + ], + "logs": [] + }, "Demo": { - "commands": [ - { "comm": "top -b -n 1", "tag": "top" } - ], - + { + "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 } + { + "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