Adding and editing an SSH Active Monitor
The Secure Shell (SSH) monitor connects to a remote device using SSH to execute commands or scripts. The success or failure of the monitor is dependant upon values returned by the commands or scripts that can be interpreted by WhatsUp Gold as up or down.
To add a new SSH active monitor:
- From the WhatsUp Gold web interface, go to . The Monitor Library dialog appears.
- Click the tab. The Active Monitor list appears.
- Click . The Select Active Monitor Type dialog appears.
- Select , then click . The New SSH Active Monitor dialog appears.
- Enter or select the appropriate information:
- . Enter a unique name for the active monitor. This name displays in the Active Monitor Library.
- . (Optional) Enter additional information about the monitor. This description displays next to the monitor in the Active Monitor Library.
- . Enter the command you want to run and execute 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.
: 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.
- Either Contains or Does not contain. Select the appropriate output criteria. For example, if you are checking to see that a specific network connection is present on the remote device, you would select that the output contains that specific connection. If the network connection you specify is not present when the monitor checks, the monitor is considered down.
- . Select this option to have WhatsUp Gold use regular expression when searching for the output of command or script. If you do not choose to use regular expression, WhatsUp Gold looks for specific text outputs, rather than outputs including a regular expression.
- . 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 to which the monitor is assigned. If the appropriate SSH credential is not listed, or the device has no SSH credentials are assigned, browse () to the WhatsUp Gold Credentials Library to configure a set of credentials.
- Click to save changes.
- After configuring an active monitor in the Active Monitor Library, add the monitor to devices.
To edit an existing SSH active monitor:
- From the WhatsUp Gold web interface, go to . The Monitor Library dialog appears.
- Click the tab. The Active Monitor list appears.
- Select the monitor you would like to edit, then click . The Edit SSH Active Monitor dialog appears.
- Enter or select the appropriate information:
- . Enter a unique name for the active monitor. This name displays in the Active Monitor Library.
- . (Optional) Enter additional information about the monitor. This description displays next to the monitor in the Active Monitor Library.
- . Enter the command you want to run and execute 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.
: 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.
- Either Contains or Does not contain. Select the appropriate output criteria. For example, if you are checking to see that a specific network connection is present on the remote device, you would select that the output contains that specific connection. If the network connection you specify is not present when the monitor checks, the monitor is considered down.
- . Select this option to have WhatsUp Gold use regular expression when searching for the output of command or script. If you do not choose to use regular expression, WhatsUp Gold looks for specific text outputs, rather than outputs including a regular expression.
- . 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 to which the monitor is assigned. If the appropriate SSH credential is not listed, or the device has no SSH credentials are assigned, browse () to the WhatsUp Gold Credentials Library to configure a set of credentials.
- Click to save changes.