Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when using snmpsim-record-mibs #17

Open
rortuno-cbba opened this issue Nov 30, 2022 · 0 comments
Open

Exception when using snmpsim-record-mibs #17

rortuno-cbba opened this issue Nov 30, 2022 · 0 comments

Comments

@rortuno-cbba
Copy link

rortuno-cbba commented Nov 30, 2022

I have try generating simulation data from mibs but is always failing with the following error:

snmpsim-record-mibs --mib-module ACD-CFM-MIB --output-file data/acdcfm --mib-source http://www.circitor.fr/Mibs/Mib/A/ACD-CFM-MIB.mib

MIB module: ACD-CFM-MIB, from the beginning till the end ERROR: failed on MIB ACD-CFM-MIB: ACD-CFM-MIB compilation error(s): Illegal character '<', 1905 characters left unparsed at this stage at MIB ACD-CFM-MIB, line 1caused by <class 'pysnmp.smi.error.MibNotFoundError'>: MIB file "ACD-CFM-MIB.py[co]" not found in search path (DirMibSource('/opt/snmpsim/venv/lib64/python3.6/site-packages/pysnmp/smi/mibs'), DirMibSource('/opt/snmpsim/venv/lib64/python3.6/site-packages/pysnmp/smi/mibs/instances'), DirMibSource('pysnmp_mibs'), DirMibSource('/root/.pysnmp/mibs'))caused by <class 'pyasn1.error.PyAsn1Error'>: Malformed Object ID ACD-CFM-MIB at ObjectName: None

I have try with URL and local file as source with the same result

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant