Looking for NCM script debug output
search cancel

Looking for NCM script debug output

book

Article ID: 204037

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

We are building out new scripts for capturing running and startup configs on devices and we are having trouble finding the debug output for those scripts to complete the initial tests. How can we enable debug on these scripts?

Environment

Release : 20.2

Component : Spectrum Core / SpectroSERVER

Resolution

Enable NCM capture debug

- Naviagate to <SPECROOT>NCM
- edit the config.xml file
- Below are the following parameters listed to enable the debug from "off" to "on".

<debugging type="java.lang.String">off</debugging>

<print-config type="java.lang.String">off</print-config>

<print-script type="java.lang.String">off</print-script>

<tries type="java.lang.Integer">3</tries>

<thread-timeout-value type="java.lang.Integer">3600</thread-timeout-value>

<diff-largefile type="java.lang.String">off</diff-largefile>

<ssh-library type="java.lang.String">mindterm</ssh-library>

<jsch-read-datawait type="java.lang.Integer">5</jsch-read-datawait>

<jsch-read-datawait-mutipler type="java.lang.Integer">4</jsch-read-datawait-mutipler>

</root>

- Save the configuration file, and then restart the ncmservice for the changes to take affect. You can disable the debug by setting the "on" to "off" within the parameter, and then restarting the ncmservice once again. 

- attempt a capture and review the <SPECROOT>/NCM/logs/debug files 
- also review the ncmservice log at <SPECROOT>/NCM/NCMSERV.OUT