Can the snmptrap input plugin for logstash receive snmp version 3 traps?

Hi Team, can we receive snmp v3 traps on logstash-input-smnptrap plugin. I have tried to get but getting errors. Below are my configuration and version details.

logstash version : logstash 8.2.2
snmptrap plugin : logstash-input-snmptrap-3.1.0

  snmptrap {
  community => "public"
  host => ""
  port => 162
  type =>"snmptrap"

What errors are you getting?

Hi Badger, here is the error while receiving the traps.

Error handling trap: 3
/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/snmp-1.3.2/lib/snmp/pdu.rb:67:in `decode_version'
/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/snmp-1.3.2/lib/snmp/pdu.rb:53:in `decode'
/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/snmp-1.3.2/lib/snmp/manager.rb:711:in `block in process_traps'
org/jruby/ `loop'
/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/snmp-1.3.2/lib/snmp/manager.rb:708:in `process_traps'
/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-snmptrap-3.1.0/lib/logstash/inputs/snmptrap/patches/trap_listener.rb:17:in `process_traps'
/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/snmp-1.3.2/lib/snmp/manager.rb:635:in `block in initialize'
Received data:

Hi Badger, I look forward to hearing from you.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.