py2exe doesn't work with pysnmp 4.3.0

I use python 2.7.8. I convert this code to an exe using py2exe: from pysnmp.hlapi.asyncore import * def cbFun(snmpEngine, sendRequestHandle, errorIndication, errorStatus, errorIndex, varBinds,...

PySNMP - default location of the compiled MIBs

I configured the compiler where to look for asn1 MIBs as follows: compiler.addMibCompiler(mibBuilder, sources=['/usr/share/snmp/mibs']) Then used getCmd() as: errorIndication, errorStatus,...

PYSNMP : TypeError: setComponentByType() got multiple values for keyword argument 'verifyConstraints'

Facing New issue with PYSNMP 4.3.3. Python 2.7.13.With SNMP GET and Getnext: Same is working fine with Pysnmp 4.3.2. The issue actually I am observing when it's involved with virtual env. in the...

Translation of SNMP traps dosen't work in check_mk

I'm working on processing SNMP traps from CISCO devices by check_mk 1.2.8p20 version. The configuration is in progress and I've have already untranslated traps in Event Console. Here...

MIB translation with pysnmp (loading error)

The idea is to translate OIDs to MIB object names and vise versa including getting the names of enumerated values using pysnmp. I found this 'PDU var-binds to MIB objects' example, but when I'm...

PySNMP not finding existing existing JUNIPER-SMI module

O'm trying to compile some Juniper MIBs for PySNMP using the mibdump.py tool. It seems like it cannot find the existing JUNIPER_SMI module that is in the pysnmp-mibs package. The module appears to...

Python imp not finding modules

I'm trying to get the Google cloud modules for python working, but am having difficulty in imp seeing the modules correctly for verification purposes. I've even tried a few variants in spelling,...

PySNMP adding custom MIBs

I've been trying to get custom MIBs working with no success. I would ideally like to get the full list of MIBs from the ASN1 source, but with this failing I've tried multiple options. I've...

pysnmp on raspberry pi

I have just installed pysnmp on my rpi, quick check with snmplab's agent side script i got error (module missing in library) [email protected]:~ $ sudo python...

Automatically detecting a PySMI parsed MIB from an existing OID

I have a situation where I'm trying to do some MIB-processing on a pre-existing, non-translated SNMP walk in the cloud. I have a set of translated PySMI MIB json files, but I'm unsure how to match...

Building an OID->MIB index from a PySMI script using JSON?

I have successfully compiled several MIBs into JSON using PySMI with JsonCodeGen and CallbackWriter (which uploads the parsed JSON to cloud storage). Now I am trying to build an index using...

Pysnmp problem loading MIB text and py files

I'm having problems with the pysnmp package. I want to connect to the OLT device from Huawei MA5600. I have his MIBs in text format * .mib the idea is to get the temperature, energy consumption...

How to fix PySNMP WrongValueError

If these needs to be asked in an existing thread (https://stackoverflow.com/questions/52667806/snmpv3-getone-fails-while-trying-via-pysnmp-wrongvalueerror), that is fine. However, I am receiving...

SNMPv3 - Convert Custom MIB File to python MIB file

I am working on SNMPv2 currently and want to switch to SNMPv3. I have my MIB File written for v2, which was converted to python file using: pysmi. But in the documentation, it is written that it...

How to add new MIB text file in pysnmp?

Unable to MIB of external device. I have a IP power bar which can be controlled using SNMP. I am trying to switch off and on outlets using Python script. I have saved new mib at d:\mib I am trying...

Retrieving objectname from OID for custom MIB in pysnmp

I have a device connected to the network, that uses a custom .MIB-file with various 'parameters'. I can use a MIB browser and find the OID for an object name such as 'powerSystemCompany'. But for...

"Ciphering services not available" error with SNMP V3 usage of pysnmp in python v3 virtual environment

I am trying to use pysnmp library with SNMP V3 settings with MD5 Auth protocol and AesCfb128 Priv protocol to obtain details from a switch. I am trying two things. 1. Install pysnmp and all...

snmp responder installing error : ERROR: Could not find a version that satisfies the requirement pysnmp>=5.0.0 (from snmpresponder)

I am trying to install snmpresponder using the pip (in windows). I am using python 2.7. I found the snmpresponder from the following website. http://snmplabs.com/snmpresponder/ This is what I...

PYSNMP fails to read custom windows MIB

I try to load the custom MIB file generated in System32 (HOST-RESSOURCES_MIB) from Windows with PYSNMP. Code is the following: from pysnmp.hlapi import * from pysmi import debug as...

pysnmp : AttributeError: 'module' object has no attribute 'NotificationOriginator'

I am working on pysnmp where my script acts as SNMP listener and forwarder. I am able to receive SNMP traps and I can see the mibs. I am getting an error with the sendPdu function of...

How can i Parse custom mib(.mib) file using python pysnmp or pysmi and retrieve description related to a specific OID?

How can i Parse custom mib(.mib) file using python pysnmp or pysmi and retrieve description related to a specific OID? from pysnmp.smi import builder, view, compiler mibBuilder =...