Python Forum
telnet from ssh tunnel
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
telnet from ssh tunnel
#3
Would SNMP not be a better option for this?

Chances are if you run an snmpwalk against it's top level you will find the temperature in a MIB somewhere. Wrapping this in some python is easy.

Here is a super simple example of reading a list of data from SNMP. I'm sure you can adapt it.

https://gitlab.com/paulcam/home_heating/...er/snmp.py

This might also help:
https://community.ui.com/questions/SNMP-...d1438c2898
Reply


Messages In This Thread
telnet from ssh tunnel - by oldfart - Aug-10-2019, 09:52 AM
RE: telnet from ssh tunnel - by DeaD_EyE - Aug-10-2019, 06:44 PM
RE: telnet from ssh tunnel - by venquessa - Sep-02-2019, 12:59 PM
RE: telnet from ssh tunnel - by noobami99 - Jul-17-2020, 02:28 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  ssh tunnel connection dropped with Python achille 0 2,140 Jun-27-2021, 06:44 PM
Last Post: achille
  telnet to a device under tacacs management kang18 0 1,562 Jun-05-2020, 06:11 AM
Last Post: kang18
  Building SSH tunnel? searching1 0 1,605 Apr-17-2020, 08:39 PM
Last Post: searching1
  3.6 telnet eyler 3 11,265 Jun-28-2019, 05:22 AM
Last Post: Khanhamid90
  Any suggestion on python library to use for both ssh and telnet? lord_mani 4 3,731 Jun-25-2019, 04:07 PM
Last Post: gb74razor
  telnet question jacklee26 2 2,487 Mar-30-2019, 06:45 AM
Last Post: jacklee26
  Retrieve output from telnet command Networker 1 4,099 Mar-12-2019, 01:36 PM
Last Post: searching1
  Aggregate multiple telnet connections Jibeji 1 4,259 Mar-02-2018, 07:21 PM
Last Post: mpd
  Multithread telnet not working Parallel anna 7 7,447 Feb-05-2018, 01:17 PM
Last Post: anna
  Python telnet script for IP list mangesh 1 59,618 Jun-26-2017, 11:12 PM
Last Post: DeaD_EyE

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020