Spectrum NCM is not able to capture large configurations in full due to a timeout

book

Article ID: 206204

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

Spectrum NCM is not able to capture large configurations in full due to a timeout.

Environment

Release : 10.4.x

Component : Spectrum Applications

Resolution

This can be resolved by editing the <SPECROOT>/NCM/config.xml file.

First, you will need to change the ssh-library-type to jsch by changing the below entry from:

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

to:

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

 

Next, the below parameters will control what is being used for this timeout.

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

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

 

For large configurations, you may need to increase the jsch-read-datawait and jsch-read-datawait-mutipler values in order to capture the full configuration.

An example of the settings for a configuration containing over 80,000 lines:

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

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

 

Once the file is saved, the NCM service does need to be restarted in order for the changes to take effect.

Additional Information

Certain firewall devices such as F5 or Cisco ASA may have these large device configurations.