Subject: |
RE: SNMP traps no longer being reported after installing Cisco MIB zenpack |
Author: |
anon anon |
Posted: |
2017-08-18 16:24 |
After some investigation, I see now in the tcpdump that as soon as a trap comes in, my zenoss host is replying with a destination unreachable message.
I have tried restarting zentrap several times The address assignments all look right, my host IP is 10.1.144.20, and zentrap has an address assignment of 10.1.144.20:162.
Netstat doesn't seem to show anything else running on that port.
I have no idea why my zenoss host is replying with destination unreachable, but I am guessing that is why I am not seeing any traps. This all started after installing that zenpack.
Does anyone have any ideas?
------------------------------
anon anon
anon
TX
------------------------------
Subject: |
RE: SNMP traps no longer being reported after installing Cisco MIB zenpack |
Author: |
Ryan Matte |
Posted: |
2019-01-17 13:12 |
When zentrap is restarted, or stopped/started the container IP can change and something that can happen is the conntrack table entry won't get cleared properly on the linux host and it'll continue trying to route the traps coming in to the old zentrap container.
You can try running the following command on your serviced hosts as root to see if that's what's going on. The traps should starts coming in moments later...
conntrack --flush
An important thing to know would be whether or not the traps are making it in to the zentrap container itself. You should attach to the zentrap container then run the tcpdump there to see if the above command doesn't fix the problem.
------------------------------
Ryan Matte
------------------------------