Forum Discussion

justjonathan_15's avatar
justjonathan_15
Icon for Nimbostratus rankNimbostratus
May 04, 2016

Monitoring for a Telnet response?

Hi all,

 

Is there a way to monitor a port for a telnet response, on say port 7171?

 

If I run a normal telnet I get the usual blank screen, whereas if it fails I need a monitor to mark it as down.

 

Thanks in advance,

 

Jonathan

 

4 Replies

  • Did you tried tcp monitoring? Backend service running on port 7171 is what http? web application that need any authentication?
  • Hi there, No this isn't a web service - this is a service running over the port that doesn't give a web response.
  • BinaryCanary_19's avatar
    BinaryCanary_19
    Historic F5 Account
    I suspect you may be able to create a TCP monitor that Sends a telnet command, and check the response for something that telnet would reply (string matching).
  • You say that the server doesn't normally send anything back to the client - do you mean it connects and then waits for the client to send something, and only then returns data ? If so, then you could use a telnet monitor to send a particular string and look for a particular reply.

     

    If you only want to check whether the TCP three-way-handshake was successful, you can use a TCP monitor with no send or receive string specified. This will only test the 3WHS and nothing more.

     

    You could also potentially use a TCP half-open monitor, which sends a SYN, and marks up if it gets a SYN+ACK in reply (if the port is closed, it gets a RST).