snmp mib IANA-IPPM-METRICS-REGISTRY-MIB has spurious quotes

Bug #1143539 reported by FrankAu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Net-SNMP
New
Undecided
Unassigned
One Hundred Papercuts
Invalid
Undecided
Unassigned
snmp-mibs-downloader (Ubuntu)
Confirmed
Medium
FrankAu

Bug Description

Using snmpwalk causes diagnostic report ...

root@terabitefw:/# snmptranslate -Of -mALL 1.3.6.1.4.1.4526
No log handling enabled - turning on stderr logging
Expected "::=" (RFC5644): At line 493 in /var/lib/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Expected "{" (EOF): At line 651 in /var/lib/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Bad object identifier: At line 651 in /var/lib/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Bad parse of OBJECT-IDENTITY: At line 651 in /var/lib/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB

Issue is caused by spurious double quote in distribution mib files for the RFC5644 section.

Extract shows first error on line 493 ...

   ietfOnetoGroupReceiverNMeanDelay OBJECT-IDENTITY
       STATUS current
       DESCRIPTION
          "Type-P-One-to-group-Receiver-n-Mean-Delay"
       REFERENCE
          "Reference "RFC5644, section 8.3.1." <--- borked here
       := { ianaIppmMetrics 62 }

Solution = simple edit of the distribution file ianaippmmetricsregistry-mib in source file /usr/share/doc/mibiana.

Revision history for this message
Chris Wilson (notgary-deactivatedaccount) wrote :

Thanks a lot for reporting this, but a paper cut should be present in the type of application that the average user would use on a regular basis. I've forwarded the report to the snmp project though, to see what they think.

Changed in hundredpapercuts:
status: New → Invalid
Revision history for this message
Robie Basak (racb) wrote :

Thank you for reporting this bug and helping to make Ubuntu better.

Confirmed. This affects the snmp-mibs-downloader source package, not net-snmp, in version 1.1 (Oneiric through Raring). I can see this error in the packaging source in mibiana/ianaippmmetricsregistry-mib on line 603. Setting to Medium priority as a workaround is available.

Since this we don't currently have an Ubuntu delta for this package, this bug presumably affects Debian too. Are you able to verify and file a bug in Debian, please?

In the future, could you please include release and version information in your bug reports? This would have saved me quite some time in tracking this down. You can automatically include all relevant information by filing bugs using the "ubuntu-bug" CLI tool, supplied by the apport package which is usually installed already.

affects: net-snmp (Ubuntu) → snmp-mibs-downloader (Ubuntu)
Changed in snmp-mibs-downloader (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
FrankAu (terabite-4) wrote :

NP - I had planned to "fix it myself" but couldn't find my way through the maze!

I will look into the Debian side of things as there are a few other borked mibs to be corrected.

Cheers, Frank.

FrankAu (terabite-4)
Changed in snmp-mibs-downloader (Ubuntu):
assignee: nobody → FrankAu (terabite-4)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.