Logstash, SNMP don't receive traps

Hi everybody :slight_smile:

I try to use SNMP with logstash, but my configuration or something is wrong and I don't find any information who can help me :frowning:

First : I don't understand how it should work,
snmptrapd must run or not ? Or Logstash work like snmptrapd and receive trap on the port 162?

I have try this configuration :

input {
snmptrap {
port => 162
community => 'public'
type => 'snmptrap'
yamlmibdir => "/opt/logstash/vendor/bundle/jruby/1.9/gems/snmp-1.2.0/data/ruby/snmp/mibs"
}
}

output {
stdout {
codec => rubydebug
}
}

I have try to use it without port, community option but nothing change.
Tcpdump recive the trap

I have prepare some enterprise mib in yaml format for the next step

Thank if someone can help me a little
Vost

Someone have an idea ?