# Logstash JMX plugin offline installation

**URL:** <https://discuss.elastic.co/t/logstash-jmx-plugin-offline-installation/73546>\
**Category:** Logstash\
**Created:** [February 1, 2017, 4:08pm UTC](https://discuss.elastic.co/t/logstash-jmx-plugin-offline-installation/73546 "2017-02-01T16:08:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wokmichel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wokmichel/32/48057_2.png) [@wokmichel](https://discuss.elastic.co/u/wokmichel)\
**Post date:** [February 1, 2017, 4:08pm UTC](https://discuss.elastic.co/t/logstash-jmx-plugin-offline-installation/73546/1 "2017-02-01T16:08:43Z")

</div>

Hello,  
I am trying to use the JMX plugin in order to gather metrics from a number of remote JVMs.

The plugin is here : [https://github.com/logstash-plugins/logstash-input-jmx](https://github.com/logstash-plugins/logstash-input-jmx)

The Server running Logstash does not have access to the Internet and I am trying an offline installation as documented here : [https://www.elastic.co/guide/en/logstash/current/offline-plugins.html#installing-offline-packs](https://www.elastic.co/guide/en/logstash/current/offline-plugins.html#installing-offline-packs)

I don't manage to install it and get this error :

> user@host ~/elk/logstash/bin\> ./logstash-plugin install file:////_ **/** _/tmp/sources/plugins/logstash-input-jmx-3.0.1.zip  
> Validating file:////_ **/** _/tmp/sources/plugins/logstash-input-jmx-3.0.1.zip  
> Unable to download data from [https://rubygems.org](https://rubygems.org) - SocketError: initialize: name or service not known ([https://rubygems.org/latest\_specs.4.8.gz](https://rubygems.org/latest_specs.4.8.gz))  
> ERROR: Installation aborted, verification failed for file:////_ **/** _/tmp/sources/plugins/logstash-input-jmx-3.0.1.zip

I assume this has to do with the required dependency listed in the gemspec file

> s.add\_runtime\_dependency 'jmx4r'

Has anyone a solution for installation of the JMX plugin on an server not connected to the Internet ?

Thanks a lot for your help

---

<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 1, 2017, 4:08pm UTC](https://discuss.elastic.co/t/logstash-jmx-plugin-offline-installation/73546/2 "2017-03-01T16:08:44Z")

</div>

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