Note: A very similar process is describe here in this Gist
- Checkout or download this repository and open
mib
-folder in repository root directory. - Install required python package
pysmi
or typepip3 install -r requirements.txt
orpython3 -m pip install -r requirements.txt
- Select and download your MIB files in
.txt
format (e.g. from here) to directorymib/orig/
. - Append the name of these mibs to the
mibdump
command inmib/mibs/converter.sh
. - Go to the
mib/mibs
directory on a console and executeconverter.sh
. Scan the output carefully for possible problems and check, if new.json
files have been created in the directory. - Execute
python3 converter.py
inmib/mibs
- and use a meaningful name for the archive and type:
zip <good name>.zip oid_catalog.json oid_tree.json
. The<good_name>
part is used within the app later as the MIB catalog's name. - Put this
.zip
archive into your mobile phone or use a file service provider on Android (e.g. Nextcloud Android App) and open the import dialog in the option menu of MIB catalog screen.