OpenNMS not seeing incoming SNMPv3 traps
"Oleksiy Zhukovsky" <[email protected]>
| Newsgroups | gmane.network.opennms.general |
|---|---|
| Message-ID | <[email protected]> |
Hi All!
I am setting up OpenNMS to listen to a stream of SNMP traps from an external
EMS and ran into an issue. The OpenNMS instance has been configured to
receive SNMP v3 traps and I can successfully receive traps I am sending from
the server where OpenNMS is installed, however OpenNMS doesn't see any traps
coming from outside.
At first it seemed like a firewall issue, but I can see the incoming traps
via Wireshark on the same machine, so the packets are not dropped. I've
enabled debug-level logging for trapd and the log doesn't show any activity
when I see a new trap from EMS appear in Wireshark. Either I am missing some
piece of configuration, or there is a deeper firewall-related issue at work
here. Just case, here is the iptables configuration I have at the moment.
Please let me know what other relevant pieces of configuration can help with
troubleshooting.
Chain INPUT (policy ACCEPT 891K packets, 285M bytes)
pkts bytes target prot opt in out source
destination
0 0 ACCEPT udp -- enp0s25 * 0.0.0.0
0.0.0.0/0 udp dpts:161:162
0 0 ACCEPT udp -- enp0s25 * 0.0.0.0/0
0.0.0.0/0 udp spts:161:162 dpts:1024:65535 state ESTABLISHED
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source
destination
Chain OUTPUT (policy ACCEPT 949K packets, 341M bytes)
pkts bytes target prot opt in out source
destination
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0
udp dpts:1024:65535
96 14276 ACCEPT udp -- * * 0.0.0.0/0
0.0.0.0/0 udp spts:1024:65535 dpts:161:162 state NEW,ESTABLISHED
Thanks in advance for the assistance.
Best regards,
Oleksiy Zhukovsky
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-discuss mailing list
To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss