Submit a ticketCall us

Looking to compare latest NPM features with previous versions of NPM?
The NPM new feature summary offers a comparison of new features and improvements offered with this release.

 

Home > Success Center > Network Configuration Manager (NCM) > NCM 7.6 Administrator Guide > Configuration files > Execute a script on a node

Execute a script on a node

Table of contents
Created by Caroline Juszczak, last modified by Anthony.Rinaldi on Oct 03, 2016

Views: 76 Votes: 2 Revisions: 4

This resource is available to users with the WebUploader, Engineer, or Administrator role.

The script you execute must be saved as a text file that can be uploaded from the client computer. For more information about creating command scripts, see Creating an executable command script.

  1. Click My Dashboards > Configs > Configuration Management.

    If you do not have administrator privileges you may not be able to see some nodes. Your account must at least have the WebDownloader role to download configs, and the WebUploader role to execute a script against nodes.

  2. Select one or more nodes.
  3. Click Execute Script.
  4. Select a script to execute or click Load Script from File, and locate it in the file system.

    You can specify a delay in seconds inside a script. A delay is the time SolarWinds NCM waits before sending the next command. The following is a sample script that includes a delay:

    {Command 1}
    ${Delay:20}
    {Command 2}

    This feature is useful, for example, when uploading a flash image. Some time is required for the formatting of the flash to complete before then performing the image upload.

  5. Select script options at the bottom if necessary.
  6. Click Execute.

View the results

  1. Click My Dashboards > Configs > Configuration Management.
  2. Click Transfer Status.
  3. In the Action column, locate the most recent entry labeled Execute Script.
  4. Click Show Script Results in the Status/Details column.

If execution fails, see Troubleshoot script execution. Alternatively, try executing the script by creating a job.

 

Last modified
10:45, 3 Oct 2016

Tags

Classifications

Public