How to gather sandbox-debug-report from terminal [KATA/KEDRE]
This article is fully applicable to KSB 2.0 server as well
You may want to gather KATA Sandbox diagnostics via SSH, without accessing Web UI. Here's how to do it.
Step-by-step guide
Login to Sandbox via SSH and become root
. Then, execute the command:
Produce collect
sb-logs --create '/tmp' '-7'
chmod 777 /tmp/sandbox-debug-report*
|
sandbox-debug-report%timestamp%.tar.gz
archive will be created in /tmp
directory. Its name will be printed in the output, .e.g
/tmp/sandbox-debug-report.2022-12-13.2022-12-20.tar.gz
Use this full path as input for local scp to download it:
Retrieve using scp
scp admin @SB_IP :/tmp/path/to/sandbox-debug-report
|
0 Comments
Recommended Comments
There are no comments to display.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now