Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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 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:

  • Setup 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 proper network interface name. Use ifconfig to find out the name of your Ethernet interface. Usually - eth0.

  • No labels