Pulling Debug Log files from a monitoring point with SSH
To enable SSH, reference KB: How to enable SSH on AppNeta monitoring points
When Debug Logs are not easily retrieved by USB or MP is not connected to NIS.
1. Create required folders and generate tarball:
Commands:
mkdir /tmp/debug
cd /tmp/debug
sudo /opt/pathview/scripts/debugRetrieval.sh
sudo tar czvf ${HOSTNAME}_debug_logs.tar.gz debugOutput
After entering the debugRetrieval.sh command, you may be prompted for the admin password.
Please note this command may take over a minute to run.
2. Verify tarball in directory:
Command:
ls
Example:
3. MAC/Linux - run scp on local machine to copy tarball from MP to present working directory:
Command:
scp admin@<mp-ip/name>:/tmp/debug/<debugoutputfilename>.tar.gz ./
**Windows Users can use WinSCP to move files to local machine**
4. Attach the TAR/ZIP file into your AppNeta Support ticket as requested.
If required - unzip tarball file to present working directory (debugOutput Folder):
Command:
tar xzvf <debugoutputfilename>.tar.gz -C ./