You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have never used SNMP for anything but monitoring, so I don't have any experience with snmpset.
Here is an idea for an API:
from hnmp import SNMP
snmp = SNMP(...)
snmp.set("1.3.6.1.2.1.1.9.1.3.1", "foo")
Note that an implementation will have to guess the type of "foo" (if it's a Python string it should probably end up as an OctetString for pysnmp). I guess there would have to be a way of forcing a particular type:
TimeTicks is the easiest, that's just a datetime.timedelta. One would have to figure out what the best default mapping for a Python integer, float, etc. would be.
Hi, are there plans for snmp set support?
Maybe I can code this for you? If so, could you provide some guidelines about realization?
Thanks in advance.
The text was updated successfully, but these errors were encountered: