User Tools

Site Tools


emanuele_goldoni:notes:net-snmp

Differences

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

Link to this comparison view

emanuele_goldoni:notes:net-snmp [2014/08/20 12:32] (current)
lele created
Line 1: Line 1:
 +Getting errors when using ''​net-snmp''​ tools like
  
 +  Bad operator (INTEGER): At line 73 in /​usr/​share/​mibs/​ietf/​SNMPv2-PDU
 +  Undefined OBJECT-GROUP (diffServMIBMultiFieldClfrGroup):​ At line 2195 in /​usr/​share/​mibs/​ietf/​IPSEC-SPD-MIB
 +  Undefined OBJECT-GROUP (diffServMultiFieldClfrNextFree):​ At line 2157 in /​usr/​share/​mibs/​ietf/​IPSEC-SPD-MIB
 +  Undefined OBJECT-GROUP (diffServMIBMultiFieldClfrGroup):​ At line 2062 in /​usr/​share/​mibs/​ietf/​IPSEC-SPD-MIB
 +  Unlinked OID in IPATM-IPMC-MIB:​ marsMIB ::= { mib-2 57 }
 +  Undefined identifier: mib-2 near line 18 of /​usr/​share/​mibs/​ietf/​IPATM-IPMC-MIB
 +  Expected "::​="​ (RFC5644): At line 493 in /​usr/​share/​mibs/​iana/​IANA-IPPM-METRICS-REGISTRY-MIB
 +  Expected "​{"​ (EOF): At line 651 in /​usr/​share/​mibs/​iana/​IANA-IPPM-METRICS-REGISTRY-MIB
 +  Bad object identifier: 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.
 +
 +First, let's issue
 +  download-mibs
 +
 +Now, we need to update a few files.
 +  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=gG7j8nyk -O /​usr/​share/​mibs/​ietf/​IPATM-IPMC-MIB
 +
 +The remaining errors
 +  Undefined OBJECT-GROUP (diffServMIBMultiFieldClfrGroup):​ At line 2195 in /​usr/​share/​mibs/​ietf/​IPSEC-SPD-MIB
 +  Undefined OBJECT-GROUP (diffServMultiFieldClfrNextFree):​ At line 2157 in /​usr/​share/​mibs/​ietf/​IPSEC-SPD-MIB
 +  Undefined OBJECT-GROUP (diffServMIBMultiFieldClfrGroup):​ At line 2062 in /​usr/​share/​mibs/​ietf/​IPSEC-SPD-MIB
 +
 +seem to have been resolved with ''​net-snmp''​ 5.7.x
emanuele_goldoni/notes/net-snmp.txt ยท Last modified: 2014/08/20 12:32 by lele