[net-snmp] How to load mib file into mibs
1. Create the folder mibs
mkdir ~/.snmp/mibs
2. Change the name from *.mib to *.txt
rename 's/mib/txt/;' *
3. put the mib file into ~/.snmp/mibs
4. Excute
snmptranslate -m ALL -Tz
Reference :
TUT:Using and loading MIBS
get Equallogic OID from MIB file with snmptranslate tool
Batch rename files
0 意見:
張貼留言