Run telnet using Discovery

Community Alums
Not applicable

Hey guys,

Just wondering if we can run TELNET from the MID server? I created a couple of records in the ECC queue and it works fine, but telnet is failing.

 

The idea is to read the data returned by the telnet command via a sensor.

5 REPLIES 5

Mark Skinner
Mega Guru

Hi,

 

Have you confirmed the port can be used on your midserver, have you manually tried to telnet to another machine? Discovery does support Telnet.

 

If it is not working you may need to check your firewall rules also.

 

Thanks

Mark

 

If this has been heplful please mark as so, if this answered your quetion please mark as Correct.

doug_schulze
ServiceNow Employee
ServiceNow Employee

Fortunately/Unfortunately we do not have the ability to execute a telnet session to discover devices. Please see the supported ports to know how we can talk to devices. So you would have to have already seen the device with WMI, SSH, SNMP, CIM, or HTTP(s).. after that then yeah you probably could script out a telnet connection to a device but it would have to run on the mid server and feed the script's variables dynamically.. Or since you already have talked to it through one of the protocols then, may as well continue using them..

Hi Doug, 

just for my learning, the ServiceNow documentation states that Telnet is supported, but you are saying it is not. See the below 

find_real_file.png

 

find_real_file.png

Could you elaborate on this?

Thanks

Mark

Good catch! Yes, we can support the execution of telnet connections as I tried to explain in the second half of the original reply. If it's on the list (that I didn't catch) it can be done... But when looking at the initial aspects of discovery, specifically the port scanning and classification phases, I don't see it happening.