User Tools

Site Tools


notes:net-snmp-errors

Differences

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

Link to this comparison view

Next revision
Previous revision
notes:net-snmp-errors [2014/08/28 09:07] – created adminnotes:net-snmp-errors [2018/09/04 09:16] (current) admin
Line 1: Line 1:
-When using ''net-snmp'' tools, Debian users often get errors like+====== How to fix net-snmp / snmpwalk errors in Debian 7 ====== 
 + 
 +When using ''net-snmp'' tools (for example with the tool ''snmpwalk''), Debian / Ubuntu users often get errors like
  
   Bad operator (INTEGER): At line 73 in /usr/share/mibs/ietf/SNMPv2-PDU   Bad operator (INTEGER): At line 73 in /usr/share/mibs/ietf/SNMPv2-PDU
Line 12: Line 14:
   Bad parse of OBJECT-IDENTITY: At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB   Bad parse of OBJECT-IDENTITY: At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
  
-Some IANA MIBs have been updated since ''snmp-mibs-downloader'' 1.1 was released (see http://www.iana.org/assignments/), and some IETF files are broken.+This is due to a combination of errors: some IANA MIBs have been updated since ''snmp-mibs-downloader'' 1.1 was released (see http://www.iana.org/assignments/), and some IETF files are broken.
  
-First, let'issue+To fix these issuesfirstly let'run
   download-mibs   download-mibs
  
-Now, we need to update a few files.+Now, we need to update a few files (please note that my modified versions of [[http://pastebin.com/raw.php?i=p3QyuXzZ|SNMPv2-PDU]] and [[http://pastebin.com/raw.php?i=gG7j8nyk|PATM-IPMC-MIB]] are **not** IETF official files! Use them only if you know what you are doing).
   sudo wget http://www.iana.org/assignments/ianaippmmetricsregistry-mib/ianaippmmetricsregistry-mib -O /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB   sudo wget http://www.iana.org/assignments/ianaippmmetricsregistry-mib/ianaippmmetricsregistry-mib -O /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
   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/mibs/ietf/SNMPv2-PDU
notes/net-snmp-errors.1409216825.txt.gz · Last modified: 2014/08/28 09:07 by admin