network-programmingnexussnmpnet-snmpopennms

Unable to receive snmp-traps on UDP 162


Thanks in advance for the help.

Issue: Unable to receive snmp-traps on udp 162 port. Scenario: Trying to put a nexus 5672 in OpenNMS for monitoring

Pre-Checks done:

  1. I am able to snmpwalk the nexus 5k from my linux node on which OpenNMS is installed.
  2. I am even able to do snmpgets.
  3. I see snmp traffic on udp 161 but they are primarily because of the snmp-get's that opennms is doing.
  4. UNABLE TO SEE ANYTHING WHEN I DO A TCPDUMP ON 162 PORT :(

I have checked if any ACLs are set locally but they are not, iptables as a service is stopped.

I have verified that the snmp-configs are properly pushed.

Configs are pushed on the loop-back interface and there are not acl-groups on the nexus 5k either and there is not firewall between the nexus 5k and the OpenNMS Hosted Linux System

Please help, i do not know what i am missing.


Solution

  • This got resolved. Everything from the Linux end, and the OpenNMS SNMP end was good. However, the network device had SNMP configs wrongly pushed. I changed it to use the default VRF rather than the loopback address, and it started working.