# Error | Install prometheus plugin for elasticsearch

**URL:** https://discuss.elastic.co/t/error-install-prometheus-plugin-for-elasticsearch/217520
**Category:** Elasticsearch
**Tags:** elastic-stack-monitoring
**Created:** [February 2, 2020, 11:49am UTC](https://discuss.elastic.co/t/error-install-prometheus-plugin-for-elasticsearch/217520 "2020-02-02T11:49:22Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Muhammad\_Badawy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/muhammad_badawy/32/55529_2.png) [@Muhammad\_Badawy](https://discuss.elastic.co/u/Muhammad_Badawy)
#### Post date: [February 2, 2020, 11:49am UTC](https://discuss.elastic.co/t/error-install-prometheus-plugin-for-elasticsearch/217520/1 "2020-02-02T11:49:23Z")

</div>

Trying to install prometheus-exporter plugin for elasticsearch - version 6.5.4.0 but I got the below error  
Any support to resolve this?

[root@ elasticsearch]# ./bin/elasticsearch-plugin install -b file:///tmp/elasticsearch-prometheus-exporter-6.5.4.0.zip

-\> Downloading file:///tmp/elasticsearch-prometheus-exporter-6.5.4.0.zip  
[=================================================] 100%Â Â  
Exception in thread "main" java.nio.file.NoSuchFileException: /usr/share/elasticsearch/plugins/.installing-5109354402234643044/plugin-descriptor.properties  
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)  
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)  
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)  
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)  
at java.nio.file.Files.newByteChannel(Files.java:361)  
at java.nio.file.Files.newByteChannel(Files.java:407)  
at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384)  
at java.nio.file.Files.newInputStream(Files.java:152)  
at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:162)  
at org.elasticsearch.plugins.InstallPluginCommand.loadPluginInfo(InstallPluginCommand.java:713)  
at org.elasticsearch.plugins.InstallPluginCommand.installPlugin(InstallPluginCommand.java:792)  
at org.elasticsearch.plugins.InstallPluginCommand.install(InstallPluginCommand.java:775)  
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:231)  
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:216)  
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)  
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:77)  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)  
at org.elasticsearch.cli.Command.main(Command.java:90)  
at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:47)

---

<div class="post-metadata">

### Author: ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)
#### Post date: [February 3, 2020, 3:21pm UTC](https://discuss.elastic.co/t/error-install-prometheus-plugin-for-elasticsearch/217520/2 "2020-02-03T15:21:33Z")

</div>

Does the plugin archive have a `plugin-descriptor.properties` file? Just check via `zip -l`...

---

<div class="post-metadata">

### Author: ![Muhammad\_Badawy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/muhammad_badawy/32/55529_2.png) [@Muhammad\_Badawy](https://discuss.elastic.co/u/Muhammad_Badawy)
#### Post date: [February 3, 2020, 5:52pm UTC](https://discuss.elastic.co/t/error-install-prometheus-plugin-for-elasticsearch/217520/3 "2020-02-03T17:52:13Z")

</div>

> [@spinscale](#):
>
> plugin-descriptor

No It doesn't have this file.  
So what should I do?

---

<div class="post-metadata">

### Author: ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)
#### Post date: [February 4, 2020, 8:51am UTC](https://discuss.elastic.co/t/error-install-prometheus-plugin-for-elasticsearch/217520/4 "2020-02-04T08:51:25Z")

</div>

Where is this prometheus-exporter plugin coming from? Is it an Elasticsearch plugin after all? Can you share a link?

---

<div class="post-metadata">

### Author: ![Muhammad\_Badawy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/muhammad_badawy/32/55529_2.png) [@Muhammad\_Badawy](https://discuss.elastic.co/u/Muhammad_Badawy)
#### Post date: [February 6, 2020, 10:37am UTC](https://discuss.elastic.co/t/error-install-prometheus-plugin-for-elasticsearch/217520/5 "2020-02-06T10:37:54Z")

</div>

HYG

> **[justwatchcom/elasticsearch\_exporter](https://github.com/justwatchcom/elasticsearch_exporter/releases)**
>
> Elasticsearch stats exporter for Prometheus. Contribute to justwatchcom/elasticsearch\_exporter development by creating an account on GitHub.

---

<div class="post-metadata">

### Author: ![Muhammad\_Badawy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/muhammad_badawy/32/55529_2.png) [@Muhammad\_Badawy](https://discuss.elastic.co/u/Muhammad_Badawy)
#### Post date: [February 6, 2020, 11:22am UTC](https://discuss.elastic.co/t/error-install-prometheus-plugin-for-elasticsearch/217520/6 "2020-02-06T11:22:37Z")

</div>

I also tried to place "plugin-descriptor.properties" inside the plugin folder but still the same error

> <https://github.com/elastic/elasticsearch/blob/master/buildSrc/src/main/resources/plugin-descriptor.properties>

  
So is there a certain path that this file should be placed in ?

---

<div class="post-metadata">

### Author: ![Lukas\_Vlcek1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas_vlcek1/32/819_2.png) [@Lukas\_Vlcek1](https://discuss.elastic.co/u/Lukas_Vlcek1)
#### Post date: [February 7, 2020, 12:32pm UTC](https://discuss.elastic.co/t/error-install-prometheus-plugin-for-elasticsearch/217520/7 "2020-02-07T12:32:10Z")

</div>

Hi,

as far as I know [https://github.com/justwatchcom/elasticsearch\_exporter](https://github.com/justwatchcom/elasticsearch_exporter) is a proxy exporter. This means it runs as a standalone process. It is not installed as Elasticsearch plugin.

If you are looking for Prometheus exporter that is implemented as Elasticsearch plugin you can check [https://github.com/vvanholl/elasticsearch-prometheus-exporter](https://github.com/vvanholl/elasticsearch-prometheus-exporter)

Regards,  
Lukáš

---

<div class="post-metadata">

### Author: ![Muhammad\_Badawy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/muhammad_badawy/32/55529_2.png) [@Muhammad\_Badawy](https://discuss.elastic.co/u/Muhammad_Badawy)
#### Post date: [February 8, 2020, 7:14am UTC](https://discuss.elastic.co/t/error-install-prometheus-plugin-for-elasticsearch/217520/8 "2020-02-08T07:14:15Z")

</div>

Sorry Lukas as it is my bad  
Actually I'm already using the exporter in the below link for version 6.5.4

> **[vvanholl/elasticsearch-prometheus-exporter](https://github.com/vvanholl/elasticsearch-prometheus-exporter/releases/tag/6.5.4.0)**
>
> Prometheus exporter plugin for ElasticSearch. Contribute to vvanholl/elasticsearch-prometheus-exporter development by creating an account on GitHub.

---

<div class="post-metadata">

### Author: ![Lukas\_Vlcek1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas_vlcek1/32/819_2.png) [@Lukas\_Vlcek1](https://discuss.elastic.co/u/Lukas_Vlcek1)
#### Post date: [February 24, 2020, 11:55am UTC](https://discuss.elastic.co/t/error-install-prometheus-plugin-for-elasticsearch/217520/9 "2020-02-24T11:55:40Z")

</div>

Hi Muhammad,

if you are running into issues with this plugin, please open a ticket here [https://github.com/vvanholl/elasticsearch-prometheus-exporter/issues](https://github.com/vvanholl/elasticsearch-prometheus-exporter/issues)

Regards,  
Lukáš

---

<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 23, 2020, 11:55am UTC](https://discuss.elastic.co/t/error-install-prometheus-plugin-for-elasticsearch/217520/10 "2020-03-23T11:55:56Z")

</div>

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