0

I have monitoring system where devices are sending traps. The traps are translated. After translation I'm using regex to get the "human readable" data and insert it into the monitoring page. In order to skip new real tests when regex need change - how I can recreate/resend such translated traps. Is there some trap recreating software?

Example:

SNMPv2-MIB::sysUpTime.0: 1493732113, SNMP-COMMUNITY-MIB::snmpTrapAddress.0: 10.20.21.16, SNMP-COMMUNITY-MIB::snmpTrapCommunity.0: public, SNMPv2-MIB::snmpTrapEnterprise.0: JUNIPER-SMI::jnxCmNotifications, JUNIPER-SMI::jnxMibs.18.1.7.1.2.111: 1493732113, JUNIPER-SMI::jnxMibs.18.1.7.1.3.111: 0x07e60b1e0c1c14002b0100, JUNIPER-SMI::jnxMibs.18.1.7.1.4.111: 2, JUNIPER-SMI::jnxMibs.18.1.7.1.5.111: root, JUNIPER-SMI::jnxMibs.18.1.7.1.6.111:

App tag: JUNIPER-SMI::jnxCmNotifications.0.1

  • You can usually use `snmptrap` command from NET-SNMP to generate traps, http://www.net-snmp.org/tutorial/tutorial-5/commands/snmptrap.html – Lex Li Dec 01 '22 at 23:17

0 Answers0