[Bug 1457269] [NEW] snmptrapd forwarding twice every received trap
Arturo
novasoftnet at gmail.com
Thu May 21 01:21:49 UTC 2015
Public bug reported:
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: net-snmp-coders at lists.sourceforge.net
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
** Affects: net-snmp (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to net-snmp in Ubuntu.
https://bugs.launchpad.net/bugs/1457269
Title:
snmptrapd forwarding twice every received trap
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1457269/+subscriptions
More information about the Ubuntu-server-bugs
mailing list