Logstash JMX plugin offline installation

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

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

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 - SocketError: initialize: name or service not known (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

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