I converted a MIB using snmpttconvertmib but the OIDs are appearing as text instead of being numerical. Why?
For example: EVENT linkUp .iso.org.dod.internet.snmpV2.snmpModules.snmpMIB.snmpMIBObjects.snmpTraps.linkUp “Status Events” Normal instead of EVENT linkUp .1.3.6.1.6.3.1.1.5.4 “Status Events” Normal A: Snmpttconvertmib uses the snmptranslate command to convert MIB files. With Net-SNMP v5.0.2 and newer, setting the -On switch on the snmptranslate command causes the output to be in numerical format, which is what is needed for snmpttconvertmib. With Net-SNMP v5.0.1 and all versions of UCD-SNMP, setting the -On switch will TOGGLE the setting of using numerical output. With Net-SNMP v5.0.2 and newer, setting the -On switch will FORCE the output to be numerical. Snmpttconvermib will use the-On switch for snmptranslate only if it detects anything but UCD-SNMP or Net-SNMP v5.0.1. If you are using UCD-SNMP, or Net-SNMP v5.0.1, the best option is to modify your snmp.conf file (for UCD-SNMP / Net-SNMP), and add or modify the line: printNumericOids 1 This will cause all applications to output in n
Related Questions
- We have set up target text to target different users and attached this to the order line. Why is this not appearing for the user it is targetted to?
- When I take print outs of the converted document, the text gets truncated from the left and right margins. How can I make sure this does not happen?
- I converted a MIB using snmpttconvertmib but the OIDs are appearing as text instead of being numerical. Why?