# JMX input plugin install problems

**URL:** https://discuss.elastic.co/t/jmx-input-plugin-install-problems/120920
**Category:** Logstash
**Created:** [February 21, 2018, 7:02pm UTC](https://discuss.elastic.co/t/jmx-input-plugin-install-problems/120920 "2018-02-21T19:02:46Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![chapmantrain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chapmantrain/32/22646_2.png) [@chapmantrain](https://discuss.elastic.co/u/chapmantrain)
#### Post date: [February 21, 2018, 7:02pm UTC](https://discuss.elastic.co/t/jmx-input-plugin-install-problems/120920/1 "2018-02-21T19:02:46Z")

</div>

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](https://rubygems.org) - Errno::ECONNREFUSED: Connection refused - Connection refused ([https://api.rubygems.org/latest\_specs.4.8.gz](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:in`legacy\_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:in`lookup\_pipeline\_plugin'", "/opt/app/logstash/logstash-core/lib/logstash/plugin.rb:140:in `lookup'", "/opt/app/logstash/logstash-core/lib/logstash/pipeline.rb:100:in`plugin'", "(eval):16:in `initialize'", "org/jruby/RubyKernel.java:1079:in`eval'", "/opt/app/logstash/logstash-core/lib/logstash/pipeline.rb:72:in `initialize'", "/opt/app/logstash/logstash-core/lib/logstash/pipeline.rb:156:in`initialize'", "/opt/app/logstash/logstash-core/lib/logstash/agent.rb:286:in `create_pipeline'", "/opt/app/logstash/logstash-core/lib/logstash/agent.rb:95:in`register\_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:in`run'", "/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:in`run'", "/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

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [March 21, 2018, 7:02pm UTC](https://discuss.elastic.co/t/jmx-input-plugin-install-problems/120920/2 "2018-03-21T19:02:51Z")

</div>

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