Skip to content

Exception when using snmpsim-record-mibs  #17

@rortuno-cbba

Description

@rortuno-cbba

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions