puresnmp
puresnmp copied to clipboard
Pure Python SNMPv2 Library
Repro: ``` oid = ObjectIdentifier(1, 2, 3, 4) oid[:-1] #
I use the example in the doc,but I raise exception: ``` from puresnmp import set from puresnmp.x690.types import OctetString IP = "192.168.12.133" COMMUNITY = 'private' OID = '1.3.6.1.2.1.1.4.0' result =...
I want to set sysDescr.0 use set,but I don't know how to convert my string it to Type ``` oid = "1.3.6.1.2.1.1.1.0" #how to conver a python string to Utf8String...
In my test environment IP's might change so I prefer to use host names. Is there a way to get this working without extra layer on my side? At the...
I've run into a bug in a network device which does not behave correctly on GetNext requests. Instead of returning the next OID it will return the same OID as...
Currently the representation of the IpAddress type contains a byte-string. Converting the byte-string to an ip-address would make log output much more readable. The following line would break the API...
Currently, the package provides a "leaky abstraction" in the sense that calls to the main entry-point functions return data-types which are internal to `puresnmp` (most notably `ObjectIdentifier`). The returned data-types...
Currently the top-level module contains a couple of duplicate functions, for example `walk` and `multiwalk` or `get` and `multiget`. This can lead to confusion. It was meant to keep the...
When using `pop_tlv` to convert a bytes object to a bytes object into a PDU object, the result is different than what you might expect. - Instantiating a PDU class...
I've noticed when using an incorrect community string, a sent message never times out while waiting for a response (or it takes longer that I was willing to wait). Perhaps...