Pulling Telnet Banner or Information?

Hey guys first post on here, and I just found The Dude today and compared to some of the other software i have found i love the ability to customize it however we want…this has made me very happy and hopefully now i won’t have to spend thousands of dollars on some network monitoring software.

Anyways I played around with it today and found out that a bunch of my old routers do not have SNMP but they do support telnet logins. What I would like to do is to see if it is possible to create a probe to login to telnet (all un/pw are the same) and pull the LLDP neighbor information or even if I could just pull the telnet banner that would help to determine where each device is located.

The banner looks like this:

My Router
Name: DeviceID (unique to each site)
Location: HWY112-MM12

I would like to try and pull the location from the banner to determine where each device is at rather than going through each individual one but i can’t seem to find too much documentation on it.

Can someone tell me if this is possible, and if so, can you point me in the right direction on what i should be reading up on or what syntax to follow? I was looking at the probe and using the telnet port with send and receive but i don’t know what syntax i need to use for that and i’ve only found it for HTTP and SSH. Does anybody know or have any sites that explain what type of syntax i should be using?

I’m a system administrator for both Windows and Linux servers and have experience with PHP, Python, and Ruby so picking up on the syntax or a new programming language shouldn’t be hard i just don’t know where to look :open_mouth:

Any help is greatly appreciated, thanks guys!

These are the site’s i’ve found so far:
http://wiki.mikrotik.com/wiki/Quick_guide_to_a_good_probe
http://wiki.mikrotik.com/wiki/Custom_probe_settings
http://wiki.mikrotik.com/wiki/Getting_started_with_Functions_and_probes

Welcome to the world of The Dude. You will not be disappointed with what it can do - I see you have already discovered the fantastic potential that it has. I have used a few different monitoring applications (some very expensive, some not so much, some free) but nothing else I have used is as versatile and easy to set up as The Dude. One thing it does lack is a comprehensive manual but this forum fills the gap pretty well. I can’t help you with the syntax for the TCP send/receive probe but if you have a third-party tool that will establish a Telnet connection and return the Banner (maybe just a cmd shell?) you could probably use an execute() function probe to do what you want.

I started a thread not long ago regarding writing an execute() function probe and ended up getting some very useful advice.

I would have to agree that going the execute() route is going to be much faster at first but why not try to figure out if you can change your software on your routers to support SNMP? There is much more you can do and will want to know as soon as you can use SNMP. Anyhow what model and version of routers do you have? Can you upgrade them to DD-WRT or Tomato?