deadtrickster / prometheus_rabbitmq_exporter

Prometheus.io exporter as a RabbitMQ Managment Plugin plugin
MIT License
290 stars 72 forks source link

Rabbitmq 3.6.15 Plugin for PRometheus #85

Open pdrcastro opened 5 years ago

pdrcastro commented 5 years ago

Hi all,

I am just following https://www.rabbitmq.com/prometheus.html documentation to enable rabbitmq plugin for prometheus, but when i enable the plugin i got the following erro.

rabbitmq-plugins enable prometheus_rabbitmq_exporter The following plugins have been enabled: prometheus_cowboy prometheus accept prometheus_httpd prometheus_rabbitmq_exporter

Applying plugin configuration to rabbit@ip-xx-x-xx-xxx... failed. Error: {plugin_built_with_incompatible_erlang,"accept"}

Anyone already have this problem ?

Thanks.

Best Regards, Pedro Castro

darrylmosher commented 5 years ago

I'm seeing this exact issue on 3.7.14.

Using versions: accept-0.3.5.ez prometheus-4.3.0.ez prometheus_cowboy-0.1.7.ez prometheus_httpd-2.1.10.ez prometheus_process_collector-1.4.3.ez prometheus_rabbitmq_exporter-3.7.9.1.ez

nishithkulshrestha commented 5 years ago

@pdrcastro The documentation you are referring to is for rabbitmq version 3.7.2. The Erlang/OTP versions changed in 3.7.x I was also facing similar issue and the following versions worked for me:

base_url='https://github.com/deadtrickster/prometheus_rabbitmq_exporter/releases/download/rabbitmq-3.6.14.1'

get accept-0.3.3.ez get prometheus-3.4.3.ez get prometheus_httpd-2.1.8.ez get prometheus_process_collector-1.3.0.ez get prometheus_rabbitmq_exporter-v3.6.14.1.ez

Do the above changes and it should work as expected. Source: https://github.com/deadtrickster/prometheus_rabbitmq_exporter/releases/tag/rabbitmq-3.6.14.1