snmptrapd forwarding twice every received trap
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://
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:
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_
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.