I want to import two private MIB files. I want to confirm that the MIB is converted normally
-Create a directory dedicated to private MIBs and store MIB files -Write in snmp.conf that the created directory is referenced. -Check that the import is successful by sending a confirmation command! !!
-Redhat Linux Enterprise 7.7 -Net-snmp net-snmp-utils installed
# mkdir /usr/share/snmp/vendor_mibs
Copy the MIB file to the MIB installation directory Upload to tmp directory using teraterm's SSH SCP feature (This time, there are only 2 files, so there is no need to compress them. If necessary, use the scp client or compression to send the files.)
Upload to tmp directory and copy to MIB installation directory
# cp /tmp/<mib.txt> /usr/share/snmp/vendor_mibs/<mib.txt>
# touch /usr/share/snmp/snmp.conf
# snmptranslate <Any OID>
If snmptranslate is displayed correctly, import is complete! !!