Submit a ticketCall us

whitepaperYour VM Perplexities Called, and They Need You to Read This.

Virtualization can give you enormous flexibility with future workloads and can be a key enabler for other areas, like cloud computing and disaster recovery. So, how can you get a handle on the performance challenges in your virtual environment and manage deployments without erasing the potential upside? Learn the four key areas you need to be focusing on to help deliver a healthy and well-performing data center.

Get your free white paper.

Home > Success Center > Network Configuration Manager (NCM) > NCM - Knowledgebase Articles > Generate session trace logs in NCM

Generate session trace logs in NCM

Table of contents

Updated December 12, 2018

Overview

This article provides information and steps on how to enable/disable Session Tracing feature in NCM. A session trace is a plain text file which contains all communication sent to and received from the network device NCM is trying to connect to. It is important while troubleshooting, in particularly when troubleshooting download configuration and script execution issues. The session trace contains any commands or messages sent, including errors the device has responded with.

Environment

  • NCM, all supported versions

Steps

 

To enable Session Tracing:

  1. Open the Orion Web Console.
  2. Go to:
    7.6 and older: Settings > All Settings > NCM Settings > Advanced Settings
    7.7 and newer: Settings > All Settings > Product Specific Settings > CLI Settings
  3. Select the Enable Session Tracing check box.
  4. Go to the trace log location:
    7.6 and older: C:\ProgramData\SolarWinds\Logs\Orion\NCM\Session-Trace
    7.7 and newer: C:\ProgramData\SolarWinds\Logs\Orion\CLI\Session-Trace
  5. Delete the trace files. 
  6. Reproduce the issue for a single device.
  7. Collect the latest session trace logs found in:
    7.6 and older: C:\ProgramData\SolarWinds\Logs\Orion\NCM\Session-Trace
    7.7 and newer: C:\ProgramData\SolarWinds\Logs\Orion\CLI\Session-Trace

 

To disable Session Tracing:

  1. Open the Orion Web Console.
  2. Go to:
    7.6 and older: Settings > All Settings > NCM Settings > Advanced Settings
    7.7 and newer: Settings > All Settings > Product Specific Settings > CLI Settings
  3. Clear the Enable Session Tracing check box.
  4. Go to the trace log location:
    7.6 and older: C:\ProgramData\SolarWinds\Logs\Orion\NCM\Session-Trace
    7.7 and newer: C:\ProgramData\SolarWinds\Logs\Orion\CLI\Session-Trace
  5. Delete the trace files. 

 

Notes:

  • Disable Session Tracing and delete traces when it is not in use to avoid creating unnecessary log files and overloading the Polling Engine.

  • In NCM version 7.3.2 and earlier, the use of a Windows desktop application (thick client) allowed actions to be executed. The application needs to be closed and re-opened for Session Tracing to work. 

  • Zip the Session Trace log files when sending them to the Technical Support team for investigation.
Last modified

Tags

Classifications

Public