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

input{
  snmptrap {
  community => "public"
  host => "0.0.0.0"
  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/RubyKernel.java:1442:in `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:
"0\x81\xA4\x02\x01\x030\x11\x02\x04t\xEB

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.