omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    pythonista snmpget

    Pythonista
    4
    7
    2281
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • dacabemo
      dacabemo last edited by

      Hi everyone!
      Before I purchase pythonista for IOS I would like to know if is it possible to get values by snmp, as snmpget.

      I need to control the state of several equipments getting their values by snmp and today I can only get it by SSH to a Linux server and working with the values returned by this server. I'm looking the option to make it only with IOS with no more equipments and no jailbreak. I saw pythonista as a good language to interact with IOS but I cannot find if there is a snmpget script

      Thank so so much for your time!

      cvp 1 Reply Last reply Reply Quote 0
      • cvp
        cvp @dacabemo last edited by cvp

        @dacabemo I guess it should be possible with this pure Python library

        1 Reply Last reply Reply Quote 0
        • dacabemo
          dacabemo last edited by

          Thank you @cvp . Does it work with IOS-Pythonista APP or only with Python code? It seems so easy, but with IOS APP I don't know if I can install pure Python libraries ($ pip install pysnmp). I've never work before with Python, excuse me if the question is so easy. Thanks a lot again!

          1 Reply Last reply Reply Quote 0
          • JonB
            JonB last edited by

            You can install stash, then use pip. One thing you need to check is whether that library uses raw sockets. Doesn't look like it, but that would be the other thing that iOS prohibits.

            1 Reply Last reply Reply Quote 0
            • ccc
              ccc last edited by

              See comments from the author of pysnmp
              https://github.com/etingof/pysnmp/pull/321#issuecomment-550520450

              1 Reply Last reply Reply Quote 0
              • dacabemo
                dacabemo last edited by

                Thank you all for your time and comments. Thanks @JonB by solving how to use it with stash. It seems so easy. Thanks @ccc by comment away with @etingof. It’s not clear it will run on IOS devices. I understand could it work, but I suppose it should be tested. I will try to get Phytonista and test it. Again, thank you so much!

                1 Reply Last reply Reply Quote 1
                • dacabemo
                  dacabemo last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB Forums | Contributors