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

[WiP] Better support for probing MIBs with objects in different OID groups #16

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

SpComb
Copy link
Member

@SpComb SpComb commented May 12, 2018

Fixes #15

A MIB has a primary OID used for resolving/formatting IDs like TEST-MIB.1.2.1, but it also has a set of OIDs to cover all objects/tables within the MIB.

This OIDSet is used for probing the MIB, and the presence of anything under any oid in the set signifies support for that MIB.

TODO

  • Generate extra OIDs for MIBs in mib-import.py

    Loading of MIBs is currently broken:

      2018/05/12 16:21:57 Failed to load MIB P-BRIDGE-MIB objects from /home/terom/go/src/github.com/qmsk/snmpbot-mibs/P-BRIDGE-MIB.json: Unknown OID .1.3.6.1.2.1.17.4.5.1.1 for Object dot1dTpHCPortInFrames: outside of MIB OIDs {.1.3.6.1.2.1.17.6}
    

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

Successfully merging this pull request may close these issues.

None yet

1 participant