SNMP Trap listener died on Windows 2008 R2

Hi All

I have create logstash 2.4 on Windows 2008 R2 for receive SNMP Trap. I also installed logstash-snmptrap plugin but show error when program run. Anyone can help on this case, Tks All guys

Settings: Default pipeline workers: 4

e[33mSNMP Trap listener died {:exception=>#<SocketError: bind: name or service n
ot known>, :backtrace=>["org/jruby/ext/socket/RubyUDPSocket.java:160:in bind'", "C:/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/snmp-1.2.0/lib/snmp/manager.rb: 540:ininitialize'", "C:/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/snmp-1.2.0
/lib/snmp/manager.rb:585:in create_transport'", "C:/logstash-2.4.0/vendor/bundl e/jruby/1.9/gems/snmp-1.2.0/lib/snmp/manager.rb:618:ininitialize'", "C:/logsta
sh-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-input-snmptrap-2.0.4/lib/logstash
/inputs/snmptrap.rb:74:in build_trap_listener'", "C:/logstash-2.4.0/vendor/bund le/jruby/1.9/gems/logstash-input-snmptrap-2.0.4/lib/logstash/inputs/snmptrap.rb: 78:insnmptrap_listener'", "C:/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logs
tash-input-snmptrap-2.0.4/lib/logstash/inputs/snmptrap.rb:53:in run'", "C:/logs tash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/pi peline.rb:342:ininputworker'", "C:/logstash-2.4.0/vendor/bundle/jruby/1.9/gems
/logstash-core-2.4.0-java/lib/logstash/pipeline.rb:336:in start_input'"], :leve l=>:warn}e[0m Pipeline main started e[33mSNMP Trap listener died {:exception=>#<SocketError: bind: name or service n ot known>, :backtrace=>["org/jruby/ext/socket/RubyUDPSocket.java:160:inbind'",
"C:/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/snmp-1.2.0/lib/snmp/manager.rb:
540:in initialize'", "C:/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/snmp-1.2.0 /lib/snmp/manager.rb:585:increate_transport'", "C:/logstash-2.4.0/vendor/bundl
e/jruby/1.9/gems/snmp-1.2.0/lib/snmp/manager.rb:618:in initialize'", "C:/logsta sh-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-input-snmptrap-2.0.4/lib/logstash /inputs/snmptrap.rb:74:inbuild_trap_listener'", "C:/logstash-2.4.0/vendor/bund
le/jruby/1.9/gems/logstash-input-snmptrap-2.0.4/lib/logstash/inputs/snmptrap.rb:
78:in snmptrap_listener'", "C:/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logs tash-input-snmptrap-2.0.4/lib/logstash/inputs/snmptrap.rb:53:inrun'", "C:/logs
tash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/pi
peline.rb:342:in inputworker'", "C:/logstash-2.4.0/vendor/bundle/jruby/1.9/gems /logstash-core-2.4.0-java/lib/logstash/pipeline.rb:336:instart_input'"], :leve
l=>:warn}e[0m

Here is my config

input {
snmptrap {
#type => "snmptrap"
port => 162
host => "192.168.10.2"
community => "public"
}
}

output {
stdout {codec => rubydebug}
}

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