Adding an 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 APM > Actions, then click Actions in the Actions Management tree. The Actions page appears.
  2. Click Add Action. The Edit Action page appears.
  3. Select SSH from the Action type list. The boxes for the SSH action appear.
  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.

    • Line end character. Select the appropriate character type; either None, Linefeed, Carriage return, or Carriage return linefeed.
    • 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 Save. The SSH action is added to the Actions list.

See Also

Creating an action in APM

Adding an Active Script action

Adding an E-mail action

Adding a Log-to-Text File action

Adding a Windows Event Log action

Adding a PowerShell Script action

Adding a Program action

Adding a Service Restart action

Adding an SMS action

Adding an SMS Direct action

Adding a Syslog action

Adding a VMware action