wai...@gmail.com
unread,Jan 17, 2018, 5:37:54 AM1/17/18You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
HI,
I have configured the snmptrapd to receive the trap.
Below is the configuration setting on snmptrapd.conf
disableAuthorization yes
authCommunity log,execute,net public
And I stared the snmptrapd with below command:
snmptrapd -d -f -Lo -c /etc/snmp/snmptrapd.conf
And tried to send a test trap with below
snmptrap -v 1 -c public 127.0.0.1 .1.3.6.1 localhost 6 17 '' .1.3.6.1 s "Just a test"
However, only the below message show from the standard output but does log the trap information. Any one can help to investigate it?
Received 60 byte packet from UDP: [127.0.0.1]:54260->[127.0.0.1]:162
0000: 30 3A 02 01 00 04 06 70 75 62 6C 69 63 A4 2D 06 0:.....public.-.
0016: 03 2B 06 01 40 04 7F 00 00 01 02 01 06 02 01 11 .+..@...........
0032: 43 04 00 89 05 C2 30 14 30 12 06 03 2B 06 01 04 C.....0.0...+...
0048: 0B 4A 75 73 74 20 61 20 74 65 73 74 .Just a test