On 2015-01-22 16:37, Anders Eriksson J wrote:
> Hi, need some help.
>
> Trying to forward traps to a non default port.
> My snmptrapd.conf:
> authCommunity log,net public
> forward default udp:10.1.1.11:28380 public
>
> I run (my agent sends to 28380):
> snmptrapd -f -Lo udp:10.50.24.47:28380
>
> But no traps are forwarded (nothing on my listener on 10.1.1.11:28380,
> nothing in tshark).

Seems the public string last on the line in snmptrapd.conf isn't 
expected by snmpIPv4BaseDomain.c.
Removing it and forwarding to other ports works.

BR/ Anders


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to