Adding and editing a SSH Action

The SSH action connects to remote devices via SSH to execute commands or scripts.

To add a new SSH action:

  1. From the WhatsUp Gold web interface, go to Admin > Actions. The Action Library appears.
  2. Click New. The Select Action Type dialog appears.
  3. Select SSH Action, then click OK. The New SSH Action dialog appears.
  4. Enter or select the appropriate information:
    • Name. Enter a unique name for the action. This name displays in the Action Library.
    • Description. (Optional) Enter additional information about the action. This description displays next to the action in the Action Library.
    • IP address. Enter the IP address of the device to which you want to connect using SSH.

    Note: You can enter %Device.Address into the IP Address field; however, an SSH action that does not specify a specific IP address in this field is not available in the Recurring Actions wizard.

    • Command to run. Enter the command to be run and executed on the remote device. This command can be anything that the device can interpret and run; for example, a Unix shell command or a perl script.

    Note: If you create a script to run on the remote device, the script must be developed, tested, and/or debugged on the remote machine. WhatsUp Gold does not support manipulation of the remote script.

    • SSH credential. Select the appropriate SSH credential that WhatsUp Gold uses to connect to the remote device. If you select Use the device SSH credential, WhatsUp Gold uses the SSH credential assigned to the device for which the IP address is listed above. If the appropriate SSH credential is not listed, or the device has no SSH credentials assigned, browse (...) to the WhatsUp Gold Credentials Library to configure a set of credentials.
  5. Click OK to save changes.

To edit an existing SSH action:

  1. From the WhatsUp Gold web interface, go to Admin > Actions. The Action Library dialog appears.
  2. Select the action you would like to edit, then click Edit.
  3. Enter or select the appropriate information:
    • Name. Enter a unique name for the action. This name displays in the Action Library.
    • Description. (Optional) Enter additional information about the action. This description displays next to the action in the Action Library.
    • IP address. Enter the IP address of the device to which you want to connect using SSH.

    Note: You can enter %Device.Address into the IP Address box; however, an SSH action that does not specify a specific IP address in this box is not available in the Recurring Actions wizard.

    • Command to run. Enter the command to be run and executed on the remote device. This command can be anything that the device can interpret and run; for example, a Unix shell command or a perl script.

    Note: If you create a script to run on the remote device, the script must be developed, tested, and/or debugged on the remote machine. WhatsUp Gold does not support manipulation of the remote script.

    • SSH credential. Select the appropriate SSH credential that WhatsUp Gold uses to connect to the remote device. If you select Use the device SSH credential, WhatsUp Gold uses the SSH credential assigned to the device for which the IP address is listed above. If the appropriate SSH credential is not listed, or the device has no SSH credentials assigned, browse (...) to the WhatsUp Gold Credentials Library to configure a set of credentials.
  4. Click OK to save changes.

See Also

Configuring an action

Adding and editing an Active Script Action

Adding and editing a Beeper Action

Adding and editing an Email Action

Adding and editing a Log to Text File Action

Adding and editing a Pager Action

Adding and editing a PowerShell action

Example - PowerShell action scripts

Adding and editing a Program Action

Adding and editing a Service Restart Action

Adding and editing a SMS Action

Adding and editing a SMS Direct Action

Adding and editing a SNMP Set Action

Adding and editing a Sound Action

Adding and editing a Syslog Action

Adding and editing a Text-To-Speech Action

Adding and Editing a VMware Action

Adding and Editing a Web Alarm Action

Adding and Editing a Windows Event Log Action

Using the WinPopup Action