Logstash 5.x fail to install logstash-output-zabbix

Hi,
Yesterday I had a problem when I tried to install logstash-output-zabbix on my logstash 5.2.
I used the recommended command "logstash-plugin install logstash-output-zabbix".But it failed with the error messgae
"Bundler::GemNotFound: Could not find gem 'logstash-output-zabbix (>= 0) java' in any of the gem sources listed in your Gemfile or installed on this machine."

I also tried the gem install logstash-output-zabbix,but the other error message appeared again.

ERROR: While executing gem ... (Gem::UnsatisfiableDependencyError)
Unable to resolve dependency: No match for 'logstash-core-plugin-api (<= 2.99, >= 1.60)' on this platform. Found: java

On my freshly installed logstash-5.2.2:

$ bin/logstash-plugin install logstash-output-zabbix
Validating logstash-output-zabbix
Installing logstash-output-zabbix
Installation successful

Can you give me more details about your installation?

Bro,I am to install it inside docker, and I pull the images(logstash) from
docker hub.

what did you do before you used the "logstash-plugin install
logstash-output-zabbix".I am curious.

It seems to install success...

Validating logstash-output-zabbix
Installing logstash-output-zabbix
Mar 10, 2017 8:27:02 AM
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec
execute
INFO: I/O exception (java.net.SocketException) caught when processing
request to {s}->https://repo.maven.apache.org:443: Connection reset
Mar 10, 2017 8:27:02 AM
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec
execute
INFO: Retrying request to {s}->https://repo.maven.apache.org:443
Mar 10, 2017 8:27:02 AM
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec
execute
INFO: I/O exception (java.net.SocketException) caught when processing
request to {s}->https://repo.maven.apache.org:443: Connection reset
Mar 10, 2017 8:27:02 AM
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec
execute
INFO: Retrying request to {s}->https://repo.maven.apache.org:443
Mar 10, 2017 8:27:02 AM
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec
execute
INFO: I/O exception (java.net.SocketException) caught when processing
request to {s}->https://repo.maven.apache.org:443: Connection reset
Mar 10, 2017 8:27:02 AM
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec
execute
INFO: Retrying request to {s}->https://repo.maven.apache.org:443
Mar 10, 2017 8:27:02 AM
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec
execute
INFO: I/O exception (java.net.SocketException) caught when processing
request to {s}->https://repo.maven.apache.org:443: Connection reset
Mar 10, 2017 8:27:02 AM
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec
execute
INFO: Retrying request to {s}->https://repo.maven.apache.org:443
Installation successful

what do you think about the output?

The complete list of commands I used before logstash-plugin install is

tar zxf logstash-5.2.2.tar.gz
cd logstash-5.2.2
bin/logstash-plugin install logstash-output-zabbix

I do recommend running bin/logstash-plugin from the logstash install's root directory, rather than from the bin subdirectory as the PATHs may be getting confused.

Not sure about the Maven output messages, but it does look like the install completed successfully. You'll know if you try it and it doesn't give an error message.

thanks,It is fine now.

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