Better logging for SNMP traps with processing problems

Description

We can do a better job of logging when Trapd receives a trap that gives our processing code indigestion (results in e.g. o.o.n.t.TrapQueueProcessor: Unexpected error processing trap: java.lang.ArrayIndexOutOfBoundsException: 6 in logs). Salvaging what information we can and logging it will help users track down the offending traps and their senders.

See also https://mynms.opennms.com/Ticket/Display.html?id=4801

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Seth Leger January 4, 2017 at 2:22 PM

PR merged, marking as fixed.

Jeff Gehlbach November 28, 2016 at 4:04 PM

Fixed

Details

Assignee

Reporter

Labels

Affects versions

Priority

PagerDuty

Created November 22, 2016 at 11:34 AM
Updated January 4, 2017 at 7:21 PM
Resolved January 4, 2017 at 2:22 PM

Flag notifications