Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 Image Added 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 Image Added can access using iptables.
  • Change the privileges for port 162, so non root can access it.
     
Info
titleExample - How to setup UDP port forwarding to forward all UDP datagrams from port 162 to port 5678


Code Block
languagetext
themeEclipse
$ 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.


Scroll ignore
scroll-viewportfalse
scroll-pdftrue
scroll-officefalse
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmlfalse


Next: