Generating a Troubleshooting Package
ThreatQ allows you to generate a troubleshooting package using the TQAdmin tool. The troubleshooting package contains multiple system logs that ThreatQ Support can use to identify issues and determine next steps for resolution.
Troubleshooting Package
- Access the ThreatQ host command line via SSH or console.
- Change directories:
cd /var/www/api/
- Run the following command:
sudo php artisan threatq:get-debug-info
The command for getting hardware info (hwinfo) may not be installed. In this case, an error message is shown, but the execution is not affected.
You may get a tar notification about the laravel.log file being modified as it is read, this does not affect the process outcome.
The process creates a file named
debug_info.tar.zip
in /var/tmp/. - Send the file to ThreatQ Support and remove it from the host to conserve disk space.
TQAdmin requires elevated privileges and must be run as root.
The TQAdmin troubleshooting package contains the following log files:
|
|
- Access the ThreatQ host command line via SSH or console.
- Run the following command:
tqadmin troubleshoot full
This command tars /var/log/threatq, bundles it with the troubleshoot package and sends the output to /tmp.
You can add the
--upload
parameter to upload the troubleshooting package to the ThreatQ support site. - Send the file to ThreatQ Support and remove it from the host to conserve disk space.
If you untar the troubleshooting package, the system creates a tmp/systemCheck directory which contains the contents of the zip.