JMX input plugin install problems


(Norm Bedwell) #1

I have the JMX plugin running properly on our Windows development env. However, trying to move over to the Linux testing env I cannot get the plugin installed. The plugin install ends up:

roacamu03:/opt/app/logstash: bin/logstash-plugin install logstash-input-jmx --https_proxy=http://xxx.com:8080
Validating logstash-input-jmx
Unable to download data from https://rubygems.org - Errno::ECONNREFUSED: Connection refused - Connection refused (https://api.rubygems.org/latest_specs.4.8.gz)
ERROR: Installation aborted, verification failed for logstash-input-jmx
roacamu03:/opt/app/logstash:

I did an prepare-offline-pack from our Windows env and installed via file from that. The plugin shows up in the plugin list, however, when I try to use it:

[2018-02-21T18:15:41,337][ERROR][logstash.plugins.registry] Problems loading a plugin with {:type=>"input", :name=>"jmx", :path=>"logstash/inputs/jmx", :error_message=>"NameError", :error_class=>NameError, :error_backtrace=>["/opt/app/logstash/logstash-core/lib/logstash/plugins/registry.rb:226:in namespace_lookup'", "/opt/app/logstash/logstash-core/lib/logstash/plugins/registry.rb:162:inlegacy_lookup'", "/opt/app/logstash/logstash-core/lib/logstash/plugins/registry.rb:138:in lookup'", "/opt/app/logstash/logstash-core/lib/logstash/plugins/registry.rb:180:inlookup_pipeline_plugin'", "/opt/app/logstash/logstash-core/lib/logstash/plugin.rb:140:in lookup'", "/opt/app/logstash/logstash-core/lib/logstash/pipeline.rb:100:inplugin'", "(eval):16:in initialize'", "org/jruby/RubyKernel.java:1079:ineval'", "/opt/app/logstash/logstash-core/lib/logstash/pipeline.rb:72:in initialize'", "/opt/app/logstash/logstash-core/lib/logstash/pipeline.rb:156:ininitialize'", "/opt/app/logstash/logstash-core/lib/logstash/agent.rb:286:in create_pipeline'", "/opt/app/logstash/logstash-core/lib/logstash/agent.rb:95:inregister_pipeline'", "/opt/app/logstash/logstash-core/lib/logstash/runner.rb:314:in execute'", "/opt/app/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:67:inrun'", "/opt/app/logstash/logstash-core/lib/logstash/runner.rb:209:in run'", "/opt/app/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:132:inrun'", "/opt/app/logstash/lib/bootstrap/environment.rb:71:in `(root)'"]}
[2018-02-21T18:15:41,348][ERROR][logstash.agent ] Cannot create pipeline {:reason=>"Couldn't find any input plugin named 'jmx'. Are you sure this is correct? Trying to load the jmx input plugin resulted in this error: Problems loading the requested plugin named jmx of type input. Error: NameError NameError"}

I am using a 5.5.0 cluster on Redhat linux


(system) #2

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