snmptrapd forwarding twice every received trap

Bug #1457269 reported by Arturo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
net-snmp (Ubuntu)
New
Low
Unassigned

Bug Description

I am running 14.04 server and am I trying to log traps received from an external source

at the same time I need to forward these traps to another server.

External Source -----> Ubuntu 14.04 ------------>Second server

I works usign snmptrapd,

NET-SNMP Version: 5.7.2
Web: http://www.net-snmp.org/
Email: <email address hidden>

however, every received trap is re-sent twice from the Ubuntu server

External Source ---1x--> Ubuntu 14.04 -----2x----->Second server

I have confirmed this with a sniffer on both the ubuntu server and the external server

My config in the snmptrapd.conf file is this:

authCommunity log,net community1
forward default 201.103.60.138
format2 %V\n%Date:%h:%j:%k-%l/%m/%y\n%v\n--------------\n

I have tried several tweeks but this seems to be a bug

The debuging shows also this behaviour

snmptrapd: Running trap specific handlers
snmptrapd:lookup: Looking up Trap OID: deviceComesOnline
snmptrapd:lookup: get_traphandler exact match (0x16a0bb0)
snmptrapd:auth: Comparing auth types: result=40, request=32, result=1
snmptrapd: forward_handler (201.103.60.138)
snmptrapd:auth: Comparing auth types: result=40, request=32, result=1
snmptrapd: forward_handler (201.103.60.138)
snmptrapd: Running global handlers
snmptrapd:auth: Comparing auth types: result=40, request=8, result=1
snmptrapd: notification_handler

Revision history for this message
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

This sounds unlikely to be a packaging bug to me. Perhaps it is an upstream bug that has since been fixed, or needs reporting upstream?

I think appropriate next steps would be to attempt to reproduce this with the latest upstream version as well as the version in Ubuntu but compiled directly from upstream source. It may need filing upstream as appropriate.

Marking Importance: Low as this affects only unusual system configurations.

Changed in net-snmp (Ubuntu):
importance: Undecided → Low
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.