Retrieving Debug Monitoring Point Logs - SSH
search cancel

Retrieving Debug Monitoring Point Logs - SSH

book

Article ID: 246405

calendar_today

Updated On:

Products

AppNeta DX NetOps

Issue/Introduction

Pulling Debug Log files from a monitoring point with SSH

To enable SSH, reference KB: How to enable SSH on AppNeta monitoring points

Cause

When Debug Logs are not easily retrieved by USB or MP is not connected to NIS.

Resolution

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

Example:

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. If required - unzip tarball file to present working directory (debugOutput Folder):

Command: tar xzvf <debugoutputfilename>.tar.gz -C ./