AnsweredAssumed Answered

Telnet Session

Question asked by JulioCesarDominguez on Oct 11, 2018
Latest reply on Nov 2, 2018 by JulioCesarDominguez

HI, we are going to migrate some agents to a new ES. I need to check if agents connection to this new ES is fine. I saw the Telnet Session Action, but I can't make it work

 

In the agents log I can see the connection stablished:

 

2018-10-11 12:27:22,720 [job-593468-jobServer-596951-6:Telnet Session(P13723098000.F13723102000.E13723103000):Telnet Session] DEBUG (com.nolio.platform.shared.executables.actions.TelnetAction:86) - Telnet Connection has no user name nor password. wait for prompt
2018-10-11 12:27:22,720 [TelnetConnector] INFO (com.nolio.platform.shared.executables.actions.TelnetConnector:69) - Starting TelnetConnector for [10.75.248.65:6600]
2018-10-11 12:27:37,782 [job-593468-jobServer-596951-6:Telnet Session(P13723098000.F13723102000.E13723103000):Telnet Session] INFO (com.nolio.platform.shared.executables.actions.TelnetConnector:172) - HHello! NiMi here. Node type: SUPER_NODE You come from /10.75.253.39:2704
2018-10-11 12:27:37,782 [job-593468-jobServer-596951-6:Telnet Session(P13723098000.F13723102000.E13723103000):Telnet Session] INFO (com.nolio.platform.shared.executables.actions.TelnetConnector:214) - Telnet client disconnecting - should run set to false
2018-10-11 12:27:37,798 [TelnetConnector] DEBUG (com.nolio.platform.shared.executables.actions.TelnetConnector:118) - Done reading, should run is false
2018-10-11 12:27:37,845 [job-593468-jobServer-596951-6:Telnet Session(P13723098000.F13723102000.E13723103000):Telnet Session] INFO (com.nolio.platform.shared.executables.actions.TelnetConnector:238) - Stopping TelnetConnector ...
2018-10-11 12:27:37,845 [job-593468-jobServer-596951-6:Telnet Session(P13723098000.F13723102000.E13723103000):Telnet Session] INFO (com.nolio.platform.shared.executables.actions.TelnetConnector:253) - TelnetConnector stopped. It took 0 seconds to stop the telnet client
2018-10-11 12:27:37,845 [job-593468-jobServer-596951-6:Telnet Session(P13723098000.F13723102000.E13723103000):Telnet Session] INFO (com.nolio.platform.shared.executables.actions.TelnetAction:113) - Failed to login telnet host [10.75.248.65] on port [6600] Check supplied credentials and prompts..
2018-10-11 12:27:37,845 [job-593468-jobServer-596951-6:Telnet Session(P13723098000.F13723102000.E13723103000):Telnet Session] INFO (com.nolio.platform.shared.datamodel.Action:334) - ------------------------Finished action [Telnet Session(P13723098000.F13723102000.E13723103000):Telnet Session] result [false, Failed to login to Telnet Host. , ]-

 

.

But the action is failing.

 

What I need is to check whether a remote port is listening  or not ( like telnet "remote ip" "remote port")

 

Thanks.

Outcomes