Submit a ticketCall us

Have You Auto Renewed? If not, you're missing out.
The SolarWinds Renewal Program comes with a host of benefits including the most recent product updates, 24/7 technical support, virtual instructor-led training and more. Experience all of this with the convenience of Auto Renewal, and never worry about missing any of these great benefits. Learn More.

Home > Success Center > Network Configuration Manager (NCM) > NCM replaces characters in the config change template with a white space

NCM replaces characters in the config change template with a white space

Updated March 16, 2017

Overview

When issuing a command with an NCM config change template containing \t, \s, \r or \n, NCM replaces it with a space and not the actual text.

Environment

NCM 7.4 and later

Cause

In the configuration change template, when using scripts that contain what could potentially be recognized as a regular expression to account for white space, such as \t ,\s,  \n or \r, the script adds the white space.

For example:

http://someurl/OperatingSystems/Juni...5-domestic.tgz /var /tmp/

The /tmp is replaced with … tgz /var mp/, removing the /t and replacing it with a white space.

Resolution

  1. From the config change template used on the web, select the template and click Advanced Modify.
  2. Select Preserve white space.
  3. Save.

NCM now treats the characters as regular text and not a regular expression.

 

Last modified

Tags

Classifications

Public