User Tools

Site Tools


notes:net-snmp-errors-updated

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

notes:net-snmp-errors-updated [2018/09/04 12:22] – created adminnotes:net-snmp-errors-updated [2018/09/05 07:14] (current) admin
Line 5: Line 5:
 When using ''net-snmp'' tools (for example with the tool ''snmpwalk''), Debian 9 users (and Ubuntu users too) often get an error like When using ''net-snmp'' tools (for example with the tool ''snmpwalk''), Debian 9 users (and Ubuntu users too) often get an error like
  
-  Bad operator (INTEGER): At line 73 in /usr/share/mibs/ietf/SNMPv2-PDU+  Bad operator (INTEGER): At line 73 in /usr/share/snmp/mibs/ietf/SNMPv2-PDU
      
 To fix this issue, you need to hack the SMI file (please note that my modified versions of [[http://pastebin.com/raw.php?i=p3QyuXzZ|SNMPv2-PDU]] is **not** an IETF official file! Use it only if you know what you are doing). To fix this issue, you need to hack the SMI file (please note that my modified versions of [[http://pastebin.com/raw.php?i=p3QyuXzZ|SNMPv2-PDU]] is **not** an IETF official file! Use it only if you know what you are doing).
-  sudo wget http://pastebin.com/raw.php?i=p3QyuXzZ -O /usr/share/mibs/ietf/SNMPv2-PDU+  sudo wget http://pastebin.com/raw.php?i=p3QyuXzZ -O /usr/share/snmp/mibs/ietf/SNMPv2-PDU
  
 If you have a less recent Linux version and/or you are seeing more errors, you would need to update more files. In this case, refer to my [[notes:net-snmp-errors|previous guide on this topic]]. If you have a less recent Linux version and/or you are seeing more errors, you would need to update more files. In this case, refer to my [[notes:net-snmp-errors|previous guide on this topic]].
notes/net-snmp-errors-updated.txt · Last modified: 2018/09/05 07:14 by admin