Snmptrap not forwarding on proper port
George <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
All,
Good afternoon. Not sure what I did wrong as had setup snmptrapd.conf to forward all traps on port 162. However, the far end machine is only receiving snmp on port 161:
Forwarding From:
---------------------
[root@xxx /usr/local/etc/rc.d]# vi /etc/snmptrapd.conf
disableAuthorization yes
authCommunity net public forward default udp:10.1.1.227:162 public
[root@xxx /usr/local/etc/rc.d]# cat /etc/snmpd.conf
rocommunity public
rocommunity public localhost
trapsink localhost public 162
trap2sink localhost public 162
trap2sink 10.1.1.227 public 162
trapcommunity public
master yes
Forwarding To:
---------------------
[root@yyy]# tcpdump -i eth0 -vvXX -s 65000 host 10.1.1.234
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65000 bytes
18:06:37.048444 IP (tos 0x0, ttl 64, id 64304, offset 0, flags [none], proto: UDP (17), length: 137) 10.1.1.234.12736 > 10.1.1.227.snmp: [udp sum ok] { SNMPv2c { V2Trap(94) R=695320953 system.sysUpTime.0=111727570 S:1.1.4.1.0=E:2021.14.1.1 system.sysLocation.0="where did this trap go" } }
[root@yyy ~]# tcpdump -i eth0 -vvXX -s 65000 port 162
+tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65000 bytes
0 packets captured
2 packets received by filter
0 packets dropped by kernel
Any ideas as to what is setup incorrectly? Thanks.
Sincerely,
George
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense..
http://p.sf.net/sfu/splunk-d2d-c1
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users