Dear logstash,
when i start logstash ,I got the error msg as follow,
/opt/logstash/bin/logstash -f /etc/logstash/conf.d/logstash-snmptrap.conf -d
SNMP Trap listener died {:exception=>#<Psych::SyntaxError: (): mapping values are not allowed here at line 7 column 19>, :backtrace=>["org/jruby/ext/psych/PsychParser.java:228:in
parse'", "/opt/logstash/vendor/jruby/lib/ruby/1.9/psych.rb:375:in
parse_stream'", "/opt/logstash/vendor/jruby/lib/ruby/1.9/psych.rb:323:inparse'", "/opt/logstash/vendor/jruby/lib/ruby/1.9/psych.rb:250:in
load'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/snmp-1.2.0/lib/snmp/mib.rb:164:inload_module'", "org/jruby/RubyIO.java:1183:in
open'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/snmp-1.2.0/lib/snmp/mib.rb:163:inload_module'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/snmp-1.2.0/lib/snmp/manager.rb:699:in
load_modules'", "org/jruby/RubyArray.java:1613:ineach'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/snmp-1.2.0/lib/snmp/manager.rb:699:in
load_modules'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/snmp-1.2.0/lib/snmp/manager.rb:622:ininitialize'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-snmptrap-2.0.2/lib/logstash/inputs/snmptrap.rb:74:in
build_trap_listener'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-snmptrap-2.0.2/lib/logstash/inputs/snmptrap.rb:78:insnmptrap_listener'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-snmptrap-2.0.2/lib/logstash/inputs/snmptrap.rb:53:in
run'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.1.3-java/lib/logstash/pipeline.rb:206:ininputworker'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.1.3-java/lib/logstash/pipeline.rb:199:in
start_input'"], :level=>:warn}