SnmpTrapHelper forwardV2Trap method strips first two varbinds

Description

When forwarding traps in a scriptd script, as in the example
scriptd-configuration.xml, the snmpTrapOID an sysuptime varbinds appear to be
stripped and not delivered to the recipient system. When forwarding from an
opennms 1.3.2 system to an opennms 1.2.9 system, the 1.2.9 system reports the
following in trapd.log upon trap reception:

2007-03-22 12:35:49,549 INFO [TrapQueueProcessor] TrapQueueProcessor: V2 trap
from 1.1.1.4 IGNORED due to not having the required varbinds.
The first varbind must be sysUpTime.0 and the second snmpTrapOID.0

Symptom occurs with both snmp4j and joesnmp strategies.

See attached for more detailed logs.

Environment

Operating System: Linux Platform: PC

Acceptance / Success Criteria

None

Attachments

1
  • 26 Mar 2007, 12:16 PM

Lucidchart Diagrams

Activity

Show:

Bob Busby March 26, 2007 at 12:16 PM

Created an attachment (id=432)
Log files and scripts to reproduce reported bug

Details

Assignee

Reporter

Labels

Affects versions

Priority

PagerDuty

Created March 26, 2007 at 12:06 PM
Updated September 21, 2021 at 6:21 PM

Flag notifications