NCM capture issues after upgrading Spectrum to 10.4.2 with custom scripts
search cancel

NCM capture issues after upgrading Spectrum to 10.4.2 with custom scripts

book

Article ID: 199461

calendar_today

Updated On:

Products

Spectrum Network Observability

Issue/Introduction

After upgrading to Spectrum 10.4.2, we are receiving strange behavior with NCM Custom Scripts that were working correctly in Spectrum 10.4.1

Some of these issues that we have noticed include:

1) The first line of the config is not captured. 
2) Banners in configs with blank lines are now shown as a difference with the last config, but nothing has changed.

Environment

Release : 20.2 / 10.4.2

Component : Spectrum Applications NCM

Cause

In Spectrum 10.4.2 custom scripts execution is done by NCM service. Before 10.4.2, custom scripts were executed by SRAdmin. 

Resolution

Steps to enable script execution using SRAdmin in 10.4.2: 
1. Select the Configuration Manager in the Explorer tab. Select the Attributes tab.
2. Search for useSRAdminForScriptExecution attribute and make it yes. 

Afterwards, the scripts should function the same way they have done previously.

Additional Information

This will be resolved in the March 2021 release of Spectrum.