Score:0

How to resend SNMP trap which was already received and translated

ne flag

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

Lex Li avatar
vn flag
You can usually use `snmptrap` command from NET-SNMP to generate traps, http://www.net-snmp.org/tutorial/tutorial-5/commands/snmptrap.html
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.