Configuring system scripts

To add a new default script:

  1. On the WhatsUp Gold web interface, go to Configured > System Script Library. The System Script Library appears.
  2. Click New. The New WhatsConfigured System Script dialog appears. 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.
    • TelnePasswordDelete. 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 WhatsConfigured. You can only modify system scripts that you and other WhatsUp Gold users have configured for use on your network.

  1. On the WhatsUp Gold web interface, go to WhatsConfigured > 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. 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.

    - 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. On the WhatsUp Gold web interface, go to WhatsConfigured > System Script Library. The Default Script Library appears.
  2. Select an existing script, then click Copy. The New Configuration Script dialog appears with a copy of the existing script. 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.

    - 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

Using the System Script Library

About the System Script Library

Importing and exporting system scripts