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

The example doesn't work. Am I doing something wrong ? #65

Open
schau87 opened this issue Feb 10, 2021 · 1 comment
Open

The example doesn't work. Am I doing something wrong ? #65

schau87 opened this issue Feb 10, 2021 · 1 comment

Comments

@schau87
Copy link

schau87 commented Feb 10, 2021

$ mibdump.py --generate-mib-texts --destination-format json IF-MIB
Source MIB repositories: file:///usr/share/snmp/mibs, http://mibs.snmplabs.com/asn1/@mib@
Borrow missing/failed MIBs from: http://mibs.snmplabs.com/json/fulltexts/@mib@
Existing/compiled MIB locations:
Compiled MIBs destination directory: .
MIBs excluded from code generation: RFC-1212, RFC-1215, RFC1065-SMI, RFC1155-SMI, RFC1158-MIB, RFC1213-MIB, SNMPv2-CONF, SNMPv2-SMI, SNMPv2-TC, SNMPv2-TM
MIBs to compile: IF-MIB
Destination format: json
Parser grammar cache directory: not used
Also compile all relevant MIBs: yes
Rebuild MIBs regardless of age: no
Dry run mode: no
Create/update MIBs: yes
Byte-compile Python modules: no (optimization level no)
Ignore compilation errors: no
Generate OID->MIB index: no
Generate texts in MIBs: yes
Keep original texts layout: no
Try various file names while searching for MIB module: yes
Created/updated MIBs:
Pre-compiled MIBs borrowed:
Up to date MIBs:
Missing source MIBs: IF-MIB
Ignored MIBs:
Failed MIBs:

@lextm
Copy link

lextm commented Nov 21, 2022

You got "Missing source MIBs: IF-MIB" simply because http://mibs.snmplabs.com is down.

As part of etingof/pysnmp#429, my company set up https://mibs.pysnmp.com to replace that lost site.

You can simply switch to pysmi-lextudio package, which by default uses the new MIBs site.

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

2 participants