Configuring System Scripts

To add a new default script:

  1. Go to the System Script Library (SETTINGS menu > Configuration Management > System Script Library). The System Script Library displays.
  2. Click 'add' (). The New Configuration Management System Script dialog displays. Use the dialog options to modify the script as desired.
  3. Enter a Description for the script. This description is displayed in the default script library to differentiate the script from other scripts.
  4. In the Keys section of the dialog, click 'add' () to add a new OID or IP key and value.
  5. Select a Script Type. Select to create one of the following:
    • BackupStartupConfig. Create a script to backup a device's startup config file.
    • BackupRunningConfig. Create a script to backup a device's running config file.
    • UploadStartupConfig. Create a script to upload a device's startup config file.
    • UploadRunningConfig. Create a script to upload a device's running config file.
    • TelnetPasswordAdd. Create a script to add a new Telnet password to a device.
    • TelnetPasswordEdit. Create a script to edit a device's Telnet password.
    • TelnetPasswordDelete. Create a script to delete a device's Telnet password.
    • SshPasswordAdd. Create a script to add a new SSH password to a device.
    • SshPasswordEdit. Create a script to edit a device's SSH password.
    • SshPasswordDelete. Create a script to delete a device's SSH password.
    • SnmpPasswordAdd. Create a script to add a new SNMP password to a device.
    • SnmpPasswordEdit. Create a script to edit a device's SNMP password.
    • SnmpPasswordDelete. Create a script to delete a device's SNMP password.
    • CustomScript. Create a custom script type.
    • TftpBackupStartupConfig. Create a script to backup a device's TFTP startup config file.
    • TftpBackupRunningConfig. Create a script to backup a device's TFTP running config file.
    • UploadStartupConfig_REBOOT. Create a script to upload a startup config for a device in order to reboot that device.
    • SecureUploadStartupConfig. Create a script to upload a startup config file for a device using either SCP or SFCP.
    • SecureUploadRunningConfig. Create a script to upload a running config file for a device using either SCP or SFCP.
  6. Enter the Script Text.
  7. Click OK to save changes.

To modify an existing system script:

Note: You cannot modify default system scripts provided by Configuration Management. You can only modify system scripts that you and other Network Performance Monitor users have configured for use on your network.

  1. Go to the System Script Library (SETTINGS menu > Configuration Management > System Script Library). The Default Script Library appears.
  2. Select an existing script, then click 'edit' (). The Edit Configuration Script dialog appears. Use the dialog options to modify the script as desired.
  3. Enter a Description for the script.
  4. In the Keys section of the dialog, click 'add' () to add a new OID or IP key and value.

    - or -

    Select an existing Key, then click 'edit' () or 'delete' () to modify or remove the key value.

  5. Select a Script Type. For a complete listing of available script types, see the previous section, To add a new default script.
  6. Enter or modify the Script Text as needed.
  7. Click OK to save changes.

To copy an existing script to modify for a new script:

  1. Go to System Script Library (SETTINGS menu > Configuration Management > System Script Library). The Default Script Library displays.
  2. Select an existing script, then click Copy. The New Configuration Script dialog displays with a copy of the existing script. Use the dialog options to modify the script as desired.
  3. Enter a Description for the script.
  4. In the Keys section of the dialog, click 'add' () to add a new OID or IP key and value.

    - or -

    Select an existing Key, then click 'edit' () or 'delete' () to modify or remove the key value.

  5. Select a Script Type. For a complete listing of available script types, see the previous section, To add a new default script.
  6. Enter or modify the Script Text as needed.
  7. Click OK to save changes.

See Also

Leveraging and Customizing System Scripts

System Script Library

Importing and Exporting System Scripts