MIB submission process¶
To achieve human-readable OIDs, the corresponding MIB files are necessary. They are being stored in one of the components of SC4SNMP - the MIB server.
The list of currently available MIBs is here: https://pysnmp.github.io/mibs/index.csv
An alternative way to check if the MIB you’re interested in is being served is to check the link:
https://pysnmp.github.io/mibs/asn1/@mib@
where @mib@
is the name of MIB (for example IF-MIB
). If the file
is downloading, that means the MIB file exists in the mib server.
Submit a new MIB file¶
In case you want to add a new MIB file to the MIB server, follow the steps:
-
Create a fork of the https://github.com/pysnmp/mibs repository
-
Put MIB file/s under
src/vendor/@vendor_name@
where@vendor_name@
is the name of the MIB file’s vendor (in case there is no directory of vendors you need, create it by yourself) -
Create a pull request to a
main
branch -
Name the pull request the following way:
feat: add @vendor_name@ MIB files
An alternative way of adding MIBs to the MIB server is to create an issue on https://github.com/pysnmp/mibs repository, attaching the files and information about the vendor.