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
-
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!
-
-
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!
-
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.
-
See comments from the author of pysnmp
https://github.com/etingof/pysnmp/pull/321#issuecomment-550520450 -
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!
-
This post is deleted!