SNMP traps via Minion not working
Marc Doesburg <[email protected]>
| Newsgroups | gmane.network.opennms.general |
|---|---|
| Message-ID | <CAE_XvpbjttFGVbiDYsM=JuXc+ZjtY9KZ3VD8X2479aUa3k3znA@mail.gmail.com> |
Hello All,
I'm having trouble setting up SNMP traps using Minion.
The Minion is setup and OpenNMS can query SNMP and is able to get the SNMP
information out of the systems that are monitored.
The problem is that the Minion doesn't seem to get the SNMP traps on
127.0.0.1:1162. When I tcpdump the ens160 interface (Centos7) I can see the
traps coming in on port 162. But when I do a tcpdump of the lo interface I
do not see any data coming in on port 1162.
The Minion (Java) is listening on port 1162 and firewalld rules are setup:
public (active)
target: default
icmp-block-inversion: no
interfaces: ens160
sources:
services: dhcpv6-client ssh
ports: 514/tcp 162/udp 514/udp 162/tcp
protocols:
masquerade: yes
forward-ports: port=514:proto=udp:toport=1514:toaddr=127.0.0.1
port=162:proto=udp:toport=1162:toaddr=127.0.0.1
port=514:proto=tcp:toport=1514:toaddr=127.0.0.1
port=162:proto=tcp:toport=1162:toaddr=127.0.0.1
source-ports:
icmp-blocks:
rich rules:
I even tried to setup firewalld on lo but that doesn't work either:
trusted (active)
target: ACCEPT
icmp-block-inversion: no
interfaces: lo
sources:
services:
ports: 1162/udp 1162/tcp 1514/udp 1514/tcp
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
I think it's an CentOS issue somewhere... But I just can't find the
problem...
If someone can help me with this it would be awesome!
Best regards,
--
Marc D.
Real is just a matter of perception
------------------------------------------------------------------------------
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