Comments (4)
Had a similar issue.
What I was trying to do is download a plugin as part of my Dockerfile, using curl
.
The issue was that the URL in the GitHub Releases page does not lead directly to the plugin - it returns an HTTP Redirect (302) which then leads to the actual plugin.
The solution was either use wget
or tell curl to follow the redirect.
from rabbitmq-cloudwatch-exporter.
I tried your command and it does not download the proper release files as the SHA1 checksums differ. You are using curl
incorrectly.
$ export DLS="$(curl $CWPLUGIN | jq -r '.assets[].browser_download_url')" && (for u in $DLS; do curl -O $u; done;)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 25968 100 25968 0 0 52566 0 --:--:-- --:--:-- --:--:-- 52566
...
$ sha1sum rabbitmq_cloudwatch_exporter-0.2.1.ez
a4ce25f573ec162619b8acf13185f7c67b5b6403 rabbitmq_cloudwatch_exporter-0.2.1.ez
$ sha1sum ~/downloads/rabbitmq_cloudwatch_exporter-0.2.1.ez
b21fefe4849b01505f4eb7a19369db3a8661c3c7 ~/downloads/rabbitmq_cloudwatch_exporter-0.2.1.ez
The latter is the correct one as downloaded from GitHub.
Using wget
fixes the issue.
$ export DLS="$(curl $CWPLUGIN | jq -r '.assets[].browser_download_url')" && (for u in $DLS; do wget $u; done;)
...
$ sha1sum rabbitmq_cloudwatch_exporter-0.2.1.ez
b21fefe4849b01505f4eb7a19369db3a8661c3c7 rabbitmq_cloudwatch_exporter-0.2.1.ez
$ sha1sum ~/downloads/rabbitmq_cloudwatch_exporter-0.2.1.ez
b21fefe4849b01505f4eb7a19369db3a8661c3c7 ~/downloads/rabbitmq_cloudwatch_exporter-0.2.1.ez
from rabbitmq-cloudwatch-exporter.
Hello,
what version of RMQ and Erlang are you using?
from rabbitmq-cloudwatch-exporter.
This is the rabbitmq image on docker hub, version 3.7.17 with Erlang/OTP 22. details here: https://hub.docker.com/_/rabbitmq
from rabbitmq-cloudwatch-exporter.
Related Issues (20)
- Error: dependent plugins [goldrush] not found; used by [lager]. HOT 6
- Update plugin configuration in runtime (without a restart) HOT 2
- Metrics not reset (accumulating) HOT 4
- Question: I see that used old style config for node exporter plugin HOT 1
- Error during enable plugin for erlang 21 HOT 3
- fatal: repository 'https://github.com/rabbitmq/rabbitmq-stream-management.git/' not found HOT 3
- Lager failed to install handler lager_cloudwatch_backend into lager_event HOT 8
- getting 'module could not be loaded' string_compat,to_lower in the latest rabbitmq 3.8
- Support for IMDSV2 HOT 5
- Call to undefined function crypto:hmac HOT 6
- Duplicate and dependency errors HOT 4
- Exporting metrics doesn't work anymore after reinstall HOT 13
- Missing dependencies on enabling plugin HOT 5
- CloudWatch routingKey Metrics HOT 3
- cloudwatch exporter - exporting logs issue HOT 5
- No logs published to Cloudwatch HOT 16
- Metrics export not working in ME-south-1 HOT 9
- Logs are not being sent to Cloudwatch
- a
- bug with cluster name / node IP metric aggregation HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rabbitmq-cloudwatch-exporter.