# Verification failed for logstash-output-zabbix

**URL:** <https://discuss.elastic.co/t/verification-failed-for-logstash-output-zabbix/29383>\
**Category:** Logstash\
**Created:** [September 16, 2015, 11:08am UTC](https://discuss.elastic.co/t/verification-failed-for-logstash-output-zabbix/29383 "2015-09-16T11:08:38Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunilmchaudhari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sunilmchaudhari/32/9475_2.png) [@sunilmchaudhari](https://discuss.elastic.co/u/sunilmchaudhari)\
**Post date:** [September 16, 2015, 11:08am UTC](https://discuss.elastic.co/t/verification-failed-for-logstash-output-zabbix/29383/1 "2015-09-16T11:08:38Z")

</div>

Hi,  
I am trying to install logstash-output-zabbix plugin with below command.

$sudo ./plugin install logstash-output-zabbix

But it shows below error.  
" Validating logstash-output-zabbix

```
"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-zabbix"

```

What am I missing?

br,  
Sunil

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [September 16, 2015, 11:14am UTC](https://discuss.elastic.co/t/verification-failed-for-logstash-output-zabbix/29383/2 "2015-09-16T11:14:47Z")

</div>

The "name or service not known" error message indicates that it can't resolve rubygems.org in DNS. Can you fetch [https://rubygems.org/latest\_specs.4.8.gz](https://rubygems.org/latest_specs.4.8.gz) by other means (e.g. with curl)?

---

<div class="post-metadata">

**Author:** ![sunilmchaudhari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sunilmchaudhari/32/9475_2.png) [@sunilmchaudhari](https://discuss.elastic.co/u/sunilmchaudhari)\
**Post date:** [September 16, 2015, 11:23am UTC](https://discuss.elastic.co/t/verification-failed-for-logstash-output-zabbix/29383/3 "2015-09-16T11:23:12Z")

</div>

Hi,

curl: (6) Couldn't resolve host 'rubygems.org'

this is the error with curl  
?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [September 16, 2015, 11:30am UTC](https://discuss.elastic.co/t/verification-failed-for-logstash-output-zabbix/29383/4 "2015-09-16T11:30:09Z")

</div>

Seems you have a general DNS issue then. That hostname resolves fine here:

```
$ dig +short rubygems.org
54.186.104.15
```

---

<div class="post-metadata">

**Author:** ![sunilmchaudhari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sunilmchaudhari/32/9475_2.png) [@sunilmchaudhari](https://discuss.elastic.co/u/sunilmchaudhari)\
**Post date:** [September 16, 2015, 11:33am UTC](https://discuss.elastic.co/t/verification-failed-for-logstash-output-zabbix/29383/5 "2015-09-16T11:33:07Z")

</div>

Hi,  
Is there any way, so that I can download plugin on local machine and upload to server through sftp?  
what will be the location to save plugin file in that case?

logstash paths are below:  
/opt/logstash/bin

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [September 16, 2015, 11:36am UTC](https://discuss.elastic.co/t/verification-failed-for-logstash-output-zabbix/29383/6 "2015-09-16T11:36:50Z")

</div>

You can download the gem file from [https://rubygems.org/gems/logstash-output-zabbix](https://rubygems.org/gems/logstash-output-zabbix) and install it with the plugin command. See the instructions at [https://www.elastic.co/guide/en/logstash/current/working-with-plugins.html#installing-local-plugins](https://www.elastic.co/guide/en/logstash/current/working-with-plugins.html#installing-local-plugins).

---

<div class="post-metadata">

**Author:** ![sunilmchaudhari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sunilmchaudhari/32/9475_2.png) [@sunilmchaudhari](https://discuss.elastic.co/u/sunilmchaudhari)\
**Post date:** [September 16, 2015, 12:03pm UTC](https://discuss.elastic.co/t/verification-failed-for-logstash-output-zabbix/29383/7 "2015-09-16T12:03:45Z")

</div>

Hi,  
Thanks for your support.  
However, It gives below error. It seems security policy is not allowing me to download.

```
Too many retries, aborting, caused by Bundler::HTTPError
ERROR: Installation Aborted, message: Could not fetch specs from https://rubygems.org/

```

Any version of logstash packed with zabbix output plugin?

br,  
Sunil

---

<div class="post-metadata">

**Author:** ![Voldemar](https://avatars.discourse-cdn.com/v4/letter/v/49beb7/32.png) [@Voldemar](https://discuss.elastic.co/u/Voldemar)\
**Post date:** [November 12, 2015, 3:33am UTC](https://discuss.elastic.co/t/verification-failed-for-logstash-output-zabbix/29383/8 "2015-11-12T03:33:40Z")

</div>

Does anyone have an idea how to resolve this problem with logstash-output-zabbix-2.0.0?

p.s.: Logstash-2.0.0

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [November 12, 2015, 4:33am UTC](https://discuss.elastic.co/t/verification-failed-for-logstash-output-zabbix/29383/9 "2015-11-12T04:33:55Z")

</div>

It probably means your Logstash server is having difficulty downloading something (perhaps even a dependency). "Could not fetch specs from ..." implies that this is not something within Logstash, but rather a network availability issue.

Is your Logstash server behind a proxy, or in a datacenter where servers have limited ability to reach outbound servers (security)?

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [November 12, 2015, 4:34am UTC](https://discuss.elastic.co/t/verification-failed-for-logstash-output-zabbix/29383/10 "2015-11-12T04:34:23Z")

</div>

The zabbix output plugin is a community plugin. It is not bundled with Logstash.

---

<div class="post-metadata">

**Author:** ![Voldemar](https://avatars.discourse-cdn.com/v4/letter/v/49beb7/32.png) [@Voldemar](https://discuss.elastic.co/u/Voldemar)\
**Post date:** [November 12, 2015, 5:07am UTC](https://discuss.elastic.co/t/verification-failed-for-logstash-output-zabbix/29383/11 "2015-11-12T05:07:00Z")

</div>

I trying to install this plugin from local and have same issue 😕

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [November 12, 2015, 3:53pm UTC](https://discuss.elastic.co/t/verification-failed-for-logstash-output-zabbix/29383/12 "2015-11-12T15:53:57Z")

</div>

The zabbix output plugin has dependencies which will not be installed by merely installing the gem locally. As a result, it is trying to install the other dependencies and failing.

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [November 12, 2015, 3:54pm UTC](https://discuss.elastic.co/t/verification-failed-for-logstash-output-zabbix/29383/13 "2015-11-12T15:54:52Z")

</div>

You could try to install the plugin to a directory on your desktop (or somewhere with complete internet access) and then copy the resultant files and/or dependencies to your locked-down Logstash instance.

---

<div class="post-metadata">

**Author:** ![Voldemar](https://avatars.discourse-cdn.com/v4/letter/v/49beb7/32.png) [@Voldemar](https://discuss.elastic.co/u/Voldemar)\
**Post date:** [November 17, 2015, 12:18am UTC](https://discuss.elastic.co/t/verification-failed-for-logstash-output-zabbix/29383/14 "2015-11-17T00:18:39Z")

</div>

Thanks)

---

<div class="post-metadata">

**Author:** ![vinod8427](https://avatars.discourse-cdn.com/v4/letter/v/b2d939/32.png) [@vinod8427](https://discuss.elastic.co/u/vinod8427)\
**Post date:** [February 17, 2016, 11:50am UTC](https://discuss.elastic.co/t/verification-failed-for-logstash-output-zabbix/29383/15 "2016-02-17T11:50:05Z")

</div>

Hi,  
I am currently having a similar issue. Could you shed some light on how you went about resolving this issue? I tried Aaron's suggestion by copying the contents of dependencies to /opt/logstash/vendor/bundle/jruby/1.9/gems directory and then install the locally developed plugin but it didn't work.

---

<div class="post-metadata">

**Author:** ![sunilmchaudhari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sunilmchaudhari/32/9475_2.png) [@sunilmchaudhari](https://discuss.elastic.co/u/sunilmchaudhari)\
**Post date:** [February 17, 2016, 12:28pm UTC](https://discuss.elastic.co/t/verification-failed-for-logstash-output-zabbix/29383/16 "2016-02-17T12:28:57Z")

</div>

Hi Vinod,  
Your logstash server seems to be secured behind proxy. Better to get it install from sys-administrator who can bypass proxy. I did it so.

You could try:  
sudo -i  
sudo export http\_proxy=http://\<HTTP\_proxy\>:port  
sudo export https\_proxy=https://\<HTTPS\_proxy\>:port  
sudo ../bin/plugin install /path/to/logstash-output-zabbix-1.0.0.gem

It worked for me.

br,  
Sunil Chaudhari.

---

<div class="post-metadata">

**Author:** ![vinod8427](https://avatars.discourse-cdn.com/v4/letter/v/b2d939/32.png) [@vinod8427](https://discuss.elastic.co/u/vinod8427)\
**Post date:** [February 17, 2016, 12:36pm UTC](https://discuss.elastic.co/t/verification-failed-for-logstash-output-zabbix/29383/17 "2016-02-17T12:36:58Z")

</div>

Hi Sunil,  
Bypassing proxy works for me too. But this is not what we want. Our servers are running on a private network without access to internet. We just want to be able to install this locally developed logstash plugin to be installed without having to connect to internet. The command I use to do this is as follows:

/opt/logstash/bin/plugin install --no-verify --local

However our plugin has dependency on 2 other gems - cassandra-driver & ione. I am however downloading these gems from repository and bundling with the image. Installing these gems also go through successfully but logstash doesn't seem to look from gem local repo, instead it has its own local gems repo. I dont really know how to make logstash point to this local gem repo or atleast have these dependencies and plugin itself itself under logstash gems repo. Any help on this would be highly appreciated. Thanks

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [February 18, 2016, 7:49pm UTC](https://discuss.elastic.co/t/verification-failed-for-logstash-output-zabbix/29383/18 "2016-02-18T19:49:49Z")

</div>

We recently took the approach of creating an "all plugins" release, but only in gzipped tar and zip formats. [https://download.elastic.co/logstash/logstash/logstash-all-plugins-2.2.0.tar.gz](https://download.elastic.co/logstash/logstash/logstash-all-plugins-2.2.0.tar.gz)

If you deploy this, the Zabbix plugin and all dependencies will come with it.

---

<div class="post-metadata">

**Author:** ![singrahu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/singrahu/32/12985_2.png) [@singrahu](https://discuss.elastic.co/u/singrahu)\
**Post date:** [February 13, 2017, 12:01pm UTC](https://discuss.elastic.co/t/verification-failed-for-logstash-output-zabbix/29383/19 "2017-02-13T12:01:19Z")

</div>

Thanks Vinod, **--no-verify** worked for me.

---

<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:** [July 6, 2017, 4:28am UTC](https://discuss.elastic.co/t/verification-failed-for-logstash-output-zabbix/29383/20 "2017-07-06T04:28:42Z")

</div>


