Submit a ticketCall us

Webinar: Web Help Desk for HR, Facilities and Accounting Departments
This webinar will focus on use cases for HR, Facilities and Accounting.

Having a unified ticketing and asset management system for all the departments in your company can provide end-users with a seamless experience and make things easier for your IT team. Yet, with different business tasks and objectives, many departments don’t fully understand the capabilities of Web Help Desk and how the software can be customized for effective use in their departments.
Register Now.

Home > Success Center > Network Configuration Manager (NCM) > NCM 7.7 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_ret on Oct 03, 2016

Views: 177 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