Execute command via SSH2 action
The SSH2 action executes a command on a SSH2 server. Optionally the action can be configured to use the telnet protocol instead.
Parameters
- Alarm number - The alarm count this action triggers on.
- Connect to -
Monitor host
orSpecific host
. If specific host, enter the Hostname. - Host name - Host name or IP number. Leave blank to use the address of the asset.
- Connection type -
SSH
orTelnet
. If telnet, ensure telnet parameters are correctly configured using the Network Monitor Settings > Other system settings > Monitor defaults tab.Warning: Remember that telnet is not encrypted and the username/password is sent in clear text.
- Command - Command to execute. The following formatting variables can be included when specifying a command.
%[asset.name]
- asset name%[monitor.name]
- monitor name%[asset.ip]
- asset address
- Port - Port number that SSH2 server is listening on.
- Credentials -
Monitor credentials
orStored credentials
. - Inherit credentials - If stored credentials is selected, the Inherit credential option displays. If checked, inherits credentials from the asset. If blank, enter action-specific credentials.
- Domain or Computer/Username/Password - Credential used to authenticate access for this action.