Using the SSH Action
This action connects to remote devices via SSH to execute commands or scripts.
To configure an SSH Action:
- Go to the Action Library:
- From the web interface, click . The GO menu appears.
- If the WhatsUp section is not visible, click . The WhatsUp section of the GO menu appears.
- Select . The Action Library appears.
- or -
- From the main menu bar of the console, select . The Action Library appears.
- In the Action Library, do one of the following:
- Click , then select .
- or -
- Select an existing SSH Action, then click .
- Enter or select the appropriate information in the following fields.
- . Enter a name for the action. This name is displayed in the Action Library.
- . Enter a short description for the action. This description is displayed next to the action name in the Action Library.
- . Enter the IP address of the device to which you want to connect using SSH.
: You can enter %Device.Address
into the IP Address field, however, an SSH action that doesn't specify a specific IP address in this field is not available in the Recurring Actions wizard.
- . Enter the command to be ran and executed on the remote device. This command can be anything that the device can interpret and run; for example, a basic Unix command or a Perl script.
: 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.
- . Select the appropriate SSH credential that WhatsUp Gold will use 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.
- Click to return to the action properties dialog.
- Click to save changes.