Creating log files for technical support: Difference between revisions

From wiki.comcert.com
Jump to navigation Jump to search
(Created page with " Introductions In most cases, TAC will need a set of log files from nGeniusONE Server to troubleshoot problems. It is recommended to create these log files immediately after...")
 
No edit summary
Line 1: Line 1:


Introductions
== <span style="font-family:verdana,geneva,sans-serif;">Introduction</span> ==


In most cases, TAC will need a set of log files from nGeniusONE Server to troubleshoot problems.
<span style="font-family:verdana,geneva,sans-serif;">In most cases, TAC will need a set of log files from nGeniusONE Server to troubleshoot problems.</span>


It is recommended to create these log files immediately after the problem has risen and send them to TAC as soon as possible by attaching them to the ticket during creation.
<span style="font-family:verdana,geneva,sans-serif;">It is recommended to create these log files immediately after the problem has risen and send them to TAC as soon as possible by attaching them to the ticket during creation.</span>


&nbsp;
&nbsp;


Solution
== <span style="font-family:verdana,geneva,sans-serif;">Solution</span> ==


Using an SSH claint of our choice, login to nGeniusONE Server CLI.
<span style="font-family:verdana,geneva,sans-serif;">Using an SSH claint of our choice, login to nGeniusONE Server CLI.</span>


Move to the folder /opt/NetScout/rtm/cd ..
<span style="font-family:verdana,geneva,sans-serif;">Move to the folder /opt/NetScout/rtm/bin/</span>
<pre><span style="font-family:verdana,geneva,sans-serif;"># cd /opt/NetScout/rtm/bin/</span></pre>
 
<span style="font-family:verdana,geneva,sans-serif;">Run the script named&nbsp;''techsupp.sh'' with the option ''norm'' or ''html''</span>
 
*<span style="font-family:verdana,geneva,sans-serif;">norm: places compressed logs in /opt/NetScout/rtm/bin&nbsp;</span>
*<span style="font-family:verdana,geneva,sans-serif;">html: places compressed logs in /opt/NetScout/rtm/html&nbsp;and allows them to be downloaded remotely via&nbsp;a web browser by navigating to https://<IP-NGS>:8080/logfiles.html</span>
 
&nbsp;
<pre><span style="font-family:verdana,geneva,sans-serif;"># ./techsupp.sh norm</span></pre>
 
<font face="verdana, geneva, sans-serif">Should output:</font>
<pre><font face="verdana, geneva, sans-serif">Gathering log files... This may take a minute. Please wait...
Running SQL Against nGenius Database
[09:33:35]Debug:Debug initialized (level  3), logging disabled
[09:33:35]ConnectionPoolImpl:Initialized connection Pool size, count :  0
[09:33:35]Scheduler:schedule poller task com.netscout.frameworks.dbx.ConnectionPoolImpl@2e0fa5d3 at a rate 900
[09:33:35]ConnectionPool:Creating  ConnectionPool Default Instance
[09:33:35]nGeniusSQL:sql: select E.mel_ip, D.serial_number from device_details D, monitored_elements E where D.mel_id = E.mel_id</font>
 
<font face="verdana, geneva, sans-serif">Output File: <IP-NGS>.NNNNNNNNNN.profile.txt
==========================================
Gathering logs completed
Location: /opt/NetScout/rtm/bin
Filename: YYYYMMDD-HHMM-<hostname>-PMlogs.tar.gz
==========================================</font>
</pre>
 
Now remove the archive from the server and send it to TAC.


&nbsp;
&nbsp;

Revision as of 07:40, 2 April 2018

Introduction

In most cases, TAC will need a set of log files from nGeniusONE Server to troubleshoot problems.

It is recommended to create these log files immediately after the problem has risen and send them to TAC as soon as possible by attaching them to the ticket during creation.

 

Solution

Using an SSH claint of our choice, login to nGeniusONE Server CLI.

Move to the folder /opt/NetScout/rtm/bin/

<span style="font-family:verdana,geneva,sans-serif;"># cd /opt/NetScout/rtm/bin/</span>

Run the script named techsupp.sh with the option norm or html

  • norm: places compressed logs in /opt/NetScout/rtm/bin 
  • html: places compressed logs in /opt/NetScout/rtm/html and allows them to be downloaded remotely via a web browser by navigating to https://<IP-NGS>:8080/logfiles.html

 

<span style="font-family:verdana,geneva,sans-serif;"># ./techsupp.sh norm</span>

Should output:

<font face="verdana, geneva, sans-serif">Gathering log files... This may take a minute. Please wait...
Running SQL Against nGenius Database
[09:33:35]Debug:Debug initialized (level  3), logging disabled
[09:33:35]ConnectionPoolImpl:Initialized connection Pool size, count :  0
[09:33:35]Scheduler:schedule poller task com.netscout.frameworks.dbx.ConnectionPoolImpl@2e0fa5d3 at a rate 900
[09:33:35]ConnectionPool:Creating  ConnectionPool Default Instance
[09:33:35]nGeniusSQL:sql: select E.mel_ip, D.serial_number from device_details D, monitored_elements E where D.mel_id = E.mel_id</font>

<font face="verdana, geneva, sans-serif">Output File: <IP-NGS>.NNNNNNNNNN.profile.txt
==========================================
Gathering logs completed
Location: /opt/NetScout/rtm/bin
Filename: YYYYMMDD-HHMM-<hostname>-PMlogs.tar.gz
==========================================</font>

Now remove the archive from the server and send it to TAC.