Logstash-output-icinga installation


(Muratungor) #1

Hi all,
I'm new in this world. We have a logstash server behing firewall and proxy. I want to install logstash-output-icinga plugin on it.
in the document it says "For plugins not bundled by default, it is easy to install by running bin/logstash-plugin install logstash-output-icinga" . Can you help me to which port and address should I open ?
now I'm getting below error

DEBUG=1 bin/logstash-plugin install logstash-output-icinga
DEBUG: exec /usr/share/logstash/vendor/jruby/bin/jruby /usr/share/logstash/lib/pluginmanager/main.rb install logstash-output-icinga
Looking if package named: logstash-output-icinga exists at https://artifacts.elastic.co/downloads/logstash-plugins/logstash-output-icinga/logstash-output-icinga-5.4.0.zip
SocketError, skipping Elastic pack, exception: initialize: name or service not known
Validating logstash-output-icinga
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 logstash-output-icinga
best regards


(Muratungor) #2

Hello
I've solved this error like below.

sudo -u logstash -H /bin/env https_proxy=http://XXXXX:8080 HTTPS_PROXY=http://XXXXX:8080 JRUBY_OPTS="-J-Dhttp.proxyHost=XXXXX -J-Dhttp.proxyPort=XXXX" DEBUG=1 JARS_SKIP='true' /usr/share/logstash/bin/logstash-plugin install logstash-output-icinga


(system) #3

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