Management side: 172.18.0.135 win7 system proxy: 172.18.0.212 Debian7.2
Premise: SNMP is configured on the proxy side, it can realize the system Information monitoring with SNMP protocol normally.
1, the management side download net-snmp:http://jaist.dl.sourceforge.net/project/net-snmp/net-snmp%20binaries/5.6.1.1-binaries/ Net-snmp-5.6.1.1-1.x86.exe
2, Installation: Do not modify the installation path, using the default path on the line, my default is installed in the C:\usr\ path
3, enter the debug mode, print the Received trap: Enter the bin path of the NET-SNMP installation path, execute snmptrapd-f-le-d
4, from can be seen error: No configuration access control information, will receive the trap is discarded, so need to configure the snmptapd.conf file
5. Configure snmptapd.conf file: Create snmptapd.conf file under C:\usr\etc\snmp path, join:disableauthorization Yes
6, re-execute snmptrapd-f-le-d
7, the agent side to execute the test command to see if there is a print log, the default port is 162
the command line format for Snmptrap is as follows:snmptrap-v [2c|3] [COMMON OPTIONS] Uptime trap-oid [oid TYPE VALUE]
8. Check if there is a trap captured by the management side:
Here you can see that the management side can capture the trap.
SNMP: Capture Trap with NET-SNMP