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

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

book

Article ID: 206204

calendar_today

Updated On:

Products

DX NetOps CA Spectrum

Issue/Introduction

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

Environment

DX NetOps Spectrum Release : All Supported Releases

Resolution

This can be resolved by editing the file:

$SPECROOT/NCM/config.xml

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 following 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.