pysnmp icon indicating copy to clipboard operation
pysnmp copied to clipboard

Python SNMP library

Results 136 pysnmp issues
Sort by recently updated
recently updated
newest added

Using example code: ``` from pysnmp.entity.rfc3413.oneliner import cmdgen cmdGen = cmdgen.CommandGenerator() errorIndication, errorStatus, errorIndex, varBinds = cmdGen.getCmd( cmdgen.CommunityData('public'), cmdgen.UdpTransportTarget(('localhost', 161)), '1.3.6.1.2.1.1.9.1.4.1', lookupNames=True, lookupValues=True ) name, value = varBinds[0] print(name, value)...

In the [Library documentation](http://snmplabs.com/pysnmp/docs/api-reference.html#pysnmp.smi.rfc1902.ObjectIdentity.addAsn1MibSource) all three examples showing how to use this method indicate a different method name "addAsn1Source". This may have caused the confusion in issue #62 ``` >>>...

we use config.addV1System() to configure community string to engine like config.addV1System(snmpEngine, COMMUNITYSTRING, COMMUNITYSTRING) **My query is whether it possible to specify ip address of the device for which I am...

I'm having a very strange issue. I'm running Home Assistant on a Windows Server 2019. I poll the state of an interface on my router via SNMP. The strange thing...

I haven't installed the SMI module, so I used a dotted OID in place of the name: ``` for (errorIndication, errorStatus, errorIndex, varBinds) in nextCmd(SnmpEngine(), UsmUserData('usr-md5-none', 'authkey1'), UdpTransportTarget(('1.1.1.1', 161)), ContextData(),...

There are some documentation bugs on the web page: http://snmplabs.com/pysnmp/examples/hlapi/asyncore/sync/manager/cmdgen/walking-operations.html In the "Walk Whole MIB", it has $ snmpwalk -v3 -lauthPriv -u usr-md5-none -A authkey1 -X privkey1 demo.snmplabs.com IF-MIB:: but...

When polling a table using CommandGenerator I get "resourceUnavailable". ``` errorIndication, errorStatus, errorIndex, varBindTable = cmdGen.bulkCmd( cmdgen.UsmUserData(userName='xxx', authKey='xxx'), cmdgen.UdpTransportTarget((host, port)), 0, 25, table_oid ) ``` ``` errorStatus: resourceUnavailable at 1.3.6.1.4.1.2566.127.2.2.1.1.8.1.1.2...

If the value returned from a nextCmd has an invalid index according the the MIB, the prettyPrint result will be wrong, and getMibSymbol will return an incorrect index. Python Version:...

I want to walk the dot1qVlanStaticName column of the dot1qVlanForbiddenEgressPorts table which is '1.3.6.1.2.1.17.7.1.4.3.1.3.1.1'; If I use snmpwalk I get the values from that column in that table as per...

Hi SNMP is a dark-art, so this might be a silly question. Is it possible to query a device without the MIB, If I know the OID? There are several...