Skip to content

SSH

SSH Monitor in MCT is a type of synthetic check that assesses the health and performance of SSH servers. This monitor simulates connections to SSH servers, executes commands to verify data consistency, and checks the server's overall state to ensure it is functioning as expected.

label: language:python; os:alma8

Configuration

Required

  • serverIP: the IP address of the SSH server
  • port: the port to use for the SSH connection
  • serverField2: server list with username, password, command, timeout, retry times and SSH version concated by ;
  • matchOutput: the expected output to match for the SSH command
  • logpath: the path to the log file

Optional

  • Command: the SSH command to execute for health check, default is ls
  • Expected Response: the expected response from the SSH command, default is .

Source Code
More details could be found in SSH Monitoring