Replay traps received from snmptrapd

Matt Hughes <[email protected]> Tue, 19 Jul 2022 09:50:22 -0400
Newsgroups gmane.network.net-snmp.user
Message-ID <CANi6QLycT=vk0aEAy7mEQwDQqFCwq5yd0fZ=ea09az5-rwB1FA@mail.gmail.com>
I'm looking to capture/log traps on one machine via snmptrapd and then
"replay" them back at a later time with snmptrap with a little help.

I run snmptrapd -f -Lod -n -OnqX on the capture machine.

And then I try to take one of those lines and run the parameters into
snmptrap.  However, snmptrapd output doesn't include the type in the "oid
type value" format.  Instead, I just have oid value.  Even assuming support
for just ints/longs/strings, is this possible?  Just looking to sanity
check some messages in development that I am receiving on another server.

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users