SNMP Trap Agent
The SNMP Trap agent is used to receive SNMP notifications (traps and informs) and convert them to UDRs.
SNMP Trap agent configuration dialog
SNMP Trap Tab
Select the relevant SNMP Collection profile.
Resolving Trap OIDs
The SNMP Trap agent automatically resolves incoming trap OIDs based on MIB definitions from MIB files which are loaded to the profile. This is done for both parts the notification identifier and the list of variable bindings of the trap.Â
Changing the Port 162 Privileges
The standard SNMP trap port 162 is not accessible for in for instance in Linux/Unix environment. Make sure to solve this issue. You can either do:
- Set up port forwarding from 162 to a port that can access using iptables.
- Change the privileges for port 162, so non-root can access it.
Â
Example - How to setup UDP port forwarding to forward all UDP datagrams from port 162 to port 5678
$Â sudo iptables -t nat -A PREROUTING -i enp0s3 -p udp --dport 162 -j REDIRECT --to-port 5678
You should replace enp0s3
 with the proper network interface name. Use ifconfig to find out the name of your Ethernet interface. Usually - eth0
.