Skip to content

Port

Port Monitor in MCT is a type of synthetic check that simulates telnet to connect server port via TCP connection and send message to server if configured. This monitor assesses the reachability and responsiveness of a target server port.

label: language:golang; os:alma8

Configuration

Zone Level

  • Zone Group: Generic
  • Zone Type: Generic Port Monitoring Zone
  • Key Zone: default value, optional
  • Location Scope: default value, optional

Server Level

  • Instance Type: default value, optional
  • Pool Name: empty value, optional
  • Check IPAddress: the target IP address
  • Check Hostname: the target hostname, optional
  • Port: port to be connected, multiple ports should be split by ,
  • Concurrency: amount of ports to be tested at one time, optional
  • Send Data: message to be sent to target server, keep it empty if no data, optional
  • Positive Match: value to be matched in response, test pass if response from all configured ports contains positive match, optional
  • Negative Match: value to be matched in response, test failure if response from all configured ports contains negative match, optional
  • Timeout: timeout of connecting server, sending message and receiving message, optional
  • Retries: test retries, optional

Source Code