Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

healthchecks currently not supported in management/api.py #39

Closed
j-carpentier opened this issue Jul 28, 2017 · 0 comments
Closed

healthchecks currently not supported in management/api.py #39

j-carpentier opened this issue Jul 28, 2017 · 0 comments
Milestone

Comments

@j-carpentier
Copy link

j-carpentier commented Jul 28, 2017

I'm currently working on a RabbitMQ plugins written in python to improve Openstack backend monitoring and I found that management API and saw that api/aliveness-test is here already

Expected returned HTTP body on a stopped RabbitMQ server

$ curl --silent -k -u monitor:$MonitorPass https://localhost:15671/api/healthchecks/node/rabbit@eulab-os-01-rmq02 | python -m json.tool

{
    "reason": "nodedown",
    "status": "failed"
}

Expected returned HTTP body on a running RabbitMQ server

$ curl --silent -k -u monitor:$MonitorPass https://localhost:15671/api/healthchecks/node/rabbit@eulab-os-01-rmq01 | python -m json.tool

{
    "status": "ok"
}

Official API doc : https://cdn.rawgit.com/rabbitmq/rabbitmq-management/rabbitmq_v3_6_10/priv/www/api/index.html

eandersson added a commit that referenced this issue Sep 27, 2017
Implementing Healthchecks support for #39
@eandersson eandersson added this to the 2.3.0 milestone Sep 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants