Menu

#5 Fix multi-line traps from NET-SNMP 5.4

closed-fixed
nobody
snmptt (7)
5
2010-05-22
2009-12-16
AndrewB
No

NET-SNMP 5.4.x produces trap files (example attached) that contain multi line values. The code in snmptt 1.3 did not correctly re-assemble the value. The end result was $1 contained all variables, instead of properly splitting the attr/value pairs.

The attached patch fixes the code to account for this.

Discussion

  • AndrewB

    AndrewB - 2009-12-16

    An example trap that did not work

     
  • AndrewB

    AndrewB - 2009-12-16

    Patch to fix multi-line SNMP traps

     
  • AndrewB

    AndrewB - 2009-12-16
    • status: open --> open-fixed
     
  • Alex Burger

    Alex Burger - 2010-05-22

    Thanks for the patch! It has been applied to CVS and will appear in the next release of SNMPTT.

     
  • Alex Burger

    Alex Burger - 2010-05-22
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.